:root {
  --ink: #0b1f31;
  --muted: #526577;
  --line: #d8e3ea;
  --paper: #ffffff;
  --mist: #eef6f9;
  --water: #0e8fb8;
  --water-dark: #087397;
  --orange: #f56a2a;
  --orange-dark: #d94f14;
  --night: #071621;
  --radius: 22px;
  --shadow: 0 18px 60px rgba(7, 36, 54, .12);
  --container: min(1180px, calc(100% - 40px));
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

body.menu-open { overflow: hidden; }

img { display: block; max-width: 100%; }

a { color: inherit; }

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

button { font: inherit; }

:focus-visible {
  outline: 3px solid rgba(14, 143, 184, .5);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 1000;
  padding: 10px 14px;
  border-radius: 10px;
  color: #fff;
  background: var(--night);
  transform: translateY(-160%);
}

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

.container { width: var(--container); margin-inline: auto; }

.eyebrow {
  margin: 0 0 12px;
  color: var(--water-dark);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .15em;
  line-height: 1.4;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin-top: 0;
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.08;
  letter-spacing: -.025em;
}

h1 { margin-bottom: 24px; font-size: clamp(2.7rem, 7vw, 5.9rem); }
h2 { margin-bottom: 18px; font-size: clamp(2rem, 4.4vw, 3.8rem); }
h3 { margin-bottom: 12px; font-size: clamp(1.25rem, 2vw, 1.65rem); }

p { margin-top: 0; }

.lead { color: var(--muted); font-size: clamp(1.06rem, 2vw, 1.28rem); line-height: 1.65; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(216, 227, 234, .82);
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(18px);
}

.nav-shell {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  min-height: 78px;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  color: var(--ink);
  text-decoration: none;
}

.brand-logo { width: clamp(132px, 14vw, 174px); height: auto; }

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(17px, 2.2vw, 34px);
}

.nav-links a {
  position: relative;
  font-size: .91rem;
  font-weight: 700;
  text-decoration: none;
}

.nav-links a::after {
  position: absolute;
  right: 0;
  bottom: -8px;
  left: 0;
  height: 2px;
  background: var(--orange);
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .25s ease;
}

.nav-links a:hover::after,
.nav-links a:focus-visible::after { transform: scaleX(1); transform-origin: left; }

.nav-actions { display: flex; align-items: center; gap: 12px; }

.language {
  display: inline-flex;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
}

.language a {
  padding: 7px 9px;
  color: var(--muted);
  font-size: .75rem;
  font-weight: 800;
  line-height: 1;
  text-decoration: none;
}

.language a[aria-current="page"] { color: #fff; background: var(--ink); }

.phone-mini {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .88rem;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
}

.phone-mini svg { width: 17px; color: var(--water-dark); }

.menu-button {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--ink);
  background: #fff;
  cursor: pointer;
}

.menu-button svg { width: 23px; }

.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(70px, 9vw, 132px) 0 clamp(74px, 9vw, 126px);
  background:
    radial-gradient(circle at 84% 15%, rgba(14, 143, 184, .19), transparent 30%),
    linear-gradient(135deg, #fff 0%, #f6fbfd 58%, #e8f4f8 100%);
}

.hero::before {
  position: absolute;
  top: -30px;
  right: max(5vw, calc((100vw - 1180px) / 2 - 40px));
  width: 2px;
  height: 78%;
  background: linear-gradient(var(--orange), var(--water), transparent);
  content: "";
}

.hero::after {
  position: absolute;
  right: max(5vw, calc((100vw - 1180px) / 2 - 40px));
  bottom: 4%;
  width: 18px;
  height: 18px;
  border: 3px solid var(--water);
  border-radius: 50%;
  content: "";
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(340px, .88fr);
  align-items: center;
  gap: clamp(42px, 7vw, 94px);
}

.hero-copy { max-width: 720px; }
.hero-copy .lead { max-width: 660px; }

.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 32px 0 26px; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 13px 21px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 800;
  line-height: 1.2;
  text-decoration: none;
  transition: transform .2s ease, background .2s ease, border-color .2s ease;
}

.button:hover { transform: translateY(-2px); }
.button-primary { color: #fff; background: var(--orange); box-shadow: 0 12px 30px rgba(245, 106, 42, .25); }
.button-primary:hover { background: var(--orange-dark); }
.button-secondary { border-color: var(--line); color: var(--ink); background: rgba(255, 255, 255, .82); }
.button-secondary:hover { border-color: var(--water); }

.hero-facts { display: flex; flex-wrap: wrap; gap: 10px 22px; margin: 0; padding: 0; list-style: none; }
.hero-facts li { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); font-size: .9rem; font-weight: 700; }
.hero-facts li::before { width: 7px; height: 7px; border-radius: 50%; background: var(--water); content: ""; }

.hero-visual { position: relative; min-height: 570px; }

.rig-card {
  position: absolute;
  inset: -26px -16px 20px 20px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(14, 143, 184, .19);
  border-radius: 36px 36px 120px 36px;
  background: rgba(255, 255, 255, .82);
  box-shadow: var(--shadow);
}

.rig-card::before {
  position: absolute;
  width: 390px;
  height: 390px;
  border: 1px solid rgba(14, 143, 184, .26);
  border-radius: 50%;
  content: "";
}

.rig-card img {
  position: relative;
  z-index: 1;
  width: auto;
  height: 97%;
  max-width: 94%;
  object-fit: contain;
  filter: drop-shadow(0 24px 20px rgba(7, 36, 54, .18));
}

.project-count {
  position: absolute;
  right: -16px;
  bottom: 0;
  z-index: 2;
  max-width: 180px;
  padding: 18px 22px;
  border-radius: 18px;
  color: #fff;
  background: var(--night);
  box-shadow: var(--shadow);
}

.project-count strong { display: block; font-family: Georgia, "Times New Roman", serif; font-size: 2rem; line-height: 1; }
.project-count span { display: block; margin-top: 6px; color: #bdd0db; font-size: .78rem; line-height: 1.3; }

section { padding: clamp(72px, 9vw, 124px) 0; }

.section-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, .72fr); align-items: end; gap: 50px; margin-bottom: 48px; }
.section-head h2 { margin-bottom: 0; }
.section-head p { margin: 0; color: var(--muted); }

.intro-grid { display: grid; grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); align-items: center; gap: clamp(44px, 8vw, 100px); }
.intro-grid > .main-photo { width: 100%; aspect-ratio: 1.35; border-radius: var(--radius); object-fit: cover; box-shadow: var(--shadow); }

.intro-section { background: linear-gradient(180deg, #fff 0%, #f5fafc 100%); }
.intro-head { align-items: start; }
.intro-head > div:last-child p { margin-bottom: 16px; color: var(--muted); }
.intro-head > div:last-child p:last-child { margin-bottom: 0; }

.equipment-showcase {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(0, .82fr);
  gap: 18px;
}

.equipment-card {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 390px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: #fff;
  box-shadow: 0 16px 45px rgba(7, 36, 54, .08);
}

.equipment-card::before {
  position: absolute;
  top: -60%;
  left: -30%;
  width: 22%;
  height: 220%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .5), transparent);
  content: "";
  transform: rotate(20deg);
}

.equipment-card img { position: relative; z-index: 1; width: 100%; height: 100%; object-fit: contain; }
.equipment-rig { padding: 26px 34px 10px; background: radial-gradient(circle at 76% 34%, rgba(113, 200, 223, .3), transparent 34%), linear-gradient(145deg, #f8fdff, #e5f4f8); }
.equipment-rig img { max-height: 360px; }
.equipment-tools { padding: 18px; background: #fff; }
.equipment-tools img { border-radius: 18px; }

.check-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: 24px; }
.check-grid li { min-height: 100%; padding: 20px 20px 20px 54px; border: 1px solid var(--line); border-radius: 16px; background: rgba(255, 255, 255, .82); }
.check-grid li::before { top: 22px; left: 20px; }

.check-list { display: grid; gap: 16px; margin: 28px 0 0; padding: 0; list-style: none; }
.check-list li { position: relative; padding-left: 34px; }
.check-list li::before {
  position: absolute;
  top: .35em;
  left: 0;
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  color: #fff;
  background: var(--water);
  font-size: .75rem;
  font-weight: 900;
  content: "✓";
}

.services { background: var(--night); color: #fff; }
.services .eyebrow { color: #71c8df; }
.services .section-head p { color: #a8bcc8; }

.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.service-card { position: relative; min-height: 330px; padding: 30px; border: 1px solid rgba(255, 255, 255, .11); border-radius: var(--radius); background: linear-gradient(155deg, rgba(255, 255, 255, .08), rgba(255, 255, 255, .025)); }
.service-card::before { position: absolute; top: 0; right: 30px; left: 30px; height: 3px; border-radius: 0 0 5px 5px; background: var(--orange); content: ""; }
.service-card .number { display: block; margin-bottom: 68px; color: #7f9aa8; font-family: Georgia, "Times New Roman", serif; font-size: 1.08rem; }
.service-card h3 { color: #fff; }
.service-card p { margin-bottom: 0; color: #a8bcc8; }

.price-grid { display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); gap: clamp(44px, 8vw, 94px); }

.price-panel { position: sticky; top: 112px; align-self: start; padding: clamp(30px, 5vw, 50px); border-radius: 30px; color: #fff; background: var(--water-dark); box-shadow: var(--shadow); }
.price-panel .eyebrow { color: #c5eff9; }
.price-panel h2 { color: #fff; }
.price-panel p { color: #d3eef5; }
.price-panel .button { margin-top: 12px; color: var(--ink); background: #fff; }

.factor-list { display: grid; gap: 18px; counter-reset: factors; }
.factor { display: grid; grid-template-columns: 52px 1fr; gap: 20px; padding: 22px 0; border-bottom: 1px solid var(--line); counter-increment: factors; }
.factor::before { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 15px; color: var(--orange-dark); background: #fff2ec; font-weight: 900; content: "0" counter(factors); }
.factor h3 { margin: 0 0 6px; font-family: inherit; font-size: 1.05rem; letter-spacing: 0; }
.factor p { margin: 0; color: var(--muted); }

.process { background: var(--mist); }
.process-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.process-step { position: relative; padding: 27px 20px; border-radius: 18px; background: #fff; box-shadow: 0 10px 32px rgba(7, 36, 54, .06); }
.process-step:not(:last-child)::after { position: absolute; top: 37px; right: -10px; z-index: 2; width: 20px; height: 2px; background: var(--orange); content: ""; }
.process-step strong { display: grid; place-items: center; width: 42px; height: 42px; margin-bottom: 24px; border-radius: 50%; color: #fff; background: var(--ink); }
.process-step h3 { font-family: inherit; font-size: 1rem; letter-spacing: 0; }
.process-step p { margin: 0; color: var(--muted); font-size: .92rem; }

.gallery-grid { display: grid; grid-template-columns: 1.35fr .65fr 1fr; grid-template-rows: 260px 260px; gap: 14px; }
.gallery-button { position: relative; overflow: hidden; padding: 0; border: 0; border-radius: 18px; background: #dce7eb; cursor: zoom-in; }
.gallery-button:first-child { grid-row: 1 / 3; }
.gallery-button img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease, filter .45s ease; }
.gallery-button:hover img { transform: scale(1.035); filter: saturate(1.08); }
.gallery-button::after { position: absolute; right: 14px; bottom: 14px; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; color: #fff; background: rgba(7, 22, 33, .82); content: "+"; font-size: 1.35rem; }

.lightbox { width: min(1000px, calc(100% - 28px)); max-width: none; padding: 0; border: 0; border-radius: 20px; overflow: hidden; background: var(--night); }
.lightbox::backdrop { background: rgba(2, 12, 20, .86); backdrop-filter: blur(5px); }
.lightbox figure { margin: 0; }
.lightbox img { width: 100%; max-height: 78vh; object-fit: contain; }
.lightbox figcaption { min-height: 54px; padding: 14px 78px 14px 18px; color: #d7e6ed; font-size: .9rem; }
.lightbox-close,
.lightbox-prev,
.lightbox-next { position: absolute; display: grid; place-items: center; border: 1px solid rgba(255, 255, 255, .2); border-radius: 50%; color: #fff; background: rgba(7, 22, 33, .8); cursor: pointer; }
.lightbox-close { top: 13px; right: 13px; width: 42px; height: 42px; font-size: 1.45rem; }
.lightbox-prev,
.lightbox-next { top: 50%; width: 46px; height: 46px; transform: translateY(-50%); }
.lightbox-prev { left: 14px; }
.lightbox-next { right: 14px; }

.video-section { padding-top: 0; }
.video-grid { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(320px, .92fr); align-items: center; gap: clamp(40px, 8vw, 90px); }
.video-shell { position: relative; overflow: hidden; aspect-ratio: 16 / 9; border-radius: 24px; background: var(--night); box-shadow: var(--shadow); }
.video-shell iframe { width: 100%; height: 100%; border: 0; }
.video-play { position: absolute; inset: 0; display: grid; place-items: center; width: 100%; padding: 0; border: 0; color: #fff; background: linear-gradient(rgba(7, 22, 33, .25), rgba(7, 22, 33, .6)), url("../images/work-89.jpg") center / cover; cursor: pointer; }
.video-play span { display: grid; place-items: center; width: 78px; height: 78px; padding-left: 6px; border: 2px solid rgba(255, 255, 255, .8); border-radius: 50%; background: rgba(245, 106, 42, .92); font-size: 1.6rem; box-shadow: 0 10px 36px rgba(0, 0, 0, .28); }
.video-copy p { color: var(--muted); }

.faq { background: #f7fafb; }
.faq-grid { display: grid; grid-template-columns: minmax(270px, .65fr) minmax(0, 1.35fr); gap: clamp(38px, 8vw, 94px); }
.faq-intro { position: sticky; top: 112px; align-self: start; }
.faq-intro p { color: var(--muted); }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { position: relative; padding: 24px 50px 24px 0; cursor: pointer; font-weight: 800; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { position: absolute; top: 22px; right: 4px; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; color: var(--water-dark); background: #e2f2f6; content: "+"; transition: transform .2s ease; }
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list details p { max-width: 760px; padding-right: 32px; color: var(--muted); }

.seo-section { background: #fff; }
.seo-shell { display: grid; grid-template-columns: minmax(270px, .68fr) minmax(0, 1.32fr); align-items: start; gap: clamp(38px, 8vw, 94px); }
.seo-heading { position: sticky; top: 112px; }
.seo-heading h2 { max-width: 560px; }
.seo-copy { max-width: 820px; }
.seo-copy p { color: var(--muted); }
.seo-intro { display: grid; gap: 4px; }
.seo-intro p:first-child { margin-top: 0; color: var(--ink); font-size: 1.08rem; }
.seo-more {
  display: grid;
  grid-template-rows: 0fr;
  opacity: 0;
  transition: grid-template-rows .5s cubic-bezier(.22, .61, .36, 1), opacity .35s ease;
}
.seo-more.is-expanded { grid-template-rows: 1fr; opacity: 1; }
.seo-more-inner { display: grid; gap: 0; overflow: hidden; }
.seo-more article { padding-top: 26px; border-top: 1px solid var(--line); }
.seo-more article + article { margin-top: 10px; }
.seo-more h3 { margin-bottom: 10px; font-family: inherit; font-size: 1.14rem; letter-spacing: -.01em; }
.seo-more p { margin: 0 0 18px; }
.seo-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  margin-top: 18px;
  padding: 11px 19px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink);
  background: #f7fafb;
  font: inherit;
  font-weight: 850;
  cursor: pointer;
  transition: border-color .2s ease, background .2s ease, transform .2s ease;
}
.seo-toggle:hover { border-color: var(--water); background: #eef8fa; transform: translateY(-2px); }
.seo-toggle svg { width: 18px; transition: transform .3s ease; }
.seo-toggle[aria-expanded="true"] svg { transform: rotate(180deg); }

.contact {
  position: relative;
  overflow: hidden;
  color: #fff;
  background: var(--night);
}

.contact::before { position: absolute; top: -160px; right: -120px; width: 420px; height: 420px; border: 1px solid rgba(113, 200, 223, .24); border-radius: 50%; content: ""; box-shadow: 0 0 0 60px rgba(113, 200, 223, .035), 0 0 0 120px rgba(113, 200, 223, .025); }
.contact-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 50px; }
.contact h2 { max-width: 820px; color: #fff; }
.contact .eyebrow { color: #71c8df; }
.contact p { max-width: 690px; color: #a8bcc8; }
.contact-actions { display: grid; gap: 12px; min-width: 235px; }
.contact-actions .button-secondary { border-color: rgba(255, 255, 255, .18); color: #fff; background: rgba(255, 255, 255, .07); }
.viber-button { gap: 10px; }
.viber-icon { width: 28px; height: 28px; border-radius: 8px; }

.site-footer { padding: 34px 0 90px; color: #8196a3; background: var(--night); }
.footer-grid { padding-top: 28px; border-top: 1px solid rgba(255, 255, 255, .09); }
.footer-grid p { margin: 0; font-size: .85rem; }

.viber-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 88;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 58px;
  padding: 7px 16px 7px 7px;
  border: 1px solid rgba(115, 96, 242, .22);
  border-radius: 999px;
  color: #322773;
  background: rgba(255, 255, 255, .95);
  box-shadow: 0 14px 42px rgba(64, 45, 157, .24);
  font-size: .86rem;
  font-weight: 900;
  text-decoration: none;
  backdrop-filter: blur(14px);
  transition: transform .25s ease, box-shadow .25s ease;
}

.viber-float:hover { transform: translateY(-4px); box-shadow: 0 18px 48px rgba(64, 45, 157, .32); }
.viber-float img { width: 44px; height: 44px; border-radius: 13px; }

.mobile-call { display: none; }

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .72s cubic-bezier(.22, .61, .36, 1), transform .72s cubic-bezier(.22, .61, .36, 1);
}

.reveal.is-visible { opacity: 1; transform: translateY(0); }
.service-grid .reveal:nth-child(2),
.process-grid .reveal:nth-child(2),
.gallery-grid .reveal:nth-child(2),
.check-grid .reveal:nth-child(2) { transition-delay: .08s; }
.service-grid .reveal:nth-child(3),
.process-grid .reveal:nth-child(3),
.gallery-grid .reveal:nth-child(3),
.check-grid .reveal:nth-child(3) { transition-delay: .16s; }
.process-grid .reveal:nth-child(4),
.gallery-grid .reveal:nth-child(4) { transition-delay: .24s; }
.process-grid .reveal:nth-child(5),
.gallery-grid .reveal:nth-child(5) { transition-delay: .32s; }

@keyframes hero-copy-in {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes hero-rig-in {
  from { opacity: 0; transform: translateX(46px) scale(.96); }
  to { opacity: 1; transform: translateX(0) scale(1); }
}

@keyframes rig-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@keyframes ring-pulse {
  0%, 100% { opacity: .65; transform: scale(.92); }
  50% { opacity: 1; transform: scale(1.06); }
}

@keyframes equipment-shine {
  0%, 62% { transform: translateX(-80%) rotate(20deg); }
  100% { transform: translateX(750%) rotate(20deg); }
}

@keyframes messenger-breathe {
  0%, 100% { box-shadow: 0 14px 42px rgba(64, 45, 157, .24); }
  50% { box-shadow: 0 14px 50px rgba(115, 96, 242, .42); }
}

.hero-copy > * { opacity: 0; animation: hero-copy-in .72s cubic-bezier(.22, .61, .36, 1) forwards; }
.hero-copy > :nth-child(2) { animation-delay: .08s; }
.hero-copy > :nth-child(3) { animation-delay: .16s; }
.hero-copy > :nth-child(4) { animation-delay: .24s; }
.hero-copy > :nth-child(5) { animation-delay: .32s; }
.rig-card { animation: hero-rig-in .9s cubic-bezier(.22, .61, .36, 1) both; }
.rig-card img { animation: rig-float 5.5s ease-in-out 1s infinite; }
.rig-card::before { animation: ring-pulse 4.6s ease-in-out infinite; }
.project-count { animation: hero-copy-in .7s .55s cubic-bezier(.22, .61, .36, 1) both; }
.equipment-card::before { animation: equipment-shine 7s ease-in-out infinite; }
.viber-float { animation: messenger-breathe 3.2s ease-in-out infinite; }

@media (max-width: 1080px) {
  .phone-mini { display: none; }
  .nav-shell { grid-template-columns: auto 1fr auto; }
  .hero-grid { grid-template-columns: 1.05fr .95fr; gap: 42px; }
  .process-grid { grid-template-columns: repeat(3, 1fr); }
  .process-step:not(:last-child)::after { display: none; }
}

@media (max-width: 850px) {
  :root { --container: min(100% - 32px, 720px); }
  body { font-size: 16px; }
  .nav-shell { display: flex; min-height: 70px; }
  .brand { min-width: 0; }
  .nav-actions { flex: 0 0 auto; justify-content: flex-end; margin-left: auto; }
  .menu-button { display: inline-flex; }
  .nav-links {
    position: fixed;
    top: 70px;
    right: 0;
    bottom: 0;
    left: 0;
    display: grid;
    align-content: start;
    justify-items: start;
    gap: 0;
    padding: 32px max(16px, calc((100vw - 720px) / 2));
    background: rgba(255, 255, 255, .985);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-14px);
    transition: opacity .2s ease, transform .2s ease;
  }
  .nav-links.is-open { opacity: 1; pointer-events: auto; transform: translateY(0); }
  .nav-links a { width: 100%; padding: 16px 0; border-bottom: 1px solid var(--line); font-family: Georgia, "Times New Roman", serif; font-size: 1.4rem; }
  .nav-links a::after { display: none; }
  .hero-grid,
  .intro-grid,
  .section-head,
  .price-grid,
  .video-grid,
  .faq-grid,
  .contact-grid,
  .seo-shell { grid-template-columns: 1fr; }
  .hero { padding-top: 64px; }
  .hero-visual { min-height: 520px; }
  .rig-card { inset: 10px 16px 24px; }
  .project-count { right: 0; }
  .section-head { align-items: start; gap: 14px; }
  .equipment-showcase { grid-template-columns: 1fr 1fr; }
  .equipment-card { min-height: 310px; }
  .equipment-rig { padding: 20px; }
  .check-grid { grid-template-columns: 1fr; }
  .service-grid { grid-template-columns: 1fr; }
  .service-card { min-height: 0; }
  .service-card .number { margin-bottom: 36px; }
  .price-panel,
  .faq-intro,
  .seo-heading { position: static; }
  .gallery-grid { grid-template-columns: 1fr 1fr; grid-template-rows: repeat(3, 220px); }
  .gallery-button:first-child { grid-row: 1 / 3; }
  .contact-actions { min-width: 0; }
}

@media (max-width: 560px) {
  :root { --container: calc(100% - 28px); }
  h1 { font-size: clamp(2.45rem, 13vw, 4rem); }
  h2 { font-size: clamp(2rem, 10vw, 3.1rem); }
  .brand-logo { width: 124px; }
  .nav-actions { gap: 8px; }
  .language a { padding: 7px 8px; }
  .hero-actions { display: flex; flex-direction: column; align-items: flex-start; }
  .hero-actions .button { width: auto; max-width: 100%; }
  .contact-actions .button { width: 100%; }
  .hero-visual { min-height: 440px; }
  .rig-card { inset: 8px 8px 34px; border-radius: 26px 26px 84px 26px; }
  .rig-card::before { width: 240px; height: 240px; }
  .project-count { right: 0; max-width: 160px; }
  .equipment-showcase { grid-template-columns: 1fr; }
  .equipment-card { min-height: 280px; }
  .equipment-rig img { max-height: 270px; }
  .process-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr; grid-template-rows: repeat(5, 230px); }
  .gallery-button:first-child { grid-row: auto; grid-column: auto; }
  .lightbox-prev,
  .lightbox-next { top: auto; bottom: 9px; transform: none; }
  .lightbox figcaption { padding-inline: 68px; text-align: center; }
  .site-footer { padding-bottom: 104px; }
  .viber-float { display: none; }
  .seo-toggle { width: 100%; }
  .mobile-call {
    position: fixed;
    right: 10px;
    bottom: 10px;
    left: 10px;
    z-index: 90;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    padding: 8px;
    border: 1px solid rgba(216, 227, 234, .8);
    border-radius: 18px;
    background: rgba(255, 255, 255, .94);
    box-shadow: 0 12px 40px rgba(7, 36, 54, .2);
    backdrop-filter: blur(16px);
  }
  .mobile-call a { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; border-radius: 12px; font-size: .86rem; font-weight: 900; text-decoration: none; }
  .mobile-call .call { color: #fff; background: var(--orange); }
  .mobile-call .viber { gap: 7px; color: #fff; background: #665cac; }
  .mobile-call .viber img { width: 25px; height: 25px; border-radius: 7px; }
}

@media (max-width: 360px) {
  .brand-logo { width: 108px; }
  .nav-actions { gap: 5px; }
  .language a { padding: 7px 6px; font-size: .69rem; }
  .menu-button { width: 42px; height: 42px; }
}

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