:root {
    color-scheme: light;
    --navy: #092d4e;
    --navy-deep: #061e35;
    --blue: #004990;
    --blue-light: #1671b9;
    --red: #ee3a43;
    --ink: #102b43;
    --muted: #617487;
    --line: #dce5ed;
    --surface: #f2f6f9;
    --white: #fff;
    --container: 1160px;
    --radius: 24px;
    font-family: 'Segoe UI', Inter, Roboto, Helvetica, Arial, sans-serif;
    font-synthesis: none;
    text-rendering: optimizeLegibility;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 110px;
}

body {
    min-width: 320px;
    margin: 0;
    color: var(--ink);
    background: var(--white);
    font-size: 16px;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}

body,
button,
a {
    font-family: 'Segoe UI', Inter, Roboto, Helvetica, Arial, sans-serif;
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}

a {
    color: inherit;
    text-decoration: none;
}

a:hover {
    color: var(--blue);
}

button {
    color: inherit;
}

::selection {
    color: var(--white);
    background: var(--blue);
}

.container {
    width: min(100% - 48px, var(--container));
    margin-inline: auto;
}

.skip-link {
    position: fixed;
    z-index: 100;
    top: 12px;
    left: 12px;
    padding: 12px 16px;
    transform: translateY(-160%);
    color: var(--white);
    border-radius: 8px;
    background: var(--navy-deep);
}

.skip-link:focus {
    transform: translateY(0);
}

:focus-visible {
    outline: 3px solid #f5a04b;
    outline-offset: 4px;
}

.site-header {
    position: sticky;
    z-index: 30;
    top: 0;
    border-bottom: 1px solid rgba(9, 45, 78, 0.08);
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(16px);
}

.header-inner {
    position: relative;
    display: flex;
    min-height: 110px;
    align-items: center;
    justify-content: space-between;
    gap: 26px;
    padding: 12px 14px;
}

.brand {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
}

.brand-crop {
    position: relative;
    display: block;
    width: 160px;
    height: 82px;
    overflow: hidden;
}

.brand-crop img {
    position: absolute;
    top: 50%;
    left: 50%;
    display: block;
    width: 360px;
    max-width: none;
    height: auto;
    transform: translate(-50%, -50%);
}

.site-nav {
    display: flex;
    align-items: center;
    gap: clamp(18px, 2.4vw, 34px);
}

.site-nav a {
    position: relative;
    padding-block: 10px;
    color: #40576b;
    font-size: 0.92rem;
    font-weight: 650;
    transition: color 160ms ease;
}

.site-nav a::after {
    position: absolute;
    right: 0;
    bottom: 2px;
    left: 0;
    height: 2px;
    transform: scaleX(0);
    transform-origin: left;
    background: var(--red);
    content: '';
    transition: transform 160ms ease;
}

.site-nav a:hover,
.site-nav a[aria-current='page'] {
    color: var(--navy);
}

.site-nav a:hover::after,
.site-nav a[aria-current='page']::after {
    transform: scaleX(1);
}

.header-phone {
    display: flex;
    min-width: 156px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 9px 16px 10px;
    color: var(--white);
    border-radius: 999px;
    background: var(--blue);
    line-height: 1.3;
    transition:
        background 160ms ease,
        transform 160ms ease;
}

.header-phone:hover {
    transform: translateY(-1px);
    color: var(--white);
    background: var(--navy);
}

.header-phone span {
    color: rgba(255, 255, 255, 0.76);
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.header-phone strong {
    font-size: 0.9rem;
    font-weight: 750;
}

.nav-toggle {
    display: none;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: var(--white);
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 700;
}

.nav-toggle__icon {
    display: grid;
    width: 18px;
    gap: 4px;
}

.nav-toggle__icon span {
    display: block;
    height: 2px;
    border-radius: 2px;
    background: var(--navy);
    transition:
        transform 160ms ease,
        opacity 160ms ease;
}

.nav-toggle[aria-expanded='true'] .nav-toggle__icon span:first-child {
    transform: translateY(6px) rotate(45deg);
}

.nav-toggle[aria-expanded='true'] .nav-toggle__icon span:nth-child(2) {
    opacity: 0;
}

.nav-toggle[aria-expanded='true'] .nav-toggle__icon span:last-child {
    transform: translateY(-6px) rotate(-45deg);
}

.hero {
    position: relative;
    overflow: hidden;
    color: var(--white);
    background: linear-gradient(115deg, #061e35 0%, #092d4e 54%, #07528f 100%);
}

.hero--home {
    min-height: 610px;
    padding-block: clamp(64px, 8vw, 108px) clamp(74px, 9vw, 118px);
}

.hero__inner {
    position: relative;
    z-index: 1;
    display: grid;
    align-items: center;
    grid-template-columns: minmax(0, 1fr) minmax(380px, 0.88fr);
    gap: clamp(56px, 8vw, 112px);
}

.hero__copy {
    min-width: 0;
    max-width: 640px;
}

.eyebrow {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 14px;
    color: var(--blue);
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    line-height: 1.4;
    text-transform: uppercase;
}

.eyebrow--light {
    color: rgba(255, 255, 255, 0.82);
}

.eyebrow__dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    flex: 0 0 8px;
    border-radius: 50%;
    background: var(--red);
    box-shadow: 0 0 0 4px rgba(238, 58, 67, 0.13);
}

h1,
h2,
h3,
p {
    margin-top: 0;
}

.hero h1,
.page-hero h1 {
    max-width: 13ch;
    margin-bottom: 22px;
    font-size: clamp(2.8rem, 5.5vw, 5.05rem);
    font-weight: 750;
    letter-spacing: -0.058em;
    line-height: 1.02;
}

.hero__lead {
    max-width: 54ch;
    margin-bottom: 30px;
    color: rgba(255, 255, 255, 0.78);
    font-size: clamp(1.05rem, 1.55vw, 1.2rem);
    line-height: 1.7;
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.button {
    display: inline-flex;
    min-height: 52px;
    align-items: center;
    justify-content: center;
    gap: 14px;
    padding: 13px 20px;
    border: 1px solid transparent;
    border-radius: 999px;
    font-size: 0.94rem;
    font-weight: 750;
    line-height: 1.3;
    transition:
        transform 160ms ease,
        background 160ms ease,
        border-color 160ms ease;
}

.button:hover {
    transform: translateY(-2px);
}

.button--light {
    color: var(--navy);
    background: var(--white);
}

.button--light:hover {
    color: var(--navy);
    background: #e8f1f8;
}

.button--outline-light {
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.38);
    background: transparent;
}

.button--outline-light:hover {
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.8);
    background: rgba(255, 255, 255, 0.08);
}

.button--blue {
    color: var(--white);
    background: var(--blue);
}

.button--blue:hover {
    color: var(--white);
    background: var(--navy);
}

.hero__phone {
    margin: 26px 0 0;
    color: rgba(255, 255, 255, 0.62);
    font-size: 0.9rem;
}

.hero__phone a {
    margin-left: 5px;
    color: var(--white);
    font-weight: 750;
}

.hero__phone a:hover {
    color: #ffd7d9;
}

.hero__visual {
    position: relative;
    display: grid;
    min-height: 420px;
    align-items: center;
    justify-items: center;
}

.visual-card {
    position: relative;
    z-index: 1;
    width: min(100%, 490px);
    padding: 22px 25px 0;
    overflow: hidden;
    color: var(--ink);
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 27px;
    background: linear-gradient(145deg, #fff 0%, #eef4f8 100%);
    box-shadow: 0 30px 70px rgba(0, 14, 29, 0.3);
    transform: rotate(1.4deg);
}

.visual-card::before {
    position: absolute;
    top: 60px;
    right: -70px;
    width: 210px;
    height: 210px;
    border: 1px solid rgba(0, 73, 144, 0.1);
    border-radius: 50%;
    box-shadow:
        0 0 0 24px rgba(0, 73, 144, 0.025),
        0 0 0 48px rgba(0, 73, 144, 0.02);
    content: '';
}

.visual-card__top,
.visual-card__bottom {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.visual-card__top {
    gap: 16px;
    color: #65788a;
    font-size: 0.68rem;
    font-weight: 750;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.visual-card__label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.visual-card__dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--red);
}

.visual-card__index {
    white-space: nowrap;
}

.pipe-canvas {
    position: relative;
    height: 270px;
    padding-block: 5px;
}

.pipe-canvas svg {
    display: block;
    width: 100%;
    height: 100%;
    overflow: visible;
}

.pipe-shadow,
.pipe-line,
.pipe-highlight,
.pipe-branch {
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.pipe-shadow {
    stroke: rgba(9, 45, 78, 0.1);
    stroke-width: 48;
}

.pipe-line {
    stroke: url(#pipeGradient);
    stroke-width: 37;
}

.pipe-highlight {
    stroke: rgba(255, 255, 255, 0.27);
    stroke-width: 4;
}

.pipe-branch {
    stroke: url(#waterGradient);
    stroke-width: 15;
}

.pipe-node--red {
    fill: var(--red);
}

.pipe-node--blue {
    fill: var(--white);
}

.pipe-node--white {
    fill: var(--white);
    stroke: var(--blue);
    stroke-width: 7;
}

.pipe-measure {
    fill: none;
    stroke: rgba(9, 45, 78, 0.25);
    stroke-linecap: round;
    stroke-width: 3;
}

.visual-card__bottom {
    min-height: 72px;
    padding: 14px 0 18px;
    border-top: 1px solid rgba(9, 45, 78, 0.12);
}

.visual-card__bottom div {
    display: grid;
    gap: 2px;
}

.visual-card__bottom div span {
    color: var(--muted);
    font-size: 0.72rem;
}

.visual-card__bottom strong {
    color: var(--navy);
    font-size: 0.96rem;
}

.visual-card__arrow {
    display: grid;
    width: 38px;
    height: 38px;
    place-items: center;
    color: var(--white);
    border-radius: 50%;
    background: var(--red);
    font-size: 1.1rem;
}

.visual-note {
    position: absolute;
    z-index: 2;
    right: -8px;
    bottom: 23px;
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 11px 16px 11px 12px;
    color: var(--navy);
    border: 1px solid rgba(9, 45, 78, 0.08);
    border-radius: 999px;
    background: var(--white);
    box-shadow: 0 12px 30px rgba(0, 14, 29, 0.15);
    font-size: 0.8rem;
    font-weight: 750;
}

.visual-note__icon {
    display: grid;
    width: 29px;
    height: 29px;
    place-items: center;
    color: var(--white);
    border-radius: 50%;
    background: var(--red);
    font-size: 1.1rem;
}

.hero__ornament {
    position: absolute;
    right: -115px;
    bottom: -340px;
    width: 620px;
    height: 620px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    box-shadow:
        0 0 0 44px rgba(255, 255, 255, 0.025),
        0 0 0 88px rgba(255, 255, 255, 0.018);
    pointer-events: none;
}

.section {
    padding-block: clamp(72px, 8.2vw, 112px);
}

.section--soft {
    background: var(--surface);
}

.section-heading {
    max-width: 760px;
    margin-bottom: 38px;
}

.section-heading--split {
    display: grid;
    max-width: none;
    align-items: end;
    grid-template-columns: minmax(0, 1.2fr) minmax(260px, 0.7fr);
    gap: 45px;
}

.section-heading h2,
.about-layout h2,
.about-bottom h2,
.location-info h2,
.contact-location h2 {
    max-width: 19ch;
    margin-bottom: 0;
    color: var(--navy);
    font-size: clamp(2rem, 4vw, 3.35rem);
    font-weight: 740;
    letter-spacing: -0.05em;
    line-height: 1.1;
}

.section-heading > p {
    max-width: 44ch;
    margin: 0 0 4px;
    color: var(--muted);
    font-size: 1.02rem;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.service-card {
    position: relative;
    display: flex;
    min-height: 280px;
    flex-direction: column;
    align-items: flex-start;
    justify-content: space-between;
    padding: clamp(25px, 3.4vw, 38px);
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
    transition:
        transform 180ms ease,
        box-shadow 180ms ease;
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 44px rgba(9, 45, 78, 0.08);
}

.service-card--accent {
    border-color: rgba(0, 73, 144, 0.16);
    background: linear-gradient(145deg, #f1f7fb, #fff 68%);
}

.service-card__number {
    position: absolute;
    top: 22px;
    right: 28px;
    color: rgba(0, 73, 144, 0.15);
    font-size: 2.6rem;
    font-weight: 800;
    letter-spacing: -0.08em;
    line-height: 1;
}

.service-card__eyebrow {
    margin: 0 0 6px;
    color: var(--blue);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.service-card h3 {
    margin-bottom: 12px;
    color: var(--navy);
    font-size: 1.55rem;
    letter-spacing: -0.03em;
}

.service-card div > p:last-child {
    max-width: 45ch;
    margin-bottom: 24px;
    color: var(--muted);
}

.authorization-note {
    display: flex;
    align-items: center;
    gap: 18px;
    width: min(100%, 560px);
    margin: 30px auto 0;
    padding: 18px 22px;
    border: 1px solid var(--line);
    border-left: 4px solid var(--red);
    border-radius: 8px;
    background: var(--surface);
}

.authorization-note__mark {
    display: grid;
    width: clamp(72px, 8vw, 88px);
    height: clamp(72px, 8vw, 88px);
    flex: 0 0 clamp(72px, 8vw, 88px);
    place-items: center;
    border: 1px solid var(--line);
    border-radius: 50%;
    background: var(--white);
    box-shadow: 0 5px 16px rgba(9, 45, 78, 0.08);
}

.authorization-note__mark img {
    width: 82%;
    height: 82%;
    object-fit: contain;
}

.authorization-note__copy {
    display: grid;
    min-width: 0;
    gap: 4px;
}

.authorization-note__eyebrow {
    color: var(--blue);
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
}

.authorization-note__copy p {
    margin: 0;
    color: var(--navy);
    font-size: 1.1rem;
    font-weight: 750;
}

.text-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--blue);
    font-weight: 750;
}

.text-link span,
.contact-card__action span {
    transition: transform 160ms ease;
}

.text-link:hover span,
.contact-card__action:hover span {
    transform: translateX(4px);
}

.section--cta {
    padding-top: 48px;
}

.cta-panel {
    position: relative;
    display: flex;
    min-height: 245px;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    padding: clamp(30px, 5vw, 56px);
    overflow: hidden;
    color: var(--white);
    border-radius: 30px;
    background: linear-gradient(110deg, #092d4e, #004990);
}

.cta-panel::after {
    position: absolute;
    top: -160px;
    right: 20%;
    width: 360px;
    height: 360px;
    border: 1px solid rgba(255, 255, 255, 0.11);
    border-radius: 50%;
    box-shadow:
        0 0 0 34px rgba(255, 255, 255, 0.025),
        0 0 0 68px rgba(255, 255, 255, 0.02);
    content: '';
}

.cta-panel > * {
    position: relative;
    z-index: 1;
}

.cta-panel h2 {
    margin-bottom: 5px;
    font-size: clamp(2rem, 4vw, 3rem);
    letter-spacing: -0.05em;
    line-height: 1.15;
}

.cta-panel p:last-child {
    margin-bottom: 0;
    color: rgba(255, 255, 255, 0.76);
}

.site-footer {
    color: rgba(255, 255, 255, 0.76);
    background: var(--navy-deep);
}

.footer-main {
    display: grid;
    padding-block: 48px 40px;
    grid-template-columns: minmax(260px, 1.5fr) repeat(2, minmax(150px, 0.7fr));
    gap: 48px;
}

.brand--footer .brand-crop img {
    filter: brightness(0) invert(1);
}

.brand--footer .brand-crop::after {
    position: absolute;
    inset: 0;
    z-index: 1;
    clip-path: circle(22px at 138px 26px);
    background: url('logo.svg') center / 360px auto no-repeat;
    content: '';
    pointer-events: none;
}

.footer-brand-block p {
    max-width: 34ch;
    margin: 2px 0 0;
    color: rgba(255, 255, 255, 0.66);
    font-size: 0.9rem;
}

.footer-brand-block .footer-legal {
    display: grid;
    gap: 2px;
    margin-top: 12px;
    font-size: 0.82rem;
}

.footer-accreditation {
    display: block;
    width: min(100%, 180px);
    height: auto;
    margin-top: 16px;
    border-radius: 4px;
    border: 5px solid white;
}

.footer-column {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 7px;
    padding-top: 20px;
    font-size: 0.9rem;
}

.footer-column h2 {
    margin-bottom: 8px;
    color: var(--white);
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.footer-column a:hover,
.footer-bottom a:hover {
    color: var(--white);
}

.footer-bottom {
    display: flex;
    min-height: 62px;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
    color: rgba(255, 255, 255, 0.58);
    font-size: 0.78rem;
}

.footer-bottom a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.page-hero {
    position: relative;
    overflow: hidden;
    padding-block: 32px 78px;
    color: var(--white);
    background: linear-gradient(115deg, #061e35 0%, #092d4e 60%, #07528f 100%);
}

.page-hero__inner {
    position: relative;
    z-index: 1;
}

.breadcrumbs {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 48px;
    color: rgba(255, 255, 255, 0.61);
    font-size: 0.82rem;
}

.breadcrumbs a:hover {
    color: var(--white);
}

.breadcrumbs [aria-current='page'] {
    color: var(--white);
}

.page-hero h1 {
    max-width: 15ch;
    margin-bottom: 16px;
    font-size: clamp(2.7rem, 5vw, 4.35rem);
}

.page-hero__lead {
    max-width: 59ch;
    margin-bottom: 0;
    color: rgba(255, 255, 255, 0.77);
    font-size: clamp(1.05rem, 1.5vw, 1.2rem);
}

.page-hero__shape {
    position: absolute;
    right: -70px;
    bottom: -250px;
    width: 500px;
    height: 500px;
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 50%;
    box-shadow:
        0 0 0 36px rgba(255, 255, 255, 0.022),
        0 0 0 72px rgba(255, 255, 255, 0.017);
}

.about-layout {
    display: grid;
    align-items: center;
    grid-template-columns: minmax(0, 1fr) minmax(300px, 0.72fr);
    gap: clamp(48px, 9vw, 120px);
}

.prose {
    max-width: 680px;
}

.prose h2 {
    margin-bottom: 20px;
}

.prose > p:not(.eyebrow) {
    max-width: 60ch;
    color: var(--muted);
    font-size: 1.03rem;
}

.prose > p:last-child {
    margin-bottom: 0;
}

.focus-card {
    padding: clamp(26px, 4vw, 38px);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: linear-gradient(145deg, #f7fafc, #edf4f8);
}

.focus-card__label {
    display: block;
    margin-bottom: 9px;
    color: var(--blue);
    font-size: 0.73rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.focus-card h3 {
    margin-bottom: 22px;
    color: var(--navy);
    font-size: 1.45rem;
    letter-spacing: -0.035em;
}

.fact-list {
    display: grid;
    gap: 15px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.fact-list li {
    display: flex;
    align-items: flex-start;
    gap: 11px;
    color: #40576b;
    font-size: 0.94rem;
}

.fact-list__mark {
    display: grid;
    width: 22px;
    height: 22px;
    flex: 0 0 22px;
    place-items: center;
    color: var(--white);
    border-radius: 50%;
    background: var(--blue);
    font-size: 0.72rem;
    font-weight: 800;
}

.about-bottom,
.contact-location {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 36px;
}

.about-bottom > div,
.contact-location > div {
    max-width: 700px;
}

.about-bottom h2,
.contact-location h2 {
    margin-bottom: 12px;
}

.about-bottom p:not(.eyebrow),
.contact-location p:not(.eyebrow) {
    margin-bottom: 0;
    color: var(--muted);
}

.location-layout {
    display: grid;
    align-items: center;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 0.83fr);
    gap: clamp(48px, 8vw, 100px);
}

.location-info h2 {
    margin-bottom: 18px;
}

.location-info > p:not(.eyebrow):not(.external-note) {
    max-width: 54ch;
    margin-bottom: 25px;
    color: var(--muted);
}

.address-block {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin: 0 0 25px;
    color: #40576b;
    font-style: normal;
}

.address-block strong {
    color: var(--navy);
}

.address-block__icon {
    display: grid;
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    place-items: center;
    color: var(--white);
    border-radius: 50%;
    background: var(--red);
    font-size: 1.3rem;
}

.external-note {
    margin: 11px 0 0;
    color: var(--muted);
    font-size: 0.78rem;
}

.location-panel {
    position: relative;
    display: flex;
    min-height: 410px;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: 38px;
    overflow: hidden;
    color: var(--white);
    border-radius: 30px;
    background: linear-gradient(145deg, #092d4e, #07528f);
}

.location-panel__pattern {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 330px;
    height: 330px;
    transform: translate(-50%, -58%);
    border: 1px solid rgba(255, 255, 255, 0.13);
    border-radius: 50%;
    box-shadow:
        0 0 0 32px rgba(255, 255, 255, 0.025),
        0 0 0 66px rgba(255, 255, 255, 0.022),
        0 0 0 100px rgba(255, 255, 255, 0.018);
}

.location-panel__pin,
.location-panel__eyebrow,
.location-panel > strong,
.location-panel__caption,
.location-panel__footer {
    position: relative;
    z-index: 1;
}

.location-panel__pin {
    display: grid;
    width: 74px;
    height: 74px;
    margin-bottom: 30px;
    place-items: center;
    color: var(--white);
    border-radius: 50%;
    background: var(--red);
    box-shadow: 0 0 0 12px rgba(238, 58, 67, 0.15);
}

.location-panel__pin svg {
    width: 38px;
    height: 38px;
}

.location-panel__eyebrow {
    margin-bottom: 5px;
    color: rgba(255, 255, 255, 0.68);
    font-size: 0.78rem;
    font-weight: 750;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.location-panel > strong {
    font-size: clamp(2.5rem, 4.5vw, 3.7rem);
    letter-spacing: -0.06em;
    line-height: 1;
}

.location-panel__caption {
    margin-top: 8px;
    color: rgba(255, 255, 255, 0.78);
}

.location-panel__footer {
    display: grid;
    width: 100%;
    gap: 1px;
    margin-top: 30px;
    padding-top: 17px;
    color: rgba(255, 255, 255, 0.7);
    border-top: 1px solid rgba(255, 255, 255, 0.19);
    font-size: 0.83rem;
}

.section-heading--contact {
    display: grid;
    max-width: none;
    align-items: end;
    grid-template-columns: minmax(0, 1fr) minmax(250px, 0.7fr);
    gap: 45px;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.contact-email {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px;
    margin: 26px 0 0;
    padding: 18px 22px;
    color: var(--muted);
    border: 1px solid rgba(0, 73, 144, 0.1);
    border-radius: 18px;
    background: linear-gradient(120deg, #f3f8fb, #fff);
}

.contact-email__icon {
    display: grid;
    width: 48px;
    height: 48px;
    flex: 0 0 48px;
    place-items: center;
    color: var(--white);
    border-radius: 50%;
    background: var(--red);
}

.contact-email__icon svg {
    width: 23px;
    height: 23px;
}

.contact-email__copy {
    display: grid;
    flex: 1;
    gap: 1px;
}

.contact-email__copy span {
    color: var(--muted);
    font-size: 0.73rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.contact-email__copy strong {
    color: var(--navy);
    font-size: 1.04rem;
}

.contact-email__link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    color: var(--blue);
    border: 1px solid rgba(0, 73, 144, 0.14);
    border-radius: 999px;
    background: var(--white);
    font-weight: 750;
    transition:
        transform 160ms ease,
        background 160ms ease,
        color 160ms ease;
}

.contact-email__link:hover {
    transform: translateY(-1px);
    color: var(--navy);
    background: #e8f1f8;
}

.contact-card {
    display: flex;
    min-height: 260px;
    flex-direction: column;
    align-items: flex-start;
    padding: 27px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
    transition:
        transform 180ms ease,
        box-shadow 180ms ease;
}

.contact-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 42px rgba(9, 45, 78, 0.08);
}

.contact-card--highlight {
    border-color: rgba(0, 73, 144, 0.17);
    background: linear-gradient(145deg, #f1f7fb, #fff 76%);
}

.contact-card--office {
    color: var(--white);
    border-color: transparent;
    background: linear-gradient(145deg, #092d4e, #07528f);
}

.contact-card__label {
    margin-bottom: 22px;
    color: var(--blue);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.contact-card--office .contact-card__label {
    color: rgba(255, 255, 255, 0.68);
}

.contact-card h3 {
    margin-bottom: 7px;
    color: var(--navy);
    font-size: 1.33rem;
    letter-spacing: -0.035em;
}

.contact-card--office h3 {
    color: var(--white);
}

.contact-card__phone {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: var(--blue);
    font-size: clamp(1.2rem, 1.8vw, 1.55rem);
    font-weight: 780;
    letter-spacing: -0.035em;
}

.contact-card__phone:hover {
    color: var(--red);
}

.contact-card--office .contact-card__phone {
    color: var(--white);
}

.contact-card--office .contact-card__phone:hover {
    color: #ffd7d9;
}

.contact-card__phone span {
    font-size: 0.82rem;
}

.contact-card__hours {
    margin-top: 5px;
    color: rgba(255, 255, 255, 0.68);
    font-size: 0.78rem;
}

.contact-card__action {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-top: auto;
    padding-top: 24px;
    color: var(--blue);
    font-size: 0.88rem;
    font-weight: 750;
}

.contact-card--office .contact-card__action {
    color: var(--white);
}

.contact-location .button {
    flex: 0 0 auto;
}

@media (max-width: 980px) {
    .header-inner {
        gap: 18px;
        min-height: 102px;
        padding: 10px;
    }

    .brand-crop {
        width: 140px;
        height: 72px;
    }

    .brand-crop img {
        width: 315px;
    }

    .brand--footer .brand-crop::after {
        clip-path: circle(19.4px at 120.7px 23.2px);
        background-size: 315px auto;
    }

    .site-nav {
        gap: 17px;
    }

    .site-nav a {
        font-size: 0.86rem;
    }

    .header-phone {
        min-width: 143px;
        padding-inline: 12px;
    }

    .hero__inner {
        grid-template-columns: minmax(0, 1fr) minmax(320px, 0.84fr);
        gap: 35px;
    }

    .visual-card {
        padding-inline: 20px;
    }

    .visual-note {
        right: -2px;
    }

    .contact-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .contact-card--office {
        grid-column: 1 / -1;
    }
}

@media (max-width: 820px) {
    .container {
        width: min(100% - 40px, var(--container));
    }

    .header-inner {
        min-height: 94px;
        flex-wrap: wrap;
        padding: 10px 8px;
    }

    .site-nav {
        order: 3;
        flex: 1 0 100%;
        flex-wrap: wrap;
        justify-content: center;
        gap: 4px 22px;
        padding: 5px 0 12px;
    }

    .site-nav a {
        padding: 7px 4px;
        font-size: 0.9rem;
    }

    .nav-toggle,
    .header-phone {
        display: none;
    }

    html.has-nav-script .header-inner {
        flex-wrap: nowrap;
    }

    html.has-nav-script .nav-toggle {
        display: inline-flex;
        margin-left: auto;
    }

    html.has-nav-script .site-nav {
        position: absolute;
        top: calc(100% - 1px);
        right: 0;
        left: 0;
        display: none;
        align-items: stretch;
        flex: initial;
        flex-direction: column;
        gap: 0;
        padding: 12px 20px 20px;
        border-bottom: 1px solid var(--line);
        background: var(--white);
        box-shadow: 0 16px 25px rgba(9, 45, 78, 0.08);
    }

    html.has-nav-script .site-nav.is-open {
        display: flex;
    }

    html.has-nav-script .site-nav a {
        padding: 13px 10px;
        border-bottom: 1px solid rgba(9, 45, 78, 0.07);
        font-size: 0.98rem;
    }

    html.has-nav-script .site-nav a::after {
        display: none;
    }

    html.has-nav-script .site-nav a[aria-current='page'] {
        color: var(--blue);
    }

    .hero--home {
        padding-block: 66px 78px;
    }

    .hero__inner {
        grid-template-columns: minmax(0, 1fr);
        gap: 46px;
    }

    .hero__copy {
        max-width: 690px;
    }

    .hero__visual {
        width: min(100%, 550px);
        min-height: 380px;
        justify-self: center;
    }

    .section-heading--split,
    .section-heading--contact,
    .about-layout,
    .location-layout {
        grid-template-columns: minmax(0, 1fr);
        gap: 32px;
    }

    .section-heading--split,
    .section-heading--contact {
        align-items: start;
    }

    .about-layout {
        align-items: start;
    }

    .focus-card {
        max-width: 620px;
    }

    .location-panel {
        min-height: 350px;
    }

    .footer-main {
        grid-template-columns: minmax(0, 1.2fr) repeat(2, minmax(130px, 0.8fr));
        gap: 26px;
    }
}

@media (max-width: 600px) {
    html {
        scroll-padding-top: 86px;
    }

    .container {
        width: min(100% - 36px, var(--container));
    }

    .header-inner {
        min-height: 86px;
        padding: 8px 6px;
    }

    .brand-crop {
        width: 122px;
        height: 63px;
    }

    .brand-crop img {
        width: 275px;
    }

    .brand--footer .brand-crop::after {
        clip-path: circle(17px at 105.2px 20.3px);
        background-size: 275px auto;
    }

    .nav-toggle {
        padding: 9px 12px;
    }

    .site-nav:not(.is-open) {
        gap: 4px 14px;
    }

    .hero--home {
        padding-block: 54px 64px;
    }

    .hero__inner {
        gap: 36px;
    }

    .hero h1 {
        font-size: clamp(2.65rem, 12vw, 4rem);
    }

    .hero__lead {
        margin-bottom: 24px;
        font-size: 1.03rem;
    }

    .hero__actions {
        align-items: stretch;
        flex-direction: column;
    }

    .hero__actions .button {
        width: 100%;
    }

    .hero__phone {
        margin-top: 19px;
    }

    .hero__visual {
        min-height: 300px;
    }

    .visual-card {
        padding: 17px 16px 0;
        border-radius: 21px;
    }

    .visual-card__top {
        font-size: 0.59rem;
    }

    .pipe-canvas {
        height: 215px;
    }

    .visual-card__bottom {
        min-height: 64px;
    }

    .visual-note {
        right: -4px;
        bottom: 2px;
        padding: 8px 12px 8px 8px;
        font-size: 0.72rem;
    }

    .visual-note__icon {
        width: 25px;
        height: 25px;
    }

    .section {
        padding-block: 64px;
    }

    .section-heading {
        margin-bottom: 28px;
    }

    .section-heading h2,
    .about-layout h2,
    .about-bottom h2,
    .location-info h2,
    .contact-location h2 {
        font-size: clamp(1.95rem, 9vw, 2.7rem);
    }

    .section-heading--split,
    .section-heading--contact,
    .about-layout,
    .location-layout {
        gap: 25px;
    }

    .service-grid,
    .contact-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .service-card {
        min-height: 255px;
        padding: 25px;
    }

    .contact-card,
    .contact-card--office {
        min-height: 235px;
        grid-column: auto;
    }

    .contact-email {
        gap: 12px;
        padding: 16px;
    }

    .contact-email__copy {
        min-width: calc(100% - 60px);
    }

    .contact-email__link {
        flex-basis: 100%;
        justify-content: space-between;
    }

    .section--cta {
        padding-top: 32px;
    }

    .cta-panel {
        align-items: flex-start;
        flex-direction: column;
        border-radius: 23px;
    }

    .cta-panel .button {
        width: 100%;
    }

    .page-hero {
        padding-block: 25px 60px;
    }

    .breadcrumbs {
        margin-bottom: 38px;
    }

    .page-hero h1 {
        font-size: clamp(2.5rem, 11vw, 3.5rem);
    }

    .about-bottom,
    .contact-location {
        align-items: flex-start;
        flex-direction: column;
        gap: 24px;
    }

    .about-bottom .button,
    .contact-location .button {
        width: 100%;
    }

    .location-panel {
        min-height: 340px;
        padding: 28px;
        border-radius: 23px;
    }

    .location-info .button {
        width: 100%;
    }

    .footer-main {
        padding-block: 38px 28px;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 18px 24px;
    }

    .footer-brand-block {
        grid-column: 1 / -1;
    }

    .footer-column {
        padding-top: 10px;
    }

    .footer-bottom {
        min-height: 58px;
        align-items: flex-start;
        flex-direction: column;
        justify-content: center;
        gap: 2px;
        padding-block: 12px;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }
}
