/*
 * Leader Guyana – Sub Service Pages (shared)
 * page-sub-services-lg.css  |  leader-child/css/
 * Used by all sub-service pages
 */

/* ══════════════════════════════════════════════════════════
   PARENT THEME RESETS
   ══════════════════════════════════════════════════════════ */
[class*="page-template-page-sub-"] .site-main,
[class*="page-template-page-sub-"] main,
[class*="page-template-page-sub-"] .entry-content {
    padding: 0 !important;
    margin: 0 !important;
    background: transparent !important;
}
[class*="page-template-page-sub-"] .entry-header { display: none !important; }
[class*="page-template-page-sub-"] hr { display: none !important; }

/* ══════════════════════════════════════════════════════════
   HERO — full-width image, tall, centred text
   ══════════════════════════════════════════════════════════ */
.lg-sub-hero {
    position: relative;
    padding: clamp(5rem, 10vw, 7rem) 0 clamp(6rem, 11vw, 9rem);
    overflow: hidden;
    background: #242f3a;
    z-index: 1;
}

/* Diagonal cut — white triangle overlays bottom of hero (matches master service hero) */
.lg-sub-hero::after {
    content: '';
    position: absolute;
    bottom: -2px; left: -1px; right: -1px;
    height: 102px;
    background: #ffffff;
    clip-path: polygon(0 100%, 100% 0, 100% 100%);
    pointer-events: none;
    z-index: 10;
}

/* Background image — right side only, masked like master service pages */
.lg-sub-hero__image {
    position: absolute;
    top: 0; right: 0;
    width: 55%;
    height: 100%;
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
    -webkit-mask-image: linear-gradient(to right, transparent 0%, rgba(0,0,0,.15) 30%, rgba(0,0,0,.55) 60%, rgba(0,0,0,.75) 100%);
    mask-image: linear-gradient(to right, transparent 0%, rgba(0,0,0,.15) 30%, rgba(0,0,0,.55) 60%, rgba(0,0,0,.75) 100%);
    z-index: 2;
}

/* Overlay removed — navy section background handles the left side now */
.lg-sub-hero__overlay { display: none; }

.lg-sub-hero__inner {
    position: relative;
    z-index: 3;
}
.lg-sub-hero__inner .lg-sub-hero__headline { max-width: 680px; }
.lg-sub-hero__inner .lg-sub-hero__sub { max-width: 540px; }

/* Breadcrumb */
.lg-sub-hero__breadcrumb {
    display: flex;
    align-items: center;
    gap: .5rem;
    margin-bottom: 1.25rem;
    font-family: var(--font);
    font-size: .72rem;
    font-weight: 500;
    letter-spacing: .05em;
    text-transform: uppercase;
}
.lg-sub-hero__breadcrumb a {
    color: rgba(255,255,255,.6);
    text-decoration: none;
    transition: color .2s ease;
}
.lg-sub-hero__breadcrumb a:hover { color: #ffffff; }
.lg-sub-hero__breadcrumb span { color: rgba(255,255,255,.35); }
.lg-sub-hero__breadcrumb span:last-child { color: rgba(255,255,255,.75); }

/* Eyebrow */
.lg-sub-hero__eyebrow {
    font-family: var(--font);
    font-size: .7rem;
    font-weight: 700;
    letter-spacing: .15em;
    text-transform: uppercase;
    color: #0070b9;
    display: inline-block;
    border-left: 3px solid #0070b9;
    padding-left: .75rem;
    margin-bottom: 1rem;
    animation: lgSubFadeUp .65s ease both;
}

/* Headline */
.lg-sub-hero__headline,
.lg-sub-hero h1 {
    font-family: var(--font) !important;
    font-size: clamp(2.6rem, 5.5vw, 4.5rem) !important;
    font-weight: 700 !important;
    line-height: 1.06 !important;
    color: #ffffff !important;
    margin: 0 0 1rem !important;
    padding: 0 !important;
    letter-spacing: -.02em;
    animation: lgSubFadeUp .7s .1s ease both;
    border: none !important;
    background: none !important;
}

/* Blue "in Guyana" line */
.lg-sub-hero__headline em,
.lg-sub-hero h1 em {
    font-style: normal;
    color: #0070b9 !important;
}

/* Subtitle */
.lg-sub-hero__sub {
    font-family: var(--font);
    font-size: clamp(.95rem, 1.8vw, 1.1rem);
    color: rgba(255,255,255,.72);
    max-width: 600px;
    line-height: 1.75;
    animation: lgSubFadeUp .7s .18s ease both;
}

@keyframes lgSubFadeUp {
    from { opacity: 0; transform: translateY(16px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ══════════════════════════════════════════════════════════
   CONTENT SECTION
   ══════════════════════════════════════════════════════════ */
.lg-sub-content {
    background: #ffffff;
    padding: clamp(4rem, 8vw, 7rem) 0;
}
.lg-sub-content__inner {
    display: grid;
    grid-template-columns: 1fr 1.6fr;
    gap: clamp(3rem, 6vw, 6rem);
    align-items: start;
}
@media (max-width: 800px) {
    .lg-sub-content__inner { grid-template-columns: 1fr; }
}

/* Lead — left column */
.lg-sub-content__title {
    font-family: var(--font) !important;
    font-size: clamp(1.6rem, 2.8vw, 2.4rem) !important;
    font-weight: 700 !important;
    color: #242f3a !important;
    line-height: 1.15 !important;
    margin: 0 0 1.1rem !important;
    padding: 0 !important;
    border: none !important;
}
.lg-sub-content__intro {
    font-family: var(--font);
    font-size: 1.05rem;
    color: #53606b;
    line-height: 1.75;
}

/* Body — right column */
.lg-sub-content__body p {
    font-family: var(--font);
    font-size: 1rem;
    color: #6f6f6e;
    line-height: 1.82;
    margin-bottom: 1.15rem;
}
.lg-sub-content__body p:last-of-type { margin-bottom: 2rem; }

/* Key points */
.lg-sub-points {
    display: flex;
    flex-direction: column;
    gap: 0;
    border-top: 1px solid #e2e6ea;
}
.lg-sub-point {
    display: flex;
    gap: 1.25rem;
    align-items: flex-start;
    padding: 1.5rem 0;
    border-bottom: 1px solid #e2e6ea;
}
.lg-sub-point__icon {
    width: 44px; height: 44px;
    border-radius: 4px;
    background: rgba(0,112,185,.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0070b9;
    flex-shrink: 0;
    margin-top: .1rem;
}
.lg-sub-point__icon svg { width: 22px; height: 22px; display: block; }
.lg-sub-point__title {
    font-family: var(--font) !important;
    font-size: .98rem !important;
    font-weight: 700 !important;
    color: #242f3a !important;
    margin: 0 0 .3rem !important;
    padding: 0 !important;
    border: none !important;
}
.lg-sub-point__body {
    font-family: var(--font);
    font-size: .9rem;
    color: #6f6f6e;
    line-height: 1.65;
    margin: 0;
}

/* ══════════════════════════════════════════════════════════
   IMAGE BREAK — full-width atmospheric image
   ══════════════════════════════════════════════════════════ */
.lg-sub-image-break {
    height: clamp(220px, 28vw, 380px);
    overflow: hidden;
}
.lg-sub-image-break__img {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center 40%;
    background-repeat: no-repeat;
    transition: transform 8s ease;
}
.lg-sub-image-break:hover .lg-sub-image-break__img {
    transform: scale(1.03);
}

/* ══════════════════════════════════════════════════════════
   FOOTER CTA — navy, two column: back link + CTA
   ══════════════════════════════════════════════════════════ */
.lg-sub-footer-cta {
    background: #242f3a;
    padding: clamp(4rem, 7vw, 6rem) 0;
    border-top: 3px solid #0070b9;
}
.lg-sub-footer-cta__inner {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: clamp(2.5rem, 5vw, 5rem);
    align-items: center;
}
@media (max-width: 720px) {
    .lg-sub-footer-cta__inner { grid-template-columns: 1fr; }
}

/* Left — back link */
.lg-sub-footer-cta__back .lg-label {
    font-family: var(--font);
    font-size: .7rem;
    font-weight: 700;
    letter-spacing: .15em;
    text-transform: uppercase;
    color: #0070b9;
    display: block;
    margin-bottom: .5rem;
}
.lg-sub-footer-cta__service {
    font-family: var(--font);
    font-size: 1.4rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 1.25rem;
    line-height: 1.2;
}
.lg-sub-back-link {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    font-family: var(--font);
    font-size: .82rem;
    font-weight: 600;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: rgba(255,255,255,.6);
    text-decoration: none;
    transition: color .2s ease, gap .2s ease;
}
.lg-sub-back-link svg { width: 14px; height: 14px; flex-shrink: 0; transition: transform .2s ease; }
.lg-sub-back-link:hover { color: #ffffff; gap: .75rem; }
.lg-sub-back-link:hover svg { transform: translateX(-3px); }

/* Right — CTA */
.lg-sub-footer-cta__title {
    font-family: var(--font) !important;
    font-size: clamp(1.5rem, 2.8vw, 2.2rem) !important;
    font-weight: 700 !important;
    color: #ffffff !important;
    line-height: 1.2 !important;
    margin: 0 0 .75rem !important;
    padding: 0 !important;
    border: none !important;
}
.lg-sub-footer-cta__body {
    font-family: var(--font);
    font-size: .96rem;
    color: rgba(255,255,255,.65);
    line-height: 1.72;
    margin-bottom: 1.75rem;
}
.lg-sub-cta-btn {
    display: inline-flex;
    align-items: center;
    font-family: var(--font);
    font-weight: 700;
    font-size: .88rem;
    letter-spacing: .05em;
    text-transform: uppercase;
    padding: .85rem 2rem;
    border-radius: 4px;
    background: #0070b9;
    color: #ffffff;
    text-decoration: none;
    border: 2px solid #0070b9;
    transition: background .2s ease, border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.lg-sub-cta-btn:hover {
    background: #005c99;
    border-color: #005c99;
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(0,112,185,.32);
    color: #ffffff;
}

/* ══════════════════════════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════════════════════════ */
@media (max-width: 600px) {
    .lg-sub-hero { overflow: hidden; padding-top: 3rem; padding-bottom: 2.5rem; }
    .lg-sub-hero::after { height: 30px; }
    .lg-sub-content { padding-top: 1.5rem; }
    .lg-sub-content__title { position: static; }
    .lg-sub-content__intro { position: static; }
    .lg-sub-point { flex-direction: column; gap: .75rem; }
}

@media (prefers-reduced-motion: reduce) {
    .lg-sub-hero__eyebrow,
    .lg-sub-hero__headline,
    .lg-sub-hero__sub {
        animation: none !important;
        opacity: 1;
        transform: none;
    }
    .lg-sub-hero__image,
    .lg-sub-image-break__img { transition: none; }
}

/* ══════════════════════════════════════════════════════════
   ALTERNATING CONTENT SECTIONS
   ══════════════════════════════════════════════════════════ */
.lg-sub-section { padding: clamp(4rem, 7vw, 6rem) 0; }
.lg-sub-section--white   { background: #ffffff; }
.lg-sub-section--offwhite { background: #f4f6f8; border-top: 3px solid #0070b9; }

/* Reuse the same inner grid as .lg-sub-content__inner */
.lg-sub-section .container { max-width: 1180px; margin-inline: auto; padding-inline: clamp(1.25rem, 5vw, 2.5rem); }

/* ══════════════════════════════════════════════════════════
   FAQ SECTION
   ══════════════════════════════════════════════════════════ */
.lg-sub-faq {
    background: #f4f6f8;
    padding: clamp(4rem, 7vw, 6rem) 0;
    border-top: 3px solid #0070b9;
}
.lg-sub-faq__title {
    font-family: var(--font) !important;
    font-size: clamp(1.5rem, 2.6vw, 2rem) !important;
    font-weight: 700 !important;
    color: #242f3a !important;
    line-height: 1.2 !important;
    margin: 0 0 2.5rem !important;
    padding: 0 !important;
    border: none !important;
    max-width: 680px;
}
.lg-sub-faq__list {
    display: flex;
    flex-direction: column;
    gap: 0;
    max-width: 860px;
}
.lg-sub-faq__item {
    border-bottom: 1px solid #e2e6ea;
}
.lg-sub-faq__item:first-child {
    border-top: 1px solid #e2e6ea;
}
.lg-sub-faq__q {
    font-family: var(--font);
    font-size: 1rem;
    font-weight: 600;
    color: #242f3a;
    padding: 1.25rem 2.5rem 1.25rem 0;
    cursor: pointer;
    list-style: none;
    position: relative;
    transition: color .2s ease;
    display: block;
}
.lg-sub-faq__q::-webkit-details-marker { display: none; }
.lg-sub-faq__q::after {
    content: '+';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.4rem;
    font-weight: 300;
    color: #0070b9;
    line-height: 1;
    transition: transform .2s ease;
}
.lg-sub-faq__item[open] .lg-sub-faq__q::after {
    transform: translateY(-50%) rotate(45deg);
}
.lg-sub-faq__item[open] .lg-sub-faq__q {
    color: #0070b9;
}
.lg-sub-faq__a {
    font-family: var(--font);
    font-size: .95rem;
    color: #6f6f6e;
    line-height: 1.78;
    padding: 0 0 1.25rem;
    margin: 0;
}