@import url('https://fonts.googleapis.com/css2?family=Exo+2:wght@500;600;700&family=Inter:wght@400;500;600;700&display=swap');

:root {
  --ink: #10212c;
  --muted: #5d6b74;
  --line: #dce4e8;
  --surface: #f4f7f8;
  --white: #fff;
  --brand: #009ed3;
  --brand-dark: #007ca9;
  --navy: #102d3d;
  --radius: 18px;
  --shadow: 0 18px 45px rgba(10, 40, 56, .12);
  --container: min(1180px, calc(100% - 40px));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--white); font: 16px/1.72 Inter, Arial, sans-serif; }
img { max-width: 100%; height: auto; }
a { color: inherit; }
.container { width: var(--container); margin-inline: auto; }
.skip-link { position: fixed; left: 16px; top: -80px; z-index: 999; padding: 10px 16px; background: var(--ink); color: white; }
.skip-link:focus { top: 16px; }
.topline { background: var(--navy); color: #d7e7ee; font-size: 13px; }
.topline-inner { min-height: 36px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.topline-inner > div { display: flex; flex-wrap: wrap; justify-content: flex-end; }
.topline a { text-decoration: none; margin-left: 22px; }
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.97); box-shadow: 0 1px 0 rgba(16,45,61,.12); backdrop-filter: blur(10px); }
.nav-shell { min-height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand img { display: block; width: 220px; max-height: 64px; object-fit: contain; }
.main-nav { display: flex; align-items: center; gap: 4px; }
.main-nav > a { color: var(--ink); padding: 13px 10px; font: 600 13px Inter, sans-serif; text-decoration: none; border-radius: 10px; white-space: nowrap; }
.main-nav > a:hover, .main-nav > a[aria-current] { color: var(--brand-dark); background: #edf8fc; }
.main-nav .nav-cta { margin-left: 8px; color: white; background: var(--brand); padding-inline: 20px; }
.main-nav .nav-cta:hover, .main-nav .nav-cta[aria-current] { color: white; background: var(--brand-dark); }
.nav-toggle { display: none; }

h1, h2, h3 { margin: 0 0 .6em; font-family: "Exo 2", Inter, sans-serif; line-height: 1.12; letter-spacing: -.025em; }
h1 { font-size: clamp(38px, 5vw, 70px); }
h2 { font-size: clamp(28px, 3.2vw, 44px); }
h3 { font-size: 22px; }
p { margin: 0 0 1.15em; }
.eyebrow { margin-bottom: 14px; color: var(--brand-dark); font-size: 12px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 12px 22px; border: 1px solid transparent; border-radius: 11px; font-weight: 700; text-decoration: none; cursor: pointer; transition: transform .18s ease, background .18s ease, border .18s ease; }
.button:hover { transform: translateY(-2px); }
.button.primary { color: white; background: var(--brand); }
.button.primary:hover { background: var(--brand-dark); }
.button.secondary { color: white; border-color: rgba(255,255,255,.55); background: rgba(255,255,255,.08); }
.button.outline { color: var(--brand-dark); border-color: #9bcfe0; background: white; }
.text-link { color: var(--brand-dark); font-weight: 700; text-decoration: none; }
.text-link span { display: inline-block; transition: transform .18s ease; }
.text-link:hover span { transform: translateX(4px); }

.hero { position: relative; min-height: 720px; display: grid; align-items: center; overflow: hidden; color: white; background: var(--navy); }
.hero-media { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8,34,48,.95) 0%, rgba(8,34,48,.82) 45%, rgba(8,34,48,.24) 100%), url('../images/hero-schroedahl-valves.png') center/cover no-repeat; transform: scale(1.02); }
.hero-inner { position: relative; padding-block: 110px 80px; }
.hero h1 { max-width: 900px; }
.hero .eyebrow { color: #7ee0ff; }
.hero-lead { max-width: 690px; color: #d7e6ed; font-size: 19px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero-stats { display: flex; flex-wrap: wrap; gap: 54px; margin-top: 76px; padding-top: 28px; border-top: 1px solid rgba(255,255,255,.22); }
.hero-stats div { display: grid; gap: 2px; }
.hero-stats strong { color: #7ee0ff; font: 700 34px "Exo 2", sans-serif; }
.hero-stats span { color: #d7e6ed; font-size: 13px; text-transform: uppercase; letter-spacing: .08em; }

.section { padding: 100px 0; }
.section-muted { background: var(--surface); }
.partner-news { padding-top: 54px; padding-bottom: 0; }
.partner-panel { display: flex; align-items: center; justify-content: space-between; gap: 44px; padding: 34px 42px; background: #eef8fb; border: 1px solid #cfe8f0; border-radius: var(--radius); }
.partner-panel h2 { font-size: 30px; }
.partner-panel p:last-child { margin-bottom: 0; }
.partner-logos { display: flex; align-items: center; gap: 32px; flex: 0 0 auto; }
.partner-logos img { max-width: 150px; max-height: 55px; object-fit: contain; }
.section-heading { display: grid; grid-template-columns: 1.4fr .8fr; align-items: end; gap: 60px; margin-bottom: 42px; }
.section-heading > p { color: var(--muted); }
.brand-service-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.brand-service-card { overflow: hidden; background: white; border: 1px solid var(--line); border-radius: var(--radius); transition: transform .2s ease, box-shadow .2s ease; }
.brand-service-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.brand-service-logo { display: flex; height: 178px; align-items: center; justify-content: center; padding: 24px; text-decoration: none; }
.brand-service-logo.light { background: #f7fafb; }
.brand-service-logo.dark { background: var(--navy); }
.brand-service-logo.product-logo { background: linear-gradient(145deg, #eef4f6, #dce7eb); }
.brand-service-logo img { width: auto; max-width: 88%; max-height: 124px; object-fit: contain; }
.brand-service-logo.wide-logo img { max-height: 82px; }
.brand-service-logo.dual-logo { flex-direction: column; gap: 22px; }
.brand-service-logo.dual-logo img { max-width: 78%; max-height: 48px; }
.brand-service-logo.product-logo img { max-width: 95%; max-height: 150px; }
.brand-service-card > div { padding: 24px; }
.brand-service-card > div > span { color: var(--brand-dark); font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.brand-service-card h3 { margin-top: 8px; }
.brand-service-card h3 a { text-decoration: none; }
.brand-service-card p { color: var(--muted); font-size: 14px; }
.service-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.service-card { overflow: hidden; background: white; border: 1px solid var(--line); border-radius: var(--radius); transition: transform .2s ease, box-shadow .2s ease; }
.service-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.card-image { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: #eef2f4; }
.card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.service-card:hover .card-image img { transform: scale(1.04); }
.card-body { padding: 22px; }
.card-body > span { color: var(--brand-dark); font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; }
.card-body h3 { margin-top: 8px; font-size: 21px; }
.card-body h3 a { text-decoration: none; }
.card-body p { color: var(--muted); font-size: 14px; }
.section-action { margin-top: 36px; text-align: center; }
.split { display: grid; grid-template-columns: .9fr 1.1fr; gap: 90px; align-items: start; }
.split > div:first-child > p:not(.eyebrow) { color: var(--muted); }
.about-home { display: grid; grid-template-columns: 1.25fr .75fr; gap: 80px; align-items: center; }
.about-home > div:first-child > p:not(.eyebrow) { color: var(--muted); }
.home-volume { display: grid; padding: 34px; color: white; background: var(--navy); border-radius: var(--radius); box-shadow: var(--shadow); }
.home-volume strong { color: #7ee0ff; font: 700 clamp(34px, 5vw, 54px) "Exo 2", sans-serif; line-height: 1; }
.home-volume span { margin: 7px 0 28px; color: #d7e6ed; }
.home-volume span:last-child { margin-bottom: 0; }
.home-work-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.home-work-grid article { padding: 26px; background: white; border: 1px solid var(--line); border-radius: 14px; }
.home-work-grid article > span { display: inline-block; margin-bottom: 20px; color: var(--brand); font: 700 22px "Exo 2", sans-serif; }
.home-work-grid h3 { font-size: 21px; }
.home-work-grid p { margin-bottom: 0; color: var(--muted); font-size: 14px; }
.capability-list { display: grid; gap: 14px; }
.capability-list article { display: grid; grid-template-columns: 50px 1fr; gap: 18px; padding: 24px; background: white; border-radius: 14px; border: 1px solid var(--line); }
.capability-list article > span { color: var(--brand); font: 700 22px "Exo 2", sans-serif; }
.capability-list h3 { margin-bottom: 6px; }
.capability-list p { margin: 0; color: var(--muted); }
.certificate-panel { display: flex; align-items: center; justify-content: space-between; gap: 50px; padding: 42px; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.download-actions { display: flex; flex-wrap: wrap; gap: 12px; }

.page-hero { color: white; background: linear-gradient(115deg, #0d2c3c, #15556b); }
.page-hero.compact { padding: 42px 0 38px; }
.page-hero h1 { max-width: 980px; margin-bottom: 8px; font-size: clamp(32px, 4vw, 48px); }
.page-hero p:last-child { max-width: 760px; margin-bottom: 0; color: #cee0e7; font-size: 17px; }
.page-hero .eyebrow { color: #78ddff; font-size: 12px; }
.content-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 68px; align-items: start; }
.prose { min-width: 0; font-size: 17px; }
.prose h2, .prose h3, .prose h4 { margin-top: 1.6em; }
.prose h2 { font-size: 32px; }
.prose h3 { font-size: 24px; }
.prose p { text-align: left !important; }
.prose img { display: block; max-width: min(100%, 680px); margin: 28px auto; border-radius: 12px; }
.prose img.media-left { float: left; max-width: 38%; margin: 8px 28px 20px 0; }
.prose img.media-right { float: right; max-width: 38%; margin: 8px 0 20px 28px; }
.prose table { width: 100%; border-collapse: collapse; margin: 26px 0; font-size: 15px; }
.prose td, .prose th { padding: 12px 14px; border: 1px solid var(--line); vertical-align: top; }
.prose tr:nth-child(even) { background: var(--surface); }
.prose a { color: var(--brand-dark); }
.prose::after { content: ""; display: block; clear: both; }
.notice { padding: 22px 24px; background: #eef8fb; border-left: 4px solid var(--brand); border-radius: 10px; }
.notice p { margin: 8px 0 0; }
.docx-page { display: grid; gap: 72px; }
.docx-page h2 { font-size: clamp(28px, 3.2vw, 40px); }
.content-kicker { display: inline-block; margin-bottom: 10px; color: var(--brand-dark); font-size: 11px; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.intro-panel { padding: 36px 40px; background: linear-gradient(135deg, #eef8fb, #f8fbfc); border: 1px solid #cee7ef; border-radius: var(--radius); }
.intro-panel::after { content: ""; display: block; clear: both; }
.intro-brand { display: flex; width: 240px; min-height: 112px; float: right; align-items: center; justify-content: center; margin: 0 0 22px 32px; padding: 18px; border-radius: 13px; }
.intro-brand.light { background: white; border: 1px solid var(--line); }
.intro-brand.dark { background: var(--navy); }
.intro-brand.dual { flex-direction: column; gap: 16px; }
.prose .intro-brand img { width: auto; max-width: 92%; max-height: 92px; margin: 0; border-radius: 0; object-fit: contain; box-shadow: none; }
.prose .intro-brand.wide img { max-height: 68px; }
.prose .intro-brand.dual img { max-height: 38px; }
.intro-panel > p:not(.lead-callout) { color: #41545f; }
.lead-callout { margin: 28px 0 0; padding: 19px 22px; color: var(--navy); background: white; border-left: 4px solid var(--brand); border-radius: 10px; font: 700 19px/1.5 "Exo 2", sans-serif; }
.content-section { display: grid; gap: 22px; }
.content-section > h2 { margin-bottom: 0; }
.product-section { display: grid; grid-template-columns: minmax(260px, .8fr) minmax(0, 1.2fr); gap: 52px; align-items: center; padding-top: 60px; border-top: 1px solid var(--line); }
.product-section.reverse { grid-template-columns: minmax(0, 1.2fr) minmax(260px, .8fr); }
.product-section.reverse .product-media { order: 2; }
.product-section.reverse .product-copy { order: 1; }
.product-media { display: grid; place-items: center; min-height: 280px; padding: 26px; background: #f7fafb; border: 1px solid var(--line); border-radius: var(--radius); }
.prose .product-media img { max-width: 100%; max-height: 390px; margin: 0; object-fit: contain; box-shadow: none; }
.product-copy > p { color: #465862; }
.feature-list { display: grid; gap: 9px; margin: 22px 0 0; padding: 0; list-style: none; }
.feature-list li { position: relative; padding-left: 26px; }
.feature-list li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--brand); font-weight: 800; }
.table-scroll { max-width: 560px; overflow-x: auto; margin: 24px 0; }
.prose .spec-table { width: 100%; min-width: 0; margin: 0; table-layout: fixed; }
.spec-table th, .spec-table td { padding: 10px 12px; overflow-wrap: anywhere; }
.spec-table th:first-child, .spec-table td:first-child { width: 40%; }
.spec-table th { color: white; background: var(--navy); }
.feature-band { grid-template-columns: .7fr 1.3fr; gap: 52px; padding: 36px; background: var(--navy); border-radius: var(--radius); }
.feature-band h2, .feature-band p, .feature-band li { color: white; }
.feature-band .content-kicker { color: #7ee0ff; }
.feature-band .feature-list li::before { color: #7ee0ff; }
.product-card-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.product-card-large { display: grid; grid-template-columns: 170px 1fr; gap: 22px; align-items: center; padding: 22px; border: 1px solid var(--line); border-radius: 14px; }
.product-card-image { display: grid; place-items: center; min-height: 160px; padding: 12px; background: #f7fafb; border-radius: 10px; }
.prose .product-card-image img { max-height: 170px; margin: 0; object-fit: contain; }
.product-card-large h3 { margin-top: 0; }
.product-card-large .feature-list { font-size: 14px; }
.capability-card-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.capability-card { padding: 24px; background: #f7fafb; border: 1px solid var(--line); border-radius: 14px; }
.capability-card h3 { margin-top: 0; }
.contact-strip { display: flex; align-items: center; justify-content: space-between; gap: 36px; padding: 34px; color: white; background: linear-gradient(120deg, var(--navy), #14536a); border-radius: var(--radius); }
.contact-strip h2 { margin-bottom: 7px; color: white; }
.contact-strip p { margin: 0; color: #d7e6ed; }
.contact-strip > div:last-child { display: grid; gap: 7px; text-align: right; }
.contact-strip a { color: #7ee0ff; font-weight: 700; text-decoration: none; }
.stacked-media { gap: 18px; }
.prose .stacked-media img { width: 100%; max-height: 330px; }
.process-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.process-grid article { padding: 26px; background: #f7fafb; border: 1px solid var(--line); border-radius: 14px; }
.process-grid h3 { margin-top: 0; }
.process-grid ol { display: grid; gap: 10px; padding-left: 22px; }
.side-cta { position: sticky; top: 140px; padding: 30px; color: white; background: var(--navy); border-radius: var(--radius); }
.side-cta > span { color: #7ee0ff; font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; }
.side-cta h2 { margin-top: 10px; font-size: 26px; }
.side-cta p { color: #d1e0e7; font-size: 14px; }
.side-cta .button { width: 100%; margin: 12px 0 18px; }
.side-phones { display: grid; gap: 4px; text-align: center; }
.side-phones a { color: #7ee0ff; font-weight: 700; text-decoration: none; }

.contact-layout { display: grid; grid-template-columns: 340px minmax(0, 1fr); gap: 50px; align-items: start; }
.contact-card { padding: 30px; color: white; background: var(--navy); border-radius: var(--radius); }
.contact-card h2 { font-size: 27px; }
.contact-card dl { margin: 28px 0; }
.contact-card dl div { padding: 16px 0; border-top: 1px solid rgba(255,255,255,.15); }
.contact-card dt { color: #86dfff; font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.contact-card dd { margin: 4px 0 0; }
.contact-card a { color: white; text-decoration: none; }
.form-panel { padding: 36px; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.form-panel > p { color: var(--muted); }
.embedded-map { margin-top: 50px; padding-top: 32px; border-top: 1px solid var(--line); }
.embedded-map h3 { margin: 0 0 16px; }
.map-frame { display: block; width: 100%; height: 440px; margin-bottom: 14px; border: 0; border-radius: 12px; background: #eef3f5; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin: 28px 0 22px; }
.form-grid label { display: grid; gap: 7px; color: var(--ink); font-size: 14px; font-weight: 700; }
.form-grid label > span { color: var(--brand-dark); }
.form-grid .wide { grid-column: 1 / -1; }
input, textarea { width: 100%; padding: 12px 13px; color: var(--ink); background: white; border: 1px solid #b9c7ce; border-radius: 9px; font: inherit; }
input:focus, textarea:focus { outline: 3px solid rgba(0,158,211,.16); border-color: var(--brand); }
.consent { display: flex !important; grid-template-columns: auto 1fr; align-items: start; font-weight: 500 !important; }
.consent input { width: 18px; margin-top: 5px; }
.honeypot { position: absolute; left: -9999px; }
.form-status { margin-top: 18px; padding: 13px 16px; border-radius: 8px; }
.form-status.success { color: #155f37; background: #e4f7eb; }
.form-status.error { color: #8a2323; background: #fdecec; }

.site-footer { padding-top: 66px; color: #cfe0e7; background: #0a222f; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr .8fr; gap: 60px; padding-bottom: 46px; }
.footer-grid img { width: 220px; padding: 8px; background: white; border-radius: 8px; }
.footer-grid p { max-width: 400px; }
.footer-grid h2 { color: white; font-size: 17px; }
.footer-grid > div:last-child { display: grid; align-content: start; gap: 8px; }
.footer-grid a { color: #cfe0e7; text-decoration: none; }
.footer-grid a:hover { color: #7ee0ff; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; padding-block: 20px; border-top: 1px solid rgba(255,255,255,.12); font-size: 13px; }
.footer-bottom a { color: inherit; text-decoration: none; }

@media (max-width: 1000px) {
  .brand-service-grid, .home-work-grid { grid-template-columns: repeat(2, 1fr); }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .content-layout { grid-template-columns: 1fr; }
  .side-cta { position: static; }
  .split { gap: 50px; }
  .about-home { gap: 42px; }
}

@media (max-width: 1060px) {
  .topline span { display: none; }
  .topline-inner { justify-content: flex-end; }
  .brand img { width: 210px; }
  .nav-toggle { display: grid; width: 48px; height: 44px; place-content: center; gap: 5px; border: 0; border-radius: 8px; background: var(--surface); cursor: pointer; }
  .nav-toggle span { display: block; width: 22px; height: 2px; background: var(--ink); }
  .nav-toggle b { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .main-nav { position: absolute; left: 20px; right: 20px; top: 112px; display: none; align-items: stretch; padding: 12px; background: white; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); }
  .main-nav.open { display: grid; }
  .main-nav > a { width: 100%; text-align: left; }
  .main-nav .nav-cta { margin: 6px 0 0; text-align: center; }
  .hero { min-height: 650px; }
  .hero-media { background: linear-gradient(90deg, rgba(8,34,48,.97), rgba(8,34,48,.68)), url('../images/hero-schroedahl-valves.png') 70% center/cover no-repeat; }
  .partner-panel, .certificate-panel { align-items: flex-start; flex-direction: column; }
  .section-heading, .split, .about-home, .contact-layout { grid-template-columns: 1fr; }
  .section-heading { gap: 12px; }
}

@media (max-width: 580px) {
  :root { --container: min(100% - 28px, 1180px); }
  .topline a { margin-left: 12px; font-size: 12px; }
  .nav-shell { min-height: 74px; }
  .brand img { width: 175px; }
  .main-nav { top: 102px; left: 14px; right: 14px; }
  .hero { min-height: 620px; }
  .hero-inner { padding-block: 82px 58px; }
  .hero-stats { gap: 24px; margin-top: 50px; }
  .hero-stats div { min-width: 120px; }
  .section { padding: 72px 0; }
  .service-grid { grid-template-columns: 1fr; }
  .brand-service-grid, .home-work-grid { grid-template-columns: 1fr; }
  .partner-panel, .certificate-panel, .form-panel { padding: 24px; }
  .partner-logos { flex-wrap: wrap; }
  .page-hero.compact { padding: 34px 0 32px; }
  .form-grid { grid-template-columns: 1fr; }
  .form-grid .wide { grid-column: auto; }
  .map-frame { height: 320px; }
  .prose img.media-left, .prose img.media-right { float: none; max-width: 100%; margin: 24px auto; }
  .docx-page { gap: 52px; }
  .intro-panel { padding: 26px; }
  .intro-brand { width: 100%; min-height: 104px; float: none; margin: 0 0 24px; }
  .product-section, .product-section.reverse { grid-template-columns: 1fr; gap: 28px; padding-top: 42px; }
  .product-section.reverse .product-media, .product-section.reverse .product-copy { order: initial; }
  .feature-band, .product-card-grid, .capability-card-grid, .process-grid { grid-template-columns: 1fr; }
  .product-card-large { grid-template-columns: 130px 1fr; }
  .contact-strip { align-items: flex-start; flex-direction: column; }
  .contact-strip > div:last-child { text-align: left; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; }
}
