/* Ramas Contracting, LLC: inner page styles (loaded after site.css) */

.visually-hidden {
    position: absolute !important;
    width: 1px; height: 1px;
    padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0, 0, 0, 0);
    white-space: nowrap; border: 0;
}

/* Page banner */
.page-banner {
    position: relative;
    display: flex;
    align-items: flex-end;
    min-height: 360px;
    background: var(--navy-deep);
    overflow: hidden;
}
.page-banner-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.page-banner::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(90deg, rgba(1, 20, 44, 0.9) 0%, rgba(1, 20, 44, 0.62) 55%, rgba(1, 20, 44, 0.3) 100%);
}
.page-banner-inner { position: relative; z-index: 2; padding-top: 70px; padding-bottom: 54px; }
.page-banner h1 { max-width: 900px; margin-bottom: 12px; font-size: 44px; color: var(--white); }
.page-banner-lead { max-width: 720px; margin: 0; font-size: 18px; line-height: 1.6; color: rgba(255, 255, 255, 0.92); }
.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 4px 0; margin: 0 0 14px; padding: 0; }
.breadcrumbs li { font-family: var(--font-head); font-size: 13px; font-weight: 500; color: rgba(255, 255, 255, 0.8); }
.breadcrumbs li + li::before { content: "/"; margin: 0 10px; color: var(--gold); }
.breadcrumbs a { color: var(--white); text-decoration: none; }

/* Shared lists and boxes */
.check-list { list-style: none; margin: 0 0 24px; }
.check-list li { position: relative; padding: 6px 0 6px 22px; line-height: 1.5; }
.check-list li::before { content: ""; position: absolute; left: 0; top: 14px; width: 8px; height: 8px; background: var(--gold); }
.tag-list { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 24px; }
.tag-list li {
    padding: 7px 14px;
    font-family: var(--font-head);
    font-size: 13px;
    font-weight: 600;
    color: var(--navy);
    background: var(--white);
    border: 1px solid var(--line);
}
.next-steps { margin: 0 0 20px; padding-left: 20px; }
.next-steps li { margin-bottom: 10px; padding-left: 4px; line-height: 1.55; }
.next-steps li::marker { font-family: var(--font-head); font-weight: 700; color: var(--gold-text); }

.aside-box { padding: 26px; margin-bottom: 20px; background: var(--grey-bg); border-top: 3px solid var(--navy); }
.aside-box h3 { font-size: 18px; margin-bottom: 12px; }
.aside-box p:last-child { margin-bottom: 0; }
.aside-box-navy { background: var(--navy); border-top-color: var(--gold); color: rgba(255, 255, 255, 0.9); }
.aside-box-navy h3 { color: var(--white); }
.aside-box-navy a:not(.btn) { color: var(--white); }
.aside-links { list-style: none; }
.aside-links li { border-top: 1px solid var(--line); }
.aside-links a { display: block; padding: 11px 0; font-family: var(--font-head); font-size: 14px; font-weight: 600; color: var(--navy); text-decoration: none; }

/* About */
.about-intro { padding: var(--section-y) 0; }
.about-intro-grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 64px; }
.about-intro-grid > * { min-width: 0; }
.about-intro-copy p { font-size: 17px; }
.founder { padding: var(--section-y) 0; }
.founder-grid { display: grid; grid-template-columns: minmax(0, 420px) minmax(0, 1fr); gap: 72px; align-items: start; }
.founder-grid > * { min-width: 0; }
.founder-media img { width: 100%; height: auto; }
.founder-title { margin-top: -8px; font-family: var(--font-head); font-weight: 600; color: var(--gold-text); }
.founder-copy h3 { margin-top: 26px; font-size: 18px; }

.credentials-band { background: var(--navy); }
.credentials-row { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.credentials-row li {
    display: flex;
    align-items: center;
    min-height: 96px;
    padding: 20px 24px;
    font-family: var(--font-head);
    font-size: 16px;
    font-weight: 600;
    line-height: 1.35;
    color: var(--white);
    border-left: 1px solid var(--navy-line);
}
.credentials-row li:last-child { border-right: 1px solid var(--navy-line); }

.principles { padding: var(--section-y) 0; }
.principles-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 36px; }
.principle { padding-top: 22px; border-top: 3px solid var(--navy); min-width: 0; }
.principle-num { display: block; margin-bottom: 8px; font-family: var(--font-head); font-size: 18px; font-weight: 700; color: var(--gold-text); }
.principle p { margin: 0; }

/* Stats */
.stats-band { padding: 64px 0; background: var(--grey-bg); }
.stats-row { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.stats-row li { text-align: center; min-width: 0; }
.stat-value { display: block; font-family: var(--font-head); font-size: 46px; font-weight: 700; line-height: 1.1; color: var(--navy); }
.stat-label {
    display: block;
    margin-top: 8px;
    font-family: var(--font-head);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--muted);
}
.stats-note { margin: 28px 0 0; text-align: center; font-size: 14px; color: var(--muted); }

/* Services index */
.services-intro { padding: 70px 0 30px; }
.services-intro-grid { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 48px; align-items: end; }
.services-intro-lead { margin: 0; max-width: 900px; font-family: var(--font-head); font-size: 20px; font-weight: 500; line-height: 1.6; color: var(--ink); }
.service-group { padding: 70px 0 var(--section-y); scroll-margin-top: 90px; }
.service-rows { display: grid; gap: 40px; }
.service-row { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 48px; align-items: center; }
.service-row > * { min-width: 0; }
.service-row:nth-child(even) .service-row-media { order: 2; }
.service-row-media { display: block; aspect-ratio: 3 / 2; overflow: hidden; background: var(--grey-bg); }
.service-row-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.service-row-body h3 { font-size: 26px; margin-bottom: 12px; }
.service-row-body h3 a { color: var(--ink); text-decoration: none; }
.service-row-body p { font-size: 17px; margin-bottom: 18px; }

/* Compare */
.compare-section { padding: var(--section-y) 0; scroll-margin-top: 90px; }
.compare-grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 64px; align-items: center; }
.compare-grid > * { min-width: 0; }
.compare-grid p { margin-bottom: 26px; font-size: 17px; }
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.compare-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.compare-table th, .compare-table td { padding: 14px 16px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.compare-table thead th { font-family: var(--font-head); font-size: 14px; font-weight: 700; color: var(--white); background: var(--navy); }
.compare-table tbody th { font-family: var(--font-head); font-size: 14px; font-weight: 600; color: var(--navy); width: 30%; }
.section-navy .compare-table { background: var(--white); color: var(--body); }
.section-navy .compare-table thead th { background: var(--navy-deep); }

/* Service page */
.service-overview { padding: var(--section-y) 0; }
.service-overview-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 380px); gap: 72px; align-items: start; }
.service-overview-grid > * { min-width: 0; }
.service-overview-copy p { font-size: 17px; }
.service-overview-copy .btn { margin-top: 10px; }
.service-aside { padding: 30px; background: var(--grey-bg); border-top: 3px solid var(--navy); }
.service-aside h3 { font-size: 17px; margin-bottom: 8px; }
.service-aside .check-list:last-child { margin-bottom: 0; }

.scope-section { padding: var(--section-y) 0; }
.scope-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 36px 40px; }
.scope-grid li { padding-top: 20px; border-top: 1px solid #cfcfcf; min-width: 0; }
.scope-num { display: block; margin-bottom: 6px; font-family: var(--font-head); font-size: 16px; font-weight: 700; color: var(--gold-text); }
.scope-grid h3 { font-size: 19px; margin-bottom: 8px; }
.scope-grid p { margin: 0; }

.capital-section { padding: var(--section-y) 0; }
.capital-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: center; }
.capital-grid > * { min-width: 0; }
.capital-grid img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.capital-grid p { font-size: 17px; }

/* Project cards */
.related-projects { padding: var(--section-y) 0; }
.related-projects-tight { padding-top: 20px; }
.project-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px; }
.project-card { display: block; min-width: 0; text-decoration: none; color: inherit; background: var(--white); border: 1px solid var(--line); transition: border-color 0.2s ease; }
.project-card[hidden] { display: none; }
.project-card-media { display: block; aspect-ratio: 3 / 2; overflow: hidden; background: var(--grey-bg); }
.project-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.project-card-body { display: block; padding: 22px 24px 24px; }
.project-card-type {
    display: block;
    margin-bottom: 6px;
    font-family: var(--font-head);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--gold-text);
}
.project-card-title { display: block; font-family: var(--font-head); font-size: 22px; font-weight: 700; color: var(--ink); line-height: 1.25; }
.project-card-meta { display: flex; flex-wrap: wrap; gap: 4px 24px; margin: 8px 0 16px; font-size: 15px; color: var(--muted); }
.project-card-meta span + span { position: relative; }
.project-card-meta span + span::before { content: "|"; position: absolute; left: -14px; color: #bdbdbd; }
.project-card-link {
    font-family: var(--font-head);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--navy);
    border-bottom: 2px solid var(--gold);
    padding-bottom: 2px;
}

/* FAQ blocks */
.service-faq { padding: var(--section-y) 0; }
.faq-layout { display: grid; grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr); gap: 64px; align-items: start; }
.faq-layout > * { min-width: 0; }
.faq-layout a { color: var(--navy); font-weight: 600; }
.faq-list { border-top: 1px solid #cfcfcf; }
.faq-item { border-bottom: 1px solid #cfcfcf; }
.faq-item summary {
    position: relative;
    display: block;
    padding: 20px 44px 20px 0;
    font-family: var(--font-head);
    font-size: 17px;
    font-weight: 600;
    line-height: 1.4;
    color: var(--ink);
    cursor: pointer;
    list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::before,
.faq-item summary::after {
    content: "";
    position: absolute;
    right: 8px;
    top: 50%;
    width: 16px;
    height: 2px;
    background: var(--navy);
    transition: transform 0.2s ease;
}
.faq-item summary::after { transform: rotate(90deg); }
.faq-item[open] summary::after { transform: rotate(0deg); }
.faq-answer { padding: 0 44px 20px 0; }
.faq-answer p { margin: 0; }

.other-services { padding: 56px 0 10px; }
.other-services-title { font-size: 20px; margin-bottom: 16px; }
.other-services-list { list-style: none; display: flex; flex-wrap: wrap; gap: 12px; }
.other-services-list a {
    display: inline-block;
    padding: 12px 18px;
    font-family: var(--font-head);
    font-size: 14px;
    font-weight: 600;
    color: var(--navy);
    text-decoration: none;
    border: 1px solid var(--navy);
    transition: background-color 0.2s ease, color 0.2s ease;
}

/* Before and after */
.before-after-section { padding: var(--section-y) 0; background: var(--grey-bg); }
.before-after-grid { display: grid; grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr); gap: 56px; align-items: center; }
.before-after-grid > * { min-width: 0; }
.before-after-copy p { font-size: 17px; }
.before-after-hint { font-family: var(--font-head); font-size: 14px; font-weight: 600; color: var(--gold-text); }
.before-after { margin: 0; }
.ba-frame { position: relative; aspect-ratio: 1600 / 1045; overflow: hidden; background: var(--navy-deep); user-select: none; -webkit-user-select: none; touch-action: pan-y; }
.ba-frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.ba-before-wrap { position: absolute; inset: 0; clip-path: inset(0 50% 0 0); }
.ba-handle { position: absolute; top: 0; bottom: 0; left: 50%; width: 3px; margin-left: -1.5px; background: var(--white); pointer-events: none; }
.ba-handle span {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 46px;
    height: 46px;
    margin: -23px 0 0 -23px;
    background: var(--gold);
    border: 3px solid var(--white);
    border-radius: 50%;
}
.ba-handle span::before,
.ba-handle span::after {
    content: "";
    position: absolute;
    top: 50%;
    width: 8px;
    height: 8px;
    margin-top: -4px;
    border-top: 2px solid var(--navy);
    border-left: 2px solid var(--navy);
}
.ba-handle span::before { left: 9px; transform: rotate(-45deg); }
.ba-handle span::after { right: 9px; transform: rotate(135deg); }
.ba-label {
    position: absolute;
    top: 16px;
    padding: 6px 12px;
    font-family: var(--font-head);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--white);
    background: rgba(1, 20, 44, 0.8);
    pointer-events: none;
}
.ba-label-before { left: 16px; }
.ba-label-after { right: 16px; }
.ba-range { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; -webkit-appearance: none; appearance: none; }
.ba-frame:focus-within .ba-handle span { outline: 3px solid var(--gold); outline-offset: 3px; }
.before-after figcaption { margin-top: 10px; font-size: 14px; color: var(--muted); }

/* Projects index */
.projects-index { padding: 70px 0 var(--section-y); }
.projects-index-head { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 40px; align-items: end; margin-bottom: 40px; }
.projects-index-intro { margin: 0; font-size: 17px; max-width: 760px; }
.filter-bar { display: flex; flex-wrap: wrap; gap: 8px; }
.filter-btn {
    min-height: 44px;
    padding: 8px 18px;
    font-family: var(--font-head);
    font-size: 14px;
    font-weight: 600;
    color: var(--navy);
    background: var(--white);
    border: 1px solid var(--navy);
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease;
}
.filter-btn.is-active { background: var(--navy); color: var(--white); }
.filter-empty { margin-top: 30px; font-size: 17px; }

/* Map */
.map-teaser, .area-map { padding: var(--section-y) 0; }
.map-teaser-grid, .area-map-grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 56px; align-items: center; }
.map-teaser-grid > *, .area-map-grid > * { min-width: 0; }
.area-map-copy p { font-size: 17px; }
.fl-map { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 28px; align-items: center; }
.fl-map > * { min-width: 0; }
.fl-map-svg { width: 100%; height: auto; overflow: visible; }
.fl-map-state { fill: #dde4ee; stroke: var(--navy); stroke-width: 1.5; stroke-linejoin: round; }
.fl-pin { cursor: pointer; }
.fl-pin-dot { fill: var(--gold); stroke: var(--navy); stroke-width: 2.5; transition: fill 0.2s ease; }
.fl-pin-pulse { fill: rgba(226, 174, 69, 0.3); transform-box: fill-box; transform-origin: center; animation: pin-pulse 2.4s ease-out infinite; }
.fl-pin.is-active .fl-pin-dot { fill: var(--navy); stroke: var(--gold); }
@keyframes pin-pulse { 0% { transform: scale(0.6); opacity: 1; } 100% { transform: scale(1.7); opacity: 0; } }
.fl-map-list { list-style: none; border-top: 1px solid #cfcfcf; }
.fl-map-list > li { border-bottom: 1px solid #cfcfcf; }
.fl-map-city {
    width: 100%;
    min-height: 48px;
    padding: 12px 0;
    text-align: left;
    font-family: var(--font-head);
    font-size: 16px;
    font-weight: 600;
    color: var(--ink);
    background: none;
    border: 0;
    cursor: pointer;
    transition: padding 0.2s ease;
}
.fl-map-city[aria-expanded="true"] { color: var(--navy); box-shadow: inset 3px 0 0 var(--gold); padding-left: 12px; }
.fl-map-card { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 14px; padding: 0 0 16px; }
.fl-map-card[hidden] { display: none; }
.fl-map-card img { width: 110px; height: 80px; object-fit: cover; }
.fl-map-card p { margin: 0; line-height: 1.4; }
.fl-map-card-type { font-family: var(--font-head); font-size: 11px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--gold-text); }
.fl-map-card-title { font-family: var(--font-head); font-weight: 700; color: var(--ink); }
.fl-map-card-meta { font-size: 14px; color: var(--muted); }
.fl-map-card a { display: inline-block; margin-top: 6px; font-family: var(--font-head); font-size: 13px; font-weight: 600; color: var(--navy); }
.fl-map-compact { grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr); }

/* Project detail */
.project-meta-bar { background: var(--navy); }
.project-meta { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 0; }
.project-meta div { padding: 22px 24px; border-left: 1px solid var(--navy-line); min-width: 0; }
.project-meta div:last-child { border-right: 1px solid var(--navy-line); }
.project-meta dt { font-family: var(--font-head); font-size: 12px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--gold); }
.project-meta dd { margin: 4px 0 0; font-family: var(--font-head); font-size: 18px; font-weight: 600; color: var(--white); }
.project-detail { padding: var(--section-y) 0 40px; }
.project-detail-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 420px); gap: 72px; align-items: start; }
.project-detail-grid > * { min-width: 0; }
.project-detail-copy p { font-size: 17px; }
.project-detail-copy h3 { margin-top: 30px; }
.phase-list { list-style: none; margin: 0 0 10px; padding: 0; counter-reset: phase; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 28px; }
.phase-list li {
    counter-increment: phase;
    position: relative;
    padding: 12px 0 12px 40px;
    border-bottom: 1px solid var(--line);
    font-family: var(--font-head);
    font-size: 15px;
    font-weight: 600;
    color: var(--ink);
}
.phase-list li::before { content: counter(phase, decimal-leading-zero); position: absolute; left: 0; top: 12px; color: var(--gold-text); font-weight: 700; }
.lightbox-trigger { position: relative; display: block; width: 100%; padding: 0; margin: 0 0 20px; border: 0; background: none; cursor: zoom-in; }
.lightbox-trigger img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.lightbox-zoom {
    position: absolute;
    right: 12px;
    bottom: 12px;
    padding: 6px 12px;
    font-family: var(--font-head);
    font-size: 12px;
    font-weight: 600;
    color: var(--white);
    background: rgba(1, 20, 44, 0.85);
}
.project-note { font-size: 14px; color: var(--muted); }

.lightbox { position: fixed; inset: 0; z-index: 400; display: flex; align-items: center; justify-content: center; padding: 64px 24px 40px; background: rgba(5, 10, 20, 0.94); }
.lightbox[hidden] { display: none; }
.lightbox-figure { margin: 0; max-width: min(1400px, 100%); display: flex; flex-direction: column; align-items: center; gap: 18px; }
.lightbox-image { max-width: 100%; max-height: calc(100vh - 180px); width: auto; height: auto; object-fit: contain; }
.lightbox-caption { max-width: 760px; font-family: var(--font-head); font-size: 15px; font-weight: 500; line-height: 1.5; color: var(--white); text-align: center; }
.lightbox-close { position: absolute; top: 12px; right: 12px; width: 48px; height: 48px; background: transparent; border: 0; cursor: pointer; }
.lightbox-close span { position: absolute; left: 12px; top: 23px; width: 24px; height: 2px; background: var(--white); transform: rotate(45deg); }
.lightbox-close span + span { transform: rotate(-45deg); }

/* Service area */
.area-cities { padding: var(--section-y) 0; }
.city-rows { border-top: 1px solid #cfcfcf; }
.city-row { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.4fr) auto; gap: 30px; align-items: center; padding: 24px 0; border-bottom: 1px solid #cfcfcf; }
.city-row > * { min-width: 0; }
.city-row-name h3 { margin: 0; font-size: 22px; }
.city-row-name p { margin: 2px 0 0; font-size: 14px; color: var(--muted); }
.city-row-project { margin: 0; font-size: 16px; }
.city-row-project a { font-weight: 600; color: var(--navy); }
.area-note { margin: 30px 0 0; font-size: 17px; }
.area-note a { color: var(--navy); font-weight: 600; }

.city-intro { padding: var(--section-y) 0; }
.city-intro-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); gap: 64px; align-items: start; }
.city-intro-grid > * { min-width: 0; }
.city-intro p { font-size: 17px; }
.city-intro h3 { margin-top: 28px; }
.city-services { padding: var(--section-y) 0; }
.city-service-list { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.city-service-list li { min-width: 0; }
.city-service-list a { display: block; height: 100%; padding: 26px; background: var(--white); border-top: 3px solid var(--navy); text-decoration: none; color: inherit; transition: border-color 0.2s ease; }
.city-service-title { display: block; margin-bottom: 8px; font-family: var(--font-head); font-size: 18px; font-weight: 700; color: var(--ink); }
.city-service-text { display: block; font-size: 15px; }

/* Insights */
.insights-index { padding: 70px 0 var(--section-y); }
.insight-featured { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: 48px; align-items: center; margin-bottom: 64px; padding-bottom: 64px; border-bottom: 1px solid var(--line); }
.insight-featured > * { min-width: 0; }
.insight-featured-media { display: block; aspect-ratio: 16 / 10; overflow: hidden; }
.insight-featured-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.insight-featured h2 { font-size: 30px; line-height: 1.3; }
.insight-featured h2 a { color: var(--ink); text-decoration: none; }
.insight-featured p { font-size: 17px; }
.insight-excerpt { font-size: 15px; margin-bottom: 14px; }
.insight-cards-index { row-gap: 50px; }
.insight-cards-two { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.article-section { padding: 70px 0 var(--section-y); }
.article-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 340px); gap: 72px; align-items: start; }
.article-grid > * { min-width: 0; }
.article { max-width: 780px; }
.article-meta { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-bottom: 18px; font-family: var(--font-head); font-size: 13px; font-weight: 600; color: var(--muted); }
.article-meta span:first-child { color: var(--gold-text); text-transform: uppercase; letter-spacing: 0.05em; }
.article-lead {
    font-family: var(--font-head);
    font-size: 20px;
    font-weight: 500;
    line-height: 1.6;
    color: var(--ink);
    padding-bottom: 24px;
    margin-bottom: 30px;
    border-bottom: 1px solid var(--line);
}
.article-body { font-size: 17px; line-height: 1.8; }
.article-body h2 { margin: 38px 0 14px; font-size: 26px; }
.article-body ul, .article-body ol { margin: 0 0 1.2em; padding-left: 22px; }
.article-body li { margin-bottom: 8px; }
.article-body a { color: var(--navy); font-weight: 600; text-decoration-color: var(--gold); text-underline-offset: 3px; }
.article-body .table-wrap { margin: 10px 0 24px; }
.article-disclaimer { margin-top: 36px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); }
.article-aside { position: sticky; top: 110px; }
.related-posts { padding: var(--section-y) 0; }

/* FAQ page */
.faq-page { padding: 70px 0 var(--section-y); }
.faq-page-grid { display: grid; grid-template-columns: minmax(0, 300px) minmax(0, 1fr); gap: 72px; align-items: start; }
.faq-page-grid > * { min-width: 0; }
.faq-nav { position: sticky; top: 110px; }
.faq-nav ul { list-style: none; margin-bottom: 28px; border-top: 1px solid var(--line); }
.faq-nav li { border-bottom: 1px solid var(--line); }
.faq-nav a { display: block; padding: 12px 0; font-family: var(--font-head); font-size: 15px; font-weight: 600; color: var(--navy); text-decoration: none; }
.faq-group { margin-bottom: 56px; scroll-margin-top: 110px; }
.faq-group h2 { font-size: 28px; margin-bottom: 18px; }

/* Legal */
.legal { padding: 70px 0 var(--section-y); }
.legal-inner { max-width: 860px; }
.legal-inner h2 { margin: 36px 0 12px; font-size: 24px; }
.legal-inner ul { padding-left: 22px; margin: 0 0 1.1em; }
.legal-inner a { color: var(--navy); font-weight: 600; }
.legal-updated { font-family: var(--font-head); font-size: 14px; font-weight: 600; color: var(--gold-text); }

/* Thank you */
.thank-you { padding: 110px 0 120px; }
.thank-you-inner { max-width: 860px; }
.thank-you-inner p { font-size: 17px; }
.thank-you-inner a:not(.btn) { color: var(--navy); font-weight: 600; }

/* Forms */
.contact-section { padding: 70px 0 var(--section-y); }
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 360px); gap: 72px; align-items: start; }
.contact-grid > * { min-width: 0; }
.contact-aside { position: sticky; top: 110px; }
.contact-big { font-family: var(--font-head); font-size: 24px; font-weight: 700; text-decoration: none; }
.form-intro { color: var(--muted); }
.req { color: #b3261e; }
.optional { font-weight: 400; color: var(--muted); font-size: 13px; }
.form-alert { padding: 14px 18px; margin-bottom: 24px; font-weight: 600; color: #7a1b14; background: #fbeaea; border-left: 4px solid #b3261e; }
.project-form fieldset { margin: 0 0 30px; padding: 0; border: 0; min-width: 0; }
.project-form legend { margin-bottom: 16px; padding: 0; font-family: var(--font-head); font-size: 18px; font-weight: 700; color: var(--ink); }
.field-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 22px; }
.field { min-width: 0; }
.field-wide { grid-column: 1 / -1; }
.field label { display: block; margin-bottom: 6px; font-family: var(--font-head); font-size: 14px; font-weight: 600; color: var(--ink); }
.field input[type="text"],
.field input[type="email"],
.field input[type="tel"],
.field input[type="number"],
.field select,
.field textarea {
    width: 100%;
    min-height: 50px;
    padding: 12px 14px;
    font-family: var(--font-body);
    font-size: 16px;
    color: var(--ink);
    background: var(--white);
    border: 1px solid #bdbdbd;
    border-radius: 0;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.field textarea { resize: vertical; min-height: 140px; }
.field select {
    appearance: none;
    -webkit-appearance: none;
    padding-right: 40px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23012651' stroke-width='2'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    background-size: 12px 8px;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(1, 38, 81, 0.18); }
.field input[type="file"] { width: 100%; padding: 14px; background: var(--white); border: 1px dashed #9a9a9a; font-size: 15px; }
.has-error input, .has-error select, .has-error textarea { border-color: #b3261e; }
.field-hint { margin: 6px 0 0; font-size: 13px; color: var(--muted); }
.field-error { margin: 6px 0 0; font-size: 14px; font-weight: 600; color: #b3261e; }
.form-privacy { font-size: 14px; color: var(--muted); }
.form-privacy a { color: var(--navy); }
.btn-submit { min-width: 240px; min-height: 52px; font-size: 15px; }
.btn-submit[disabled] { opacity: 0.7; cursor: wait; }
.hp-field { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.check-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px 22px; }
.check { display: flex; align-items: center; gap: 10px; min-height: 44px; font-size: 15px; cursor: pointer; }
.check input { width: 20px; height: 20px; accent-color: var(--navy); flex: 0 0 auto; }

.partners-intro { padding: var(--section-y) 0; }
.partners-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 72px; }
.partners-grid > * { min-width: 0; }
.partners-grid p { font-size: 17px; }
.partners-expect { padding: 32px; background: var(--grey-bg); border-top: 3px solid var(--navy); }
.partners-expect h3 { font-size: 18px; }
.partners-form { padding: var(--section-y) 0; scroll-margin-top: 90px; }
.partners-form-inner { max-width: 960px; }

@media (hover: hover) and (pointer: fine) {
    .breadcrumbs a:hover { color: var(--gold); }
    .aside-links a:hover { color: var(--gold-text); }
    .service-row:hover .service-row-media img,
    .project-card:hover .project-card-media img,
    .insight-featured:hover .insight-featured-media img { transform: scale(1.04); }
    .service-row-body h3 a:hover,
    .insight-featured h2 a:hover { color: var(--navy); text-decoration: underline; text-decoration-color: var(--gold); }
    .project-card:hover { border-color: var(--navy); }
    .other-services-list a:hover, .filter-btn:hover { background: var(--navy); color: var(--white); }
    .fl-map-city:hover { color: var(--gold-text); }
    .city-service-list a:hover { border-top-color: var(--gold); }
    .faq-item summary:hover { color: var(--navy); }
    .faq-nav a:hover { color: var(--gold-text); }
}

@media (prefers-reduced-motion: reduce) {
    .fl-pin-pulse { animation: none; opacity: 0; }
}

@media (max-width: 1100px) {
    .about-intro-grid, .founder-grid, .service-overview-grid, .compare-grid, .capital-grid, .faq-layout,
    .before-after-grid, .map-teaser-grid, .area-map-grid, .project-detail-grid, .city-intro-grid,
    .insight-featured, .article-grid, .faq-page-grid, .contact-grid, .partners-grid { grid-template-columns: minmax(0, 1fr); gap: 44px; }
    .founder-media { max-width: 420px; }
    .credentials-row, .principles-grid, .stats-row, .project-meta { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .credentials-row li { border-top: 1px solid var(--navy-line); }
    .credentials-row li:nth-child(odd) { border-left: 0; }
    .credentials-row li:last-child { border-right: 0; }
    .project-meta div:nth-child(odd) { border-left: 0; }
    .project-meta div:last-child { border-right: 0; }
    .scope-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .service-row { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; }
    .projects-index-head, .services-intro-grid { grid-template-columns: minmax(0, 1fr); gap: 24px; }
    .article-aside, .faq-nav, .contact-aside { position: static; }
    .city-row { grid-template-columns: minmax(0, 1fr) auto; }
    .city-row-project { grid-column: 1 / -1; grid-row: 2; }
}

@media (max-width: 767px) {
    .page-banner { min-height: 280px; }
    .page-banner-inner { padding-top: 50px; padding-bottom: 36px; }
    .page-banner h1 { font-size: 30px; }
    .page-banner-lead { font-size: 16px; }
    .credentials-row, .principles-grid, .scope-grid, .project-cards, .insight-cards-two,
    .city-service-list, .phase-list, .field-grid, .check-grid { grid-template-columns: minmax(0, 1fr); }
    .credentials-row li { border-left: 0; min-height: 60px; padding: 14px 0; }
    .stats-row { gap: 30px 12px; }
    .stat-value { font-size: 34px; }
    .service-row { grid-template-columns: minmax(0, 1fr); gap: 18px; }
    .service-row:nth-child(even) .service-row-media { order: 0; }
    .service-row-body h3 { font-size: 22px; }
    .services-intro-lead { font-size: 18px; }
    .fl-map, .fl-map-compact { grid-template-columns: minmax(0, 1fr); }
    .project-meta div { padding: 16px 14px; }
    .project-meta dd { font-size: 16px; }
    .insight-featured { margin-bottom: 40px; padding-bottom: 40px; }
    .insight-featured h2 { font-size: 24px; }
    .article-lead { font-size: 18px; }
    .article-body { font-size: 16px; }
    .article-body h2 { font-size: 22px; }
    .compare-table { font-size: 14px; min-width: 520px; }
    .city-row { grid-template-columns: minmax(0, 1fr); gap: 10px; }
    .city-row-project { grid-row: auto; }
    .aside-box, .service-aside, .partners-expect { padding: 22px; }
    .btn-submit { width: 100%; }
    .faq-item summary { font-size: 16px; }
    .lightbox { padding: 60px 12px 30px; }
}
