:root {
  --ink: #15191d;
  --ink-2: #22282e;
  --muted: #67717a;
  --line: #dfe3e6;
  --paper: #f4f3ef;
  --white: #ffffff;
  --orange: #e7651b;
  --orange-2: #ff7a24;
  --green: #1d7565;
  --max: 1180px;
  --shadow: 0 18px 50px rgba(14, 20, 24, .12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.6;
}
body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
.container { width: min(var(--max), calc(100% - 40px)); margin-inline: auto; }
.eyebrow {
  margin: 0 0 12px;
  color: var(--orange);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
}
h1, h2, h3 { margin: 0; line-height: 1.08; letter-spacing: -.035em; }
h1 { font-size: clamp(42px, 6vw, 78px); }
h2 { font-size: clamp(32px, 4vw, 52px); }
h3 { font-size: 23px; }
p { margin: 0 0 20px; }
.lead { max-width: 760px; color: var(--muted); font-size: clamp(18px, 2vw, 22px); }
.section { padding: 100px 0; }
.section-dark { color: var(--white); background: var(--ink); }
.section-head { display: flex; justify-content: space-between; gap: 40px; align-items: end; margin-bottom: 46px; }
.section-head p { max-width: 540px; margin: 0; color: var(--muted); }
.section-dark .section-head p { color: #aab2b8; }
.skip-link { position: fixed; z-index: 1000; top: 10px; left: 10px; transform: translateY(-160%); padding: 10px 14px; background: var(--white); }
.skip-link:focus { transform: none; }

.site-header { position: sticky; z-index: 100; top: 0; color: var(--white); background: rgba(21, 25, 29, .96); border-bottom: 1px solid rgba(255,255,255,.1); backdrop-filter: blur(14px); }
.header-row { min-height: 78px; display: flex; align-items: center; gap: 28px; }
.brand { display: flex; align-items: center; gap: 12px; flex: 0 0 auto; }
.brand-logo { width: 44px; height: 44px; flex: 0 0 auto; object-fit: contain; filter: drop-shadow(0 3px 8px rgba(0,0,0,.28)); }
.brand-text strong { display: block; font-size: 16px; letter-spacing: .03em; }
.brand-text span { display: block; color: #aeb6bc; font-size: 10px; line-height: 1.2; }
.main-nav { margin-left: auto; }
.nav-list { display: flex; align-items: center; gap: 22px; margin: 0; padding: 0; list-style: none; }
.nav-list a { color: #d9dde0; font-size: 14px; font-weight: 700; white-space: nowrap; }
.nav-list a:hover, .nav-list a[aria-current="page"] { color: var(--orange-2); }
.header-contact { display: flex; align-items: center; gap: 14px; }
.phone { font-size: 14px; font-weight: 800; white-space: nowrap; }
.menu-toggle { display: none; width: 44px; height: 44px; color: var(--white); background: none; border: 1px solid rgba(255,255,255,.25); cursor: pointer; }
.menu-toggle span, .menu-toggle::before, .menu-toggle::after { display: block; width: 20px; height: 2px; margin: 4px auto; content: ""; background: currentColor; transition: .2s ease; }
.menu-open .menu-toggle span { opacity: 0; }
.menu-open .menu-toggle::before { transform: translateY(6px) rotate(45deg); }
.menu-open .menu-toggle::after { transform: translateY(-6px) rotate(-45deg); }

.btn { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; gap: 9px; padding: 12px 20px; color: var(--white); background: var(--orange); border: 1px solid var(--orange); font-size: 14px; font-weight: 800; cursor: pointer; transition: .2s ease; }
.btn:hover { background: var(--orange-2); border-color: var(--orange-2); transform: translateY(-2px); }
.btn-ghost { background: transparent; border-color: rgba(255,255,255,.35); }
.btn-ghost:hover { background: rgba(255,255,255,.08); border-color: var(--white); }
.btn-dark { background: var(--ink); border-color: var(--ink); }

.hero { min-height: 720px; display: grid; align-items: center; position: relative; color: var(--white); overflow: hidden; background: var(--ink); }
.hero::before { position: absolute; inset: 0; content: ""; background: linear-gradient(90deg, rgba(16,19,22,.96) 0%, rgba(16,19,22,.77) 42%, rgba(16,19,22,.1) 76%), url('offshore-rig.jpg') center/cover no-repeat; }
.hero::after { position: absolute; bottom: 0; left: 0; width: 33%; height: 8px; content: ""; background: var(--orange); }
.hero-content { position: relative; z-index: 1; max-width: 720px; padding: 95px 0; }
.hero h1 { margin-bottom: 24px; }
.hero .lead { color: #c8ced2; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 34px; }
.hero-meta { display: flex; gap: 34px; margin-top: 62px; }
.hero-meta div { padding-left: 14px; border-left: 2px solid var(--orange); }
.hero-meta strong { display: block; font-size: 19px; }
.hero-meta span { color: #aeb6bc; font-size: 13px; }

.page-hero { padding: 88px 0 70px; color: var(--white); background: linear-gradient(135deg, var(--ink), #2c3339); }
.breadcrumbs { margin-bottom: 28px; color: #aeb6bc; font-size: 13px; }
.breadcrumbs a:hover { color: var(--orange-2); }
.page-hero h1 { max-width: 900px; margin-bottom: 22px; }
.page-hero .lead { color: #c5cbd0; }

.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.service-card { min-height: 300px; display: flex; flex-direction: column; padding: 30px; background: var(--white); border-top: 4px solid var(--orange); box-shadow: 0 8px 30px rgba(24,31,36,.06); transition: .22s ease; }
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.service-number { margin-bottom: 38px; color: #c7cdd1; font-size: 13px; font-weight: 800; }
.service-card h3 { margin-bottom: 14px; }
.service-card p { color: var(--muted); }
.card-link { margin-top: auto; color: var(--orange); font-weight: 800; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split-media { min-height: 520px; position: relative; overflow: hidden; background: #cfd3d5; }
.split-media img { width: 100%; height: 100%; position: absolute; inset: 0; object-fit: cover; }
.split-media::after { position: absolute; right: 0; bottom: 0; width: 38%; height: 8px; content: ""; background: var(--orange); }
.check-list { display: grid; gap: 14px; margin: 30px 0; padding: 0; list-style: none; }
.check-list li { position: relative; padding-left: 30px; }
.check-list li::before { position: absolute; left: 0; top: 3px; content: "✓"; color: var(--orange); font-weight: 900; }

.process { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: #394047; }
.process-step { min-height: 240px; padding: 30px; background: var(--ink-2); }
.process-step span { display: block; margin-bottom: 50px; color: var(--orange-2); font-weight: 900; }
.process-step h3 { margin-bottom: 12px; font-size: 20px; }
.process-step p { color: #aeb6bc; font-size: 14px; }

.facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.fact { min-height: 170px; padding: 28px; background: var(--white); }
.fact strong { display: block; margin-bottom: 8px; color: var(--orange); font-size: 38px; line-height: 1; }
.fact span { color: var(--muted); }

.product-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.product-card { min-height: 240px; padding: 30px; background: var(--white); border: 1px solid var(--line); }
.product-card > img { width: calc(100% + 60px); height: 230px; margin: -30px -30px 26px; object-fit: contain; background: #fff; border-bottom: 1px solid var(--line); }
.product-card h3 { margin-bottom: 14px; }
.product-card p { color: var(--muted); }
.tag { display: inline-block; margin-top: 18px; padding: 6px 10px; color: var(--green); background: #e2f0ed; font-size: 12px; font-weight: 800; }
.model-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(320px, .8fr); gap: 64px; align-items: start; }
.model-visual { padding: 30px; background: var(--white); border: 1px solid var(--line); }
.model-visual img { width: 100%; max-height: 520px; object-fit: contain; }
.spec-list { margin: 30px 0; border-top: 1px solid var(--line); }
.spec-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.spec-row span { color: var(--muted); }

.cta-band { padding: 68px 0; color: var(--white); background: var(--orange); }
.cta-row { display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.cta-band h2 { max-width: 720px; }

.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 40px; }
.contact-panel, .form-panel { padding: 38px; background: var(--white); box-shadow: 0 8px 30px rgba(24,31,36,.06); }
.contact-item { padding: 20px 0; border-bottom: 1px solid var(--line); }
.contact-item:last-child { border-bottom: 0; }
.contact-item small { display: block; color: var(--muted); }
.contact-item a, .contact-item strong { font-size: 19px; font-weight: 800; }
.contact-item a:hover { color: var(--orange); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: grid; gap: 7px; }
.field-full { grid-column: 1 / -1; }
.field label { font-size: 13px; font-weight: 800; }
.field input, .field textarea { width: 100%; padding: 13px 14px; color: var(--ink); background: #f8f8f6; border: 1px solid #cfd4d7; outline: none; }
.field input:focus, .field textarea:focus { border-color: var(--orange); box-shadow: 0 0 0 3px rgba(231,101,27,.12); }
.field textarea { min-height: 135px; resize: vertical; }
.form-note { margin: 14px 0 0; color: var(--muted); font-size: 12px; }
.form-status { min-height: 24px; margin-top: 12px; font-size: 14px; font-weight: 700; }
.map-card { min-height: 320px; display: grid; place-items: center; padding: 40px; text-align: center; background: radial-gradient(circle at 50% 50%, #424a50 0 2px, transparent 3px), linear-gradient(135deg,#242a2f,#343c42); background-size: 38px 38px, auto; color: var(--white); }
.map-card .pin { width: 70px; height: 70px; display: grid; place-items: center; margin: 0 auto 20px; border-radius: 50% 50% 50% 0; background: var(--orange); transform: rotate(-45deg); font-size: 26px; }
.map-card .pin span { transform: rotate(45deg); }

.site-footer { padding: 70px 0 24px; color: #d5dade; background: #0d1012; }
.footer-grid { display: grid; grid-template-columns: 1.4fr .8fr .9fr; gap: 60px; }
.footer-grid h3 { margin-bottom: 18px; color: var(--white); font-size: 15px; letter-spacing: .02em; }
.footer-grid p, .footer-grid li { color: #939da4; font-size: 14px; }
.footer-nav { display: grid; gap: 9px; margin: 0; padding: 0; list-style: none; }
.footer-nav a:hover { color: var(--orange-2); }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; margin-top: 50px; padding-top: 22px; border-top: 1px solid #252b2f; color: #778188; font-size: 12px; }

.modal { width: min(620px, calc(100% - 28px)); padding: 0; border: 0; box-shadow: 0 25px 100px rgba(0,0,0,.45); }
.modal::backdrop { background: rgba(10,13,15,.78); backdrop-filter: blur(5px); }
.modal-inner { padding: 34px; }
.modal-head { display: flex; justify-content: space-between; gap: 20px; margin-bottom: 28px; }
.modal-close { width: 40px; height: 40px; border: 1px solid var(--line); background: var(--white); cursor: pointer; }

@media (max-width: 1040px) {
  .main-nav { position: fixed; inset: 78px 0 auto 0; display: none; padding: 28px 20px 34px; background: var(--ink); border-top: 1px solid #343b40; box-shadow: var(--shadow); }
  .menu-open .main-nav { display: block; }
  .nav-list { align-items: stretch; flex-direction: column; gap: 0; }
  .nav-list a { display: block; padding: 11px 0; font-size: 18px; }
  .menu-toggle { display: block; margin-left: auto; }
  .header-contact .btn { display: none; }
  .split { gap: 40px; }
}

@media (max-width: 760px) {
  .container { width: min(100% - 28px, var(--max)); }
  .section { padding: 72px 0; }
  .section-head { align-items: start; flex-direction: column; margin-bottom: 32px; }
  .brand-text span, .header-contact { display: none; }
  .hero { min-height: 670px; }
  .hero::before { background: linear-gradient(90deg, rgba(16,19,22,.94), rgba(16,19,22,.7)), url('offshore-rig.jpg') 62% center/cover no-repeat; }
  .hero-content { padding: 76px 0; }
  .hero-meta { gap: 22px; flex-direction: column; margin-top: 42px; }
  .page-hero { padding: 64px 0 52px; }
  .service-grid, .product-grid, .split, .contact-grid, .footer-grid { grid-template-columns: 1fr; }
  .model-layout { grid-template-columns: 1fr; gap: 34px; }
  .process, .facts { grid-template-columns: 1fr 1fr; }
  .split-media { min-height: 360px; order: -1; }
  .cta-row { align-items: flex-start; flex-direction: column; }
  .contact-panel, .form-panel { padding: 26px; }
  .footer-grid { gap: 34px; }
}

@media (max-width: 480px) {
  .process, .facts, .form-grid { grid-template-columns: 1fr; }
  .field-full { grid-column: auto; }
  .footer-bottom { flex-direction: column; }
  .hero-actions .btn, .cta-row .btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
