/* Insituform | Frontend styles */

:root {
    --navy: #12356f;
    --navy-dark: #0c2550;
    --blue: #2b7fc2;
    --sky: #55a9dc;
    --ink: #1c2333;
    --grey: #555e6c;
    --line: #e3e8f0;
    --bg-soft: #f4f7fb;
    --white: #ffffff;
    --tint-1: #e3ecf5;
    --tint-2: #e9f2f9;
    --tint-3: #e8ebf1;
    --tint-4: #d1e0ef;
    --font-head: 'Archivo', Arial, sans-serif;
    --font-body: 'IBM Plex Sans', Arial, sans-serif;
    --chevron: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 9l6 6 6-6' fill='none' stroke='%2312356f' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: var(--font-body);
    color: var(--ink);
    line-height: 1.65;
    background: var(--white);
}
body.no-scroll { overflow: hidden; }

img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--navy); line-height: 1.2; font-weight: 800; }
:focus-visible { outline: 3px solid var(--sky); outline-offset: 2px; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--navy); color: var(--white); padding: 10px 18px; border-radius: 8px; }
.skip-link:focus { top: 12px; }

.btn {
    display: inline-block;
    background: var(--navy);
    color: var(--white);
    font-family: var(--font-head);
    font-weight: 700;
    padding: 14px 30px;
    border-radius: 40px;
    border: 0;
    cursor: pointer;
    font-size: 15.5px;
}
.btn:hover { background: var(--blue); text-decoration: none; }
.btn:disabled { opacity: .6; cursor: wait; }
.btn-small { padding: 10px 22px; font-size: 15px; }
.btn-light { background: var(--white); color: var(--navy); }
.btn-light:hover { background: var(--sky); color: var(--white); }
.btn-outline { background: var(--white); color: var(--navy); box-shadow: inset 0 0 0 1px var(--line); }
.btn-outline:hover { background: var(--tint-1); }
.btn-ghost { background: transparent; color: var(--white); box-shadow: inset 0 0 0 1px rgba(255,255,255,.5); }
.btn-row { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 12px; }

/* Header */
.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: var(--white);
    border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; padding: 14px 24px; gap: 24px; }
.brand img { height: 42px; width: auto; }
.main-nav { display: flex; align-items: center; gap: 22px; }
.main-nav > a:not(.btn), .nav-drop > a { color: var(--ink); font-weight: 500; font-size: 15px; }
.main-nav > a:not(.btn):hover, .main-nav > a.active:not(.btn), .nav-drop > a.active, .nav-drop > a:hover { color: var(--blue); text-decoration: none; }
.main-nav > a.btn { color: var(--white); }
.nav-drop { position: relative; display: flex; align-items: center; gap: 2px; }
.drop-toggle { background: none; border: 0; color: var(--navy); cursor: pointer; padding: 6px; display: grid; place-items: center; border-radius: 6px; }
.drop-toggle svg { transition: transform .2s; }
.nav-drop.open .drop-toggle svg { transform: rotate(180deg); }
.drop-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 10px;
    min-width: 250px;
    padding: 10px 0;
    box-shadow: 0 12px 30px rgba(18,53,111,.12);
}
.nav-drop:hover .drop-menu, .nav-drop:focus-within .drop-menu, .nav-drop.open .drop-menu { display: block; }
.drop-menu a { display: block; padding: 9px 18px; color: var(--ink); font-size: 14.5px; }
.drop-menu a:hover { background: var(--tint-2); color: var(--blue); text-decoration: none; }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 6px; }
.nav-toggle span { display: block; width: 26px; height: 3px; background: var(--navy); margin: 5px 0; border-radius: 2px; }

/* Hero */
.hero {
    background: linear-gradient(135deg, var(--navy-dark), var(--navy) 55%, var(--blue));
    color: var(--white);
    padding: 110px 0 120px;
}
.hero .kicker, .page-hero .kicker { color: var(--sky); font-family: var(--font-head); font-weight: 700; letter-spacing: .12em; text-transform: uppercase; font-size: 13.5px; margin-bottom: 16px; }
.hero h1 { color: var(--white); font-size: clamp(34px, 5vw, 58px); max-width: 850px; margin-bottom: 24px; }
.hero p { max-width: 720px; font-size: 18px; color: #dbe7f5; margin-bottom: 34px; }

.page-hero { background: linear-gradient(135deg, var(--navy-dark), var(--navy)); color: var(--white); padding: 80px 0; }
.page-hero h1 { color: var(--white); font-size: clamp(30px, 4vw, 48px); max-width: 900px; }
.hero-sub { color: #cfdcef; font-size: 18px; margin-top: 14px; max-width: 760px; }
.crumbs { font-size: 14px; color: #cfdcef; margin-bottom: 16px; }
.crumbs a { color: var(--sky); }

/* Sections */
.section { padding: 90px 0; }
.section-soft { background: var(--bg-soft); }
.section-navy { background: var(--navy); color: var(--white); }
.section-navy h2, .section-navy h3 { color: var(--white); }
.section h2 { font-size: clamp(28px, 3.4vw, 40px); margin-bottom: 20px; }
.lead { font-size: 18px; color: var(--grey); max-width: 820px; }
.lead.small { font-size: 15.5px; margin-top: 16px; }
.two-col { display: grid; grid-template-columns: 1.1fr .9fr; gap: 60px; align-items: center; }
.two-col.top { align-items: start; }


/* Stats */
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; text-align: center; }
.stat-num { font-family: var(--font-head); font-size: clamp(30px, 3.4vw, 44px); font-weight: 800; color: var(--sky); }
.stat-label { color: #cfdcef; font-size: 15px; margin-top: 6px; }

/* Cards */
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 46px; }
.card {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 14px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform .2s, box-shadow .2s;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 16px 34px rgba(18,53,111,.12); }
.card-img { aspect-ratio: 16 / 10; background: var(--tint-1); }
.card-img img { width: 100%; height: 100%; object-fit: cover; }
.card-body { padding: 24px; flex: 1; display: flex; flex-direction: column; gap: 12px; }
.card-body h3, .card-title { font-size: 20px; margin: 0; }
.card-body p { color: var(--grey); font-size: 15px; flex: 1; }
.card-body p.meta-line { flex: 0; margin: 0; }
.card-link { font-family: var(--font-head); font-weight: 700; color: var(--blue); }
.badge-soon { display: inline-block; background: var(--tint-3); color: var(--navy); font-weight: 700; font-size: 13px; padding: 6px 14px; border-radius: 30px; width: fit-content; }
.tint-cards .card { border-color: transparent; }
.tint-cards .card:nth-child(3n+1) { background: var(--tint-1); }
.tint-cards .card:nth-child(3n+2) { background: var(--tint-2); }
.tint-cards .card:nth-child(3n+3) { background: var(--tint-3); }
.tint-cards .card-body p { color: var(--ink); }

/* Specs */
.spec-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 36px; }
.spec-item { border-radius: 12px; padding: 20px 22px; background: var(--white); }
.spec-item:nth-child(3n+1) { background: var(--tint-1); }
.spec-item:nth-child(3n+2) { background: var(--tint-2); }
.spec-item:nth-child(3n+3) { background: var(--tint-3); }
.spec-item .label { font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--navy); opacity: .8; }
.spec-item .value { font-size: 17px; font-weight: 500; color: var(--navy); margin-top: 6px; }

/* Timeline */
.timeline { list-style: none; display: grid; gap: 34px; margin-top: 50px; border-left: 3px solid var(--sky); padding-left: 34px; }
.timeline-item h2 { font-size: 22px; margin: 2px 0 0; }
.timeline-item .year { color: var(--blue); font-family: var(--font-head); font-weight: 800; letter-spacing: .08em; }
.timeline-item p { color: var(--grey); margin-top: 8px; max-width: 760px; }

/* Forms */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 30px; }
.form-grid .full { grid-column: 1 / -1; }
.fld { display: grid; gap: 6px; font-size: 14px; font-weight: 500; color: var(--navy); }
input[type=text], input[type=email], input[type=tel], select, textarea {
    width: 100%;
    padding: 13px 16px;
    border: 1px solid #cfd7e3;
    border-radius: 10px;
    font-family: inherit;
    font-size: 15px;
    color: var(--ink);
    background: var(--white);
}
select {
    -webkit-appearance: none;
    appearance: none;
    background: var(--white) var(--chevron) no-repeat right 8px center / 18px;
    padding-right: 34px;
}
textarea { min-height: 130px; resize: vertical; }
.phone-group { display: flex; gap: 8px; }
.phone-group select { width: 120px; flex-shrink: 0; }
.consent-line { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--grey); font-weight: 400; }
.consent-line input { margin-top: 4px; width: 17px; height: 17px; flex-shrink: 0; }
.purpose-note { font-size: 14px; color: var(--ink); background: var(--tint-2); border-radius: 10px; padding: 14px 16px; }
.captcha-note { font-size: 12.5px; color: var(--grey); margin-top: 12px; }
.grecaptcha-badge { visibility: hidden; }
.form-msg { margin-top: 20px; padding: 14px 18px; border-radius: 10px; font-weight: 500; }
.form-msg.ok { background: #e8f6ee; color: #17663a; }
.form-msg.err { background: #fdecec; color: #9e2b2b; }

/* Contact */
.contact-list { list-style: none; display: grid; gap: 18px; margin-bottom: 26px; }
.contact-list li { background: var(--tint-2); border-radius: 12px; padding: 16px 20px; }
.contact-list li:nth-child(2n) { background: var(--tint-1); }
.contact-list span { display: block; font-family: var(--font-head); font-weight: 700; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; color: var(--navy); margin-bottom: 4px; }
.map-embed { border-radius: 12px; overflow: hidden; border: 1px solid var(--line); line-height: 0; }
.map-embed iframe { display: block; width: 100%; border: 0; }
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 40px; }
.team-card { display: flex; gap: 18px; align-items: flex-start; background: var(--white); border-radius: 14px; padding: 22px; }
.team-card:nth-child(3n+1) { background: var(--tint-1); }
.team-card:nth-child(3n+2) { background: var(--tint-2); }
.team-card:nth-child(3n+3) { background: var(--tint-3); }
.team-card img { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; }
.team-card h3 { font-size: 18px; }
.team-card a { display: block; font-size: 14.5px; }
.team-card .meta-line { margin-bottom: 6px; }

/* Newsletter band */
.newsletter-band { background: var(--blue); color: var(--white); padding: 60px 0; }
.newsletter-head { display: grid; gap: 8px; margin-bottom: 22px; }
.newsletter-band h2 { color: var(--white); font-size: clamp(24px, 2.6vw, 32px); }
.newsletter-band p { color: #e6f1fa; }
.newsletter-form { display: flex; flex-wrap: wrap; gap: 14px; align-items: flex-end; }
.newsletter-form .fld { flex: 1 1 200px; color: var(--white); }
.newsletter-form input, .newsletter-form select { border: 0; }
.newsletter-form .consent-line, .newsletter-form .captcha-note { flex-basis: 100%; color: #e6f1fa; }
.newsletter-form a { color: var(--white); text-decoration: underline; }
.newsletter-band .form-msg { margin: 0 0 18px; }

/* Footer */
.site-footer { background: var(--navy-dark); color: #c6d3e6; padding: 70px 0 30px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; }
.footer-brand img { width: 220px; }
.footer-legal { margin-top: 14px; font-size: 14px; }
.footer-social { display: flex; gap: 12px; margin-top: 18px; }
.footer-social a {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255,255,255,.1);
    color: #c6d3e6;
    padding: 0 !important;
}
.footer-social a:hover { background: var(--blue); color: var(--white); }
.footer-head { color: var(--white); margin-bottom: 14px; font-size: 16px; }
.site-footer a { display: block; color: #c6d3e6; padding: 4px 0; font-size: 15px; }
.site-footer p { font-size: 15px; padding: 4px 0; }
.site-footer a:hover { color: var(--sky); }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 14px; border-top: 1px solid rgba(255,255,255,.12); margin-top: 50px; padding-top: 24px; }
.footer-bottom p { font-size: 14px; }
.footer-credit a { display: inline; color: var(--sky); font-weight: 500; }

/* Prose */
.prose { max-width: 1100px; }
.prose p, .prose li { margin-bottom: 16px; color: var(--ink); font-size: 16.5px; }
.prose h2 { margin-top: 40px; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin: 28px 0 12px; font-size: 21px; }
.prose ul, .prose ol { padding-left: 22px; margin-bottom: 18px; }
.prose table { border-collapse: collapse; width: 100%; margin-bottom: 20px; }
.prose th, .prose td { border: 1px solid var(--line); padding: 10px 12px; text-align: left; }
.prose img { border-radius: 12px; margin: 10px 0 20px; }
.legal { max-width: 860px; }
.detail-img { width: 100%; max-height: 520px; object-fit: cover; border-radius: 14px; margin-bottom: 30px; }
.meta-line { color: var(--grey); font-size: 14.5px; margin-bottom: 20px; }

/* Quick Query */
.quick-query-tab {
    position: fixed;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    writing-mode: vertical-rl;
    z-index: 60;
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: var(--blue);
    color: var(--white);
    border: 0;
    cursor: pointer;
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 15px;
    padding: 16px 12px;
    border-radius: 10px 0 0 10px;
    box-shadow: -4px 0 18px rgba(12,37,80,.22);
}
.quick-query-tab:hover { background: var(--navy); }
.quick-query-tab svg { flex-shrink: 0; transform: rotate(-90deg); }
.quick-query-tab span { transform: rotate(180deg); }
.quick-query-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(12,37,80,.55);
    z-index: 70;
    align-items: center;
    justify-content: center;
    padding: 20px;
}
.quick-query-overlay.open { display: flex; }
.quick-query-panel {
    background: var(--white);
    border-radius: 16px;
    width: 100%;
    max-width: 480px;
    padding: 34px;
    position: relative;
    box-shadow: 0 24px 60px rgba(12,37,80,.3);
    max-height: 90vh;
    overflow-y: auto;
}
.quick-query-panel h2 { font-size: 24px; margin-bottom: 6px; }
.quick-query-sub { color: var(--grey); font-size: 15px; margin-bottom: 20px; }
.quick-query-close { position: absolute; top: 14px; right: 16px; background: none; border: 0; font-size: 30px; line-height: 1; color: var(--grey); cursor: pointer; padding: 4px 8px; }
.quick-query-form { display: grid; gap: 14px; }
.quick-query-form textarea { min-height: 100px; }
.quick-query-form .btn { justify-self: start; }
.quick-query-status { display: none; padding: 12px 16px; border-radius: 10px; font-weight: 500; font-size: 14.5px; margin-bottom: 18px; }
.quick-query-status.ok { display: block; background: #e8f6ee; color: #17663a; }
.quick-query-status.err { display: block; background: #fdecec; color: #9e2b2b; }

/* Cookie bar */
.cookie-bar { position: fixed; left: 20px; right: 20px; bottom: 20px; z-index: 80; max-width: 760px; margin: 0 auto; background: var(--navy-dark); color: #dbe7f5; border-radius: 14px; padding: 18px 22px; display: flex; gap: 18px; align-items: center; justify-content: space-between; flex-wrap: wrap; box-shadow: 0 16px 40px rgba(12,37,80,.3); }
.cookie-bar[hidden] { display: none; }
.cookie-bar p { font-size: 14.5px; flex: 1 1 300px; }
.cookie-bar a { color: var(--sky); }

/* Split sections with images */
.split { display: grid; grid-template-columns: 1.15fr .85fr; gap: 60px; align-items: center; }
.split > .prose:only-child { grid-column: 1 / -1; }
.split.reverse > .prose { order: 2; }
.split-img img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 18px; box-shadow: 0 24px 50px rgba(12,37,80,.16); }
.two-col > .split-img { align-self: stretch; }
.point-list { list-style: none; display: grid; gap: 12px; margin-top: 24px; }
.point-list li { position: relative; padding: 12px 16px 12px 46px; border-radius: 12px; background: var(--tint-1); color: var(--navy); font-weight: 500; }
.point-list li:nth-child(3n+2) { background: var(--tint-2); }
.point-list li:nth-child(3n+3) { background: var(--tint-3); }
.point-list li::before { content: ""; position: absolute; left: 16px; top: 50%; width: 16px; height: 16px; margin-top: -8px; border-radius: 50%; border: 4px solid var(--blue); }

/* Motion */
@keyframes rise { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
@keyframes spin { to { transform: rotate(360deg); } }
.hero, .page-hero { position: relative; overflow: hidden; background-size: cover; background-position: center; }
.hero .container, .page-hero .container { position: relative; z-index: 1; }
.hero > .container > *, .page-hero > .container > * { animation: rise .85s cubic-bezier(.2,.7,.2,1) both; }
.hero > .container > :nth-child(2), .page-hero > .container > :nth-child(2) { animation-delay: .12s; }
.hero > .container > :nth-child(3), .page-hero > .container > :nth-child(3) { animation-delay: .24s; }
.hero > .container > :nth-child(4) { animation-delay: .36s; }
.hero::after {
    content: "";
    position: absolute;
    right: -150px;
    top: 50%;
    width: 560px;
    height: 560px;
    margin-top: -280px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200'%3E%3Cg fill='none' stroke='%23ffffff' stroke-linecap='round'%3E%3Ccircle cx='100' cy='100' r='94' stroke-width='4' stroke-dasharray='430 160'/%3E%3Ccircle cx='100' cy='100' r='80' stroke-width='9' stroke-dasharray='380 123'/%3E%3Ccircle cx='100' cy='100' r='64' stroke-width='4' stroke-dasharray='300 102'/%3E%3Ccircle cx='100' cy='100' r='50' stroke-width='8'/%3E%3C/g%3E%3C/svg%3E") no-repeat center / contain;
    opacity: .14;
    animation: spin 120s linear infinite;
    pointer-events: none;
}
.page-hero[style] { padding: 120px 0; }
/* Flow lines on inner page banners */
.page-hero[style]::before { content: ""; position: absolute; top: 0; right: 0; bottom: 0; left: 0; background: linear-gradient(90deg, rgba(12,37,80,0) 35%, rgba(12,37,80,.74) 100%); }
.flow-lines { position: absolute; right: 0; top: 0; width: 58%; height: 100%; pointer-events: none; }
.flow-lines path { fill: none; stroke-linecap: round; stroke-linejoin: round; }
.flow-lines .fl { stroke: #55a9dc; stroke-width: 2.5; opacity: .6; stroke-dasharray: 1; stroke-dashoffset: 0; animation: fl-draw 2.2s ease-out both; }
.flow-lines .fp { stroke: #d6ecf9; stroke-width: 3.5; stroke-dasharray: .07 .93; stroke-dashoffset: 1; opacity: 0; animation: fl-pulse 5.5s linear 2.4s infinite; }
.flow-lines circle { fill: #0c2550; stroke: #55a9dc; stroke-width: 2.5; animation: fl-node .6s ease-out 1.5s both; }
@keyframes fl-draw { from { stroke-dashoffset: 1; } }
@keyframes fl-pulse { 0% { stroke-dashoffset: 1; opacity: 0; } 8%, 62% { opacity: .9; } 72%, 100% { stroke-dashoffset: 0; opacity: 0; } }
@keyframes fl-node { from { opacity: 0; } }

/* How CIPP Works */
.process { background: var(--bg-soft); }
.process-sticky { padding: 40px 0; }
.process .container { max-width: min(1200px, max(640px, calc((100vh - 436px) * 3 + 48px))); }
.process-head { text-align: center; }
.process-head .lead { margin: 0 auto; }
.process-head h2 { font-size: clamp(28px, 3.4vw, 40px); margin-bottom: 12px; }
.proc { display: block; width: 100%; height: auto; border-radius: 18px; margin-top: 22px; }
.process-steps { list-style: none; display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; margin-top: 18px; }
.process-step { width: 100%; display: flex; align-items: center; gap: 10px; padding: 10px 14px; border: 0; border-radius: 40px; background: var(--white); color: var(--navy); font-family: var(--font-head); font-weight: 700; font-size: 14.5px; cursor: pointer; text-align: left; transition: background .25s, color .25s; }
.process-step b { flex-shrink: 0; width: 28px; height: 28px; border-radius: 50%; background: var(--tint-1); display: grid; place-items: center; font-size: 13.5px; transition: background .25s, color .25s; }
.process-step.active { background: var(--navy); color: var(--white); }
.process-step.active b { background: var(--sky); color: var(--navy-dark); }
.process-texts { margin-top: 14px; min-height: 56px; text-align: center; }
.process-text { color: var(--grey); font-size: 16.5px; max-width: 900px; margin: 0 auto 10px; }
.process-text strong { color: var(--navy); }
.js .process-text { display: none; margin: 0 auto; }
.js .process-text.active { display: block; animation: rise .5s ease both; }
.proc .liner, .proc .cam, .proc .uv, .proc .rig, .proc .cracks, .proc .drips, .proc .marks, .proc .newbore, .proc .reopen, .proc .water { transition: opacity .7s ease, transform 1.5s cubic-bezier(.3,.6,.2,1), fill .9s ease, stroke .9s ease; }
.proc .liner { transform-box: fill-box; transform-origin: 0 50%; transform: scale(0, .2); }
.proc.s1 .liner { transform: scale(1, .2); }
.proc.s2 .liner { transform: scale(1, 1); }
.proc.is-3 .liner { fill: #f8cf7a; stroke: #e09a1c; }
.proc.s4 .liner { fill: #2b7fc2; stroke: #2b7fc2; }
.proc .newbore, .proc .reopen, .proc .water, .proc .uv, .proc .rig, .proc .cam, .proc .marks { opacity: 0; }
.proc.s4 .newbore, .proc.s4 .water { opacity: 1; }
.proc.s4 .reopen { opacity: 1; transition-delay: .9s; }
.proc.s4 .water path { animation: proc-flow 1s linear infinite; }
.proc.s2 .cracks { opacity: .22; }
.proc.s2 .drips { opacity: 0; }
.proc .drips circle { animation: proc-drip 1.7s ease-in infinite; }
.proc .drips .d2 { animation-delay: .6s; }
.proc .drips .d3 { animation-delay: 1.1s; }
.proc.is-0 .cam { opacity: 1; animation: proc-crawl 7s ease-in-out infinite alternate; }
.proc.is-0 .marks { opacity: 1; }
.proc.is-0 .marks circle { transform-box: fill-box; transform-origin: center; animation: proc-ping 1.6s ease-in-out infinite; }
.proc.s1 .rig { opacity: 1; }
.proc.s4 .rig { opacity: 0; }
.proc.is-3 .uv { opacity: 1; animation: proc-train 3.4s linear infinite; }
.proc .car-a { animation: proc-drive 12s linear infinite; }
.proc .car-b { animation: proc-drive 17s linear -6s infinite; }
@keyframes proc-drive { from { transform: translateX(-140px); } to { transform: translateX(1300px); } }
@keyframes proc-crawl { from { transform: translateX(0); } to { transform: translateX(680px); } }
@keyframes proc-train { from { transform: translateX(0); } to { transform: translateX(760px); } }
@keyframes proc-flow { to { stroke-dashoffset: -38; } }
@keyframes proc-drip { 0% { transform: translateY(0); opacity: 1; } 100% { transform: translateY(46px); opacity: 0; } }
@keyframes proc-ping { 50% { transform: scale(1.25); opacity: .5; } }
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .75s cubic-bezier(.2,.7,.2,1); transition-delay: var(--d, 0s); }
.js .reveal.in { opacity: 1; transform: none; }
.card-img { overflow: hidden; }
.card-img img { transition: transform .7s cubic-bezier(.2,.7,.2,1); }
.card:hover .card-img img { transform: scale(1.06); }
.btn { transition: background .2s, transform .2s, box-shadow .2s; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 22px rgba(12,37,80,.18); }
.site-header { transition: box-shadow .3s; }
.site-header.scrolled { box-shadow: 0 8px 26px rgba(12,37,80,.09); }
.faq-item, .team-card, .spec-item { transition: transform .25s, box-shadow .25s; }
.team-card:hover, .spec-item:hover { transform: translateY(-3px); box-shadow: 0 12px 26px rgba(12,37,80,.1); }
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition: none !important; }
    .js .reveal { opacity: 1; transform: none; }
}
@media (max-width: 980px) {
    .split { grid-template-columns: 1fr; gap: 36px; }
    .split.reverse > .prose { order: 0; }
    .hero::after { width: 360px; height: 360px; margin-top: -180px; right: -170px; }
    .flow-lines { width: 80%; opacity: .55; }
    .process-steps { grid-template-columns: repeat(5, auto); justify-content: start; }
    .process-step span { display: none; }
    .process-step.active span { display: inline; }
    .process-step { padding: 8px; }
    .process-step.active { padding-right: 16px; }
}

@media (max-width: 1080px) {
    .main-nav { gap: 16px; }
    .main-nav > a:not(.btn), .nav-drop > a { font-size: 14px; }
}
@media (max-width: 980px) {
    .two-col, .footer-grid { grid-template-columns: 1fr; gap: 40px; }
    .card-grid, .spec-grid, .team-grid { grid-template-columns: 1fr 1fr; }
    .stats-grid { grid-template-columns: 1fr 1fr; }
    .main-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        align-items: flex-start;
        gap: 14px;
        padding: 20px 24px 26px;
        border-bottom: 1px solid var(--line);
        max-height: calc(100vh - 70px);
        overflow-y: auto;
    }
    .main-nav.open { display: flex; }
    .main-nav > a:not(.btn), .nav-drop > a { font-size: 16px; }
    .nav-toggle { display: block; }
    .nav-drop { flex-wrap: wrap; width: 100%; }
    .nav-drop:hover .drop-menu, .nav-drop:focus-within .drop-menu { display: none; }
    .nav-drop.open .drop-menu { display: block; }
    .drop-menu { position: static; flex-basis: 100%; box-shadow: none; border: 0; padding: 6px 0 0 14px; min-width: 0; }
}
@media (max-width: 620px) {
    .card-grid, .spec-grid, .form-grid, .team-grid { grid-template-columns: 1fr; }
    .section { padding: 60px 0; }
    .hero { padding: 70px 0 80px; }
    .page-hero { padding: 56px 0; }
    .process-sticky { padding: 50px 0; }
    .process-steps { justify-content: center; }
    .proc { border-radius: 12px; }
    .process-texts { min-height: 110px; }
    .quick-query-tab {
        writing-mode: horizontal-tb;
        top: auto;
        bottom: 18px;
        right: 18px;
        transform: none;
        width: 54px;
        height: 54px;
        padding: 0;
        border-radius: 50%;
    }
    .quick-query-tab span { display: none; }
    .quick-query-tab svg { transform: none; }
    .cookie-bar { bottom: 84px; }
}
