/* GEO WINGS ENGINEERING — global theme styles
 * Shared basics used by every page: colours, fonts, layout, buttons and animation states.
 * Each section's own styles live in its CSS block in Admin → Pages → Edit. */

:root {
  --ink: #050d18;
  --navy: #0a1829;
  --navy-2: #0f2238;
  --navy-3: #16304d;
  --amber: #e78c00;
  --amber-2: #ffa31a;
  --sky: #009bff;
  --sky-2: #4db8ff;
  --green: #1fa34a;
  --paper: #f5f3ee;
  --paper-2: #ebe7de;
  --white: #ffffff;
  --text: #0b1626;
  --muted: #5a6677;
  --muted-d: #9aa8ba;
  --line-d: rgba(255, 255, 255, 0.1);
  --line-l: rgba(11, 22, 38, 0.1);
  --f-display: "Sora", system-ui, sans-serif;
  --f-body: "Inter", system-ui, sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, monospace;
  --container: 1280px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius: 18px;
  --radius-sm: 10px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --shadow: 0 30px 60px -30px rgba(5, 13, 24, 0.35);
  --header-h: 84px;
}
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: auto;
}
body {
  margin: 0;
  font-family: var(--f-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img,
video,
canvas,
svg {
  display: block;
  max-width: 100%;
}
img {
  height: auto;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}
ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
h1,
h2,
h3,
h4,
h5 {
  font-family: var(--f-display);
  font-weight: 600;
  margin: 0;
  line-height: 1.08;
  letter-spacing: -0.025em;
}
p {
  margin: 0 0 1em;
}
::selection {
  background: var(--amber);
  color: var(--ink);
}
:focus-visible {
  outline: 2px solid var(--sky);
  outline-offset: 3px;
  border-radius: 4px;
}
html.lenis,
html.lenis body {
  height: auto;
}
.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}
.lenis.lenis-stopped {
  overflow: hidden;
}
.skip-link {
  position: absolute;
  left: -999px;
  top: 8px;
  z-index: 999;
  background: var(--amber);
  color: var(--ink);
  padding: 10px 16px;
  border-radius: 8px;
  font-weight: 600;
}
.skip-link:focus {
  left: 8px;
}
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.section {
  padding: clamp(80px, 11vw, 150px) 0;
  position: relative;
}
.section--tight {
  padding: clamp(60px, 8vw, 100px) 0;
}
.dark {
  background: var(--navy);
  color: var(--white);
}
.ink {
  background: var(--ink);
  color: var(--white);
}
.light {
  background: var(--white);
}
.paper-2 {
  background: var(--paper-2);
}
.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 6vw, 96px);
  align-items: center;
}
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.eyebrow {
  font-family: var(--f-mono);
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--amber);
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 22px;
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: currentColor;
}
.dark .eyebrow,
.ink .eyebrow {
  color: var(--amber-2);
}
.h-xl {
  font-size: clamp(2.6rem, 6.4vw, 6rem);
  letter-spacing: -0.035em;
  line-height: 1.0;
}
.h-lg {
  font-size: clamp(2.1rem, 4.4vw, 3.9rem);
  letter-spacing: -0.03em;
}
.h-md {
  font-size: clamp(1.6rem, 2.6vw, 2.4rem);
}
.h-sm {
  font-size: 1.3rem;
  letter-spacing: -0.015em;
}
.lead {
  font-size: clamp(1.08rem, 1.4vw, 1.28rem);
  color: var(--muted);
  max-width: 640px;
  line-height: 1.6;
}
.dark .lead,
.ink .lead {
  color: var(--muted-d);
}
.accent {
  color: var(--amber);
}
.accent-sky {
  color: var(--sky);
}
.dark .accent,
.ink .accent {
  color: var(--amber-2);
}
.mono {
  font-family: var(--f-mono);
}
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 40px;
  margin-bottom: clamp(44px, 6vw, 80px);
  flex-wrap: wrap;
}
.section-head .lead {
  margin: 0;
}
.center {
  text-align: center;
}
.center .lead {
  margin-left: auto;
  margin-right: auto;
}
.split .w {
  display: inline-block;
  overflow: hidden;
  vertical-align: top;
  padding-bottom: 0.08em;
  margin-bottom: -0.08em;
}
.split .wi {
  display: inline-block;
  will-change: transform;
}
.btn {
  --bg: var(--amber);
  --fg: var(--ink);
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 26px;
  border-radius: 100px;
  background: var(--bg);
  color: var(--fg);
  font-weight: 600;
  font-size: 0.98rem;
  letter-spacing: -0.01em;
  overflow: hidden;
  isolation: isolate;
  transition: color 0.4s var(--ease), transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
  white-space: nowrap;
}
.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--white);
  transform: translateY(101%);
  border-radius: inherit;
  transition: transform 0.5s var(--ease);
}
.btn:hover::before {
  transform: translateY(0);
}
.btn:hover {
  box-shadow: 0 14px 30px -12px rgba(231, 140, 0, 0.6);
}
.btn .arr {
  width: 18px;
  height: 18px;
  transition: transform 0.4s var(--ease);
}
.btn:hover .arr {
  transform: translateX(4px) rotate(-45deg);
}
.btn--ghost {
  --bg: transparent;
  --fg: var(--white);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.35);
}
.btn--ghost:hover {
  --fg: var(--ink);
  box-shadow: inset 0 0 0 1px var(--white);
}
.btn--dark {
  --bg: var(--ink);
  --fg: var(--white);
}
.btn--dark::before {
  background: var(--amber);
}
.btn--dark:hover {
  --fg: var(--ink);
}
.btn--sm {
  padding: 12px 20px;
  font-size: 0.9rem;
}
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  color: var(--amber);
}
.link-arrow svg {
  width: 18px;
  height: 18px;
  transition: transform 0.4s var(--ease);
}
.link-arrow:hover svg {
  transform: translateX(5px);
}
.topo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.checklist {
  display: grid;
  gap: 14px;
  margin: 30px 0 36px;
}
.checklist li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  font-weight: 500;
}
.checklist svg {
  width: 22px;
  height: 22px;
  flex: none;
  color: var(--amber);
  margin-top: 2px;
}
.checklist.cols-2 {
  grid-template-columns: 1fr 1fr;
}
.dark .stats,
.ink .stats,
.dark .stat,
.ink .stat {
  border-color: var(--line-d);
}
.dark .stat .num sup {
  color: var(--amber-2);
}
.dark .stat .lbl {
  color: var(--muted-d);
}
.dark .feat {
  background: var(--navy-2);
  box-shadow: inset 0 0 0 1px var(--line-d);
}
.dark .feat p {
  color: var(--muted-d);
}
.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 22px 0 30px;
}
.tags span {
  font-size: 0.82rem;
  font-weight: 500;
  padding: 7px 14px;
  border-radius: 100px;
  background: var(--white);
  box-shadow: inset 0 0 0 1px var(--line-l);
}
.dark .tags span {
  background: rgba(255, 255, 255, 0.05);
  box-shadow: inset 0 0 0 1px var(--line-d);
  color: var(--white);
}
.hp {
  position: absolute !important;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.form-status {
  grid-column: 1 / -1;
  padding: 14px 18px;
  border-radius: 12px;
  font-size: 0.95rem;
  display: none;
}
.form-status.ok {
  display: block;
  background: rgba(31, 163, 74, 0.15);
  color: #7ee2a0;
  box-shadow: inset 0 0 0 1px rgba(31, 163, 74, 0.4);
}
.form-status.err {
  display: block;
  background: rgba(255, 80, 80, 0.12);
  color: #ff9c9c;
  box-shadow: inset 0 0 0 1px rgba(255, 80, 80, 0.35);
}
.btn[disabled] {
  opacity: 0.6;
  pointer-events: none;
}
.swipe-hint {
  display: none;
}
.js:not(.no-anim) [data-reveal] {
  opacity: 0;
}
.js:not(.no-anim) [data-split] {
  visibility: hidden;
}
@media (max-width: 1100px) {
  .grid-4 {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 860px) {
  :root {
    --header-h: 72px;
  }
  .section {
    padding: 72px 0;
  }
  .section--tight {
    padding: 56px 0;
  }
  .section-head {
    margin-bottom: 36px;
    gap: 18px;
  }
  .grid-2 {
    grid-template-columns: 1fr;
  }
  .grid-2 {
    gap: 40px;
  }
  .grid-3 {
    grid-template-columns: 1fr;
  }
  .dark .stat {
    border-color: var(--line-d);
  }
  .swipe-hint {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 18px 0 0;
    font-family: var(--f-mono);
    font-size: 0.7rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--muted-d);
  }
  .swipe-hint svg {
    width: 14px;
    height: 14px;
    color: var(--amber-2);
    animation: nudge 1.6s var(--ease) infinite;
  }
}
@media (max-width: 600px) {
  body {
    font-size: 1rem;
  }
  .section {
    padding: 60px 0;
  }
  .section--tight {
    padding: 44px 0;
  }
  .h-lg {
    font-size: clamp(1.85rem, 8.4vw, 2.3rem);
  }
  .h-xl {
    font-size: clamp(2.3rem, 10.5vw, 3rem);
  }
  .lead {
    font-size: 1.02rem;
  }
  .grid-4,
  .checklist.cols-2 {
    grid-template-columns: 1fr;
  }
  .btn {
    padding: 15px 22px;
  }
  .eyebrow {
    font-size: 0.68rem;
    letter-spacing: 0.1em;
    gap: 10px;
    margin-bottom: 16px;
  }
  .eyebrow::before {
    width: 18px;
  }
  .checklist {
    gap: 12px;
    margin: 24px 0 28px;
  }
  .hide-m {
    display: none;
  }
  .grid-4.m-2 {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }
  .grid-4 {
    gap: 14px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
@keyframes nudge { 50% { transform: translateX(5px); } }
/* ==========================================================================
   Widgets — small building blocks that can be dropped into any section
   from Admin → Pages → Edit → Widgets.
   ========================================================================== */

/* Columns: drop widgets into each column */
.gw-w-cols { display: grid; gap: clamp(20px, 3vw, 40px); align-items: start; margin: 24px 0; }
.gw-w-cols--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.gw-w-cols--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.gw-w-cols--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.gw-w-col > * + * { margin-top: 16px; }

/* Image */
.gw-w-image { margin: 0; border-radius: var(--radius); overflow: hidden; }
.gw-w-image img { width: 100%; height: auto; display: block; }
.gw-w-image figcaption { font-size: 0.88rem; color: var(--muted); padding-top: 10px; }

/* Icon box */
.gw-w-iconbox { padding: 28px; border-radius: var(--radius); background: var(--white); box-shadow: 0 0 0 1px var(--line-l); }
.dark .gw-w-iconbox, .ink .gw-w-iconbox { background: var(--navy-2); box-shadow: inset 0 0 0 1px var(--line-d); }
.gw-w-iconbox__ico { width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; background: linear-gradient(135deg, var(--amber), var(--amber-2)); color: var(--ink); margin-bottom: 20px; }
.gw-w-iconbox__ico svg { width: 26px; height: 26px; }
.gw-w-iconbox h3 { font-size: 1.2rem; margin-bottom: 8px; }
.gw-w-iconbox p { color: var(--muted); margin: 0; font-size: 0.96rem; }
.dark .gw-w-iconbox p, .ink .gw-w-iconbox p { color: var(--muted-d); }

/* Card with image */
.gw-w-card { display: block; border-radius: var(--radius); overflow: hidden; background: var(--white); box-shadow: 0 0 0 1px var(--line-l); transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease); }
.gw-w-card:hover { transform: translateY(-5px); box-shadow: 0 0 0 1px var(--line-l), var(--shadow); }
.gw-w-card img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; display: block; }
.gw-w-card__body { padding: 22px 24px 26px; }
.gw-w-card__body h3 { font-size: 1.2rem; margin-bottom: 8px; }
.gw-w-card__body p { color: var(--muted); font-size: 0.95rem; }

/* Counter */
.gw-w-counter__num { font-family: var(--f-display); font-size: clamp(2.6rem, 5vw, 4rem); font-weight: 600; letter-spacing: -0.04em; line-height: 1; }
.gw-w-counter__num sup { font-size: 0.45em; color: var(--amber); top: -0.9em; }
.gw-w-counter__label { color: var(--muted); margin-top: 10px; }
.dark .gw-w-counter__label, .ink .gw-w-counter__label { color: var(--muted-d); }

/* Divider & spacer */
.gw-w-divider { border: 0; height: 1px; background: var(--line-l); margin: 32px 0; }
.dark .gw-w-divider, .ink .gw-w-divider { background: var(--line-d); }
.gw-w-spacer { height: 48px; }

/* Video & map embeds */
.gw-w-video, .gw-w-map { position: relative; border-radius: var(--radius); overflow: hidden; background: var(--ink); }
.gw-w-video { aspect-ratio: 16 / 9; }
.gw-w-map { aspect-ratio: 16 / 9; background: var(--paper-2); }
.gw-w-video iframe, .gw-w-map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* Testimonial */
.gw-w-quote { margin: 0; padding: 30px; border-radius: var(--radius); background: var(--white); box-shadow: 0 0 0 1px var(--line-l); }
.gw-w-quote blockquote { margin: 0 0 20px; font-family: var(--f-display); font-size: 1.15rem; line-height: 1.5; letter-spacing: -0.01em; }
.gw-w-quote figcaption b { display: block; }
.gw-w-quote figcaption span { color: var(--muted); font-size: 0.9rem; }
.dark .gw-w-quote, .ink .gw-w-quote { background: var(--navy-2); box-shadow: inset 0 0 0 1px var(--line-d); }

/* Accordion (no JavaScript needed) */
.gw-w-acc { border-bottom: 1px solid var(--line-l); }
.gw-w-acc summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 20px; padding: 20px 0; font-family: var(--f-display); font-weight: 500; font-size: 1.1rem; }
.gw-w-acc summary::-webkit-details-marker { display: none; }
.gw-w-acc summary::after { content: "+"; font-size: 1.4rem; line-height: 1; color: var(--amber); transition: transform 0.3s var(--ease); }
.gw-w-acc[open] summary::after { transform: rotate(45deg); }
.gw-w-acc p { color: var(--muted); padding-bottom: 20px; margin: 0; }

/* Social icons */
.gw-w-social { display: flex; gap: 10px; flex-wrap: wrap; }
.gw-w-social a { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: var(--white); transition: background 0.3s, transform 0.3s; }
.gw-w-social a:hover { background: var(--amber); color: var(--ink); transform: translateY(-3px); }
.gw-w-social svg { width: 18px; height: 18px; }

/* Contact list */
.gw-w-contact { display: grid; gap: 14px; }
.gw-w-contact li { display: flex; gap: 12px; align-items: flex-start; }
.gw-w-contact svg { width: 20px; height: 20px; color: var(--amber); flex: none; margin-top: 3px; }

/* Gallery */
.gw-w-gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.gw-w-gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius-sm); display: block; }

/* Form */
.gw-w-form { display: grid; gap: 14px; }
.gw-w-form label { display: grid; gap: 6px; font-size: 0.88rem; font-weight: 500; }
.gw-w-form input, .gw-w-form textarea, .gw-w-form select { width: 100%; font: inherit; padding: 13px 15px; border-radius: 12px; border: 1px solid var(--line-l); background: var(--white); color: var(--text); }
.gw-w-form textarea { min-height: 120px; resize: vertical; }
.gw-w-form input:focus, .gw-w-form textarea:focus { outline: none; border-color: var(--amber); }
.dark .gw-w-form input, .dark .gw-w-form textarea, .ink .gw-w-form input, .ink .gw-w-form textarea { background: rgba(255, 255, 255, 0.05); border-color: var(--line-d); color: var(--white); }
.gw-w-form .form-status { margin-top: 4px; }
.gw-w-form .form-status.ok { display: block; background: rgba(31, 163, 74, 0.12); color: #13803b; padding: 12px 14px; border-radius: 10px; }
.gw-w-form .form-status.err { display: block; background: rgba(229, 72, 77, 0.1); color: #c4282d; padding: 12px 14px; border-radius: 10px; }

/* Badge */
.gw-w-badge { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 100px; background: rgba(231, 140, 0, 0.12); color: var(--amber); font-weight: 600; font-size: 0.85rem; }

/* Pricing / plan card (used by templates) */
.gw-w-price { font-family: var(--f-display); font-size: 2.6rem; font-weight: 600; letter-spacing: -0.04em; }
.gw-w-price small { font-size: 0.9rem; color: var(--muted); font-weight: 500; letter-spacing: 0; }

/* Visibility helpers (Advanced → Hide on…) */
@media (min-width: 1101px) { .gw-hide-desktop { display: none !important; } }
@media (min-width: 601px) and (max-width: 1100px) { .gw-hide-tablet { display: none !important; } }
@media (max-width: 600px) { .gw-hide-mobile { display: none !important; } }

@media (max-width: 860px) {
  .gw-w-cols--3, .gw-w-cols--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  .gw-w-cols--2, .gw-w-cols--3, .gw-w-cols--4 { grid-template-columns: 1fr; }
  .gw-w-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Blog post cards ({{blog_posts}} / {{recent_posts}}) */
.gw-posts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.gw-posts__card { display: flex; flex-direction: column; border-radius: var(--radius); overflow: hidden; background: var(--white); box-shadow: 0 0 0 1px var(--line-l); transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease); }
.gw-posts__card:hover { transform: translateY(-6px); box-shadow: 0 0 0 1px var(--line-l), var(--shadow); }
.gw-posts__img { aspect-ratio: 16 / 10; overflow: hidden; background: var(--ink); }
.gw-posts__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.gw-posts__card:hover .gw-posts__img img { transform: scale(1.06); }
.gw-posts__ph { display: block; width: 100%; height: 100%; background: linear-gradient(135deg, var(--navy-2), var(--ink)); }
.gw-posts__body { padding: 22px 24px 26px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.gw-posts__cat { font-family: var(--f-mono); font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--amber); }
.gw-posts__body h3 { font-size: 1.25rem; line-height: 1.25; }
.gw-posts__body p { color: var(--muted); font-size: 0.95rem; margin: 0; flex: 1; }
.gw-posts__meta { font-size: 0.82rem; color: var(--muted); }
.gw-posts__empty { color: var(--muted); text-align: center; padding: 40px 0; }
@media (max-width: 1100px) { .gw-posts { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .gw-posts { grid-template-columns: 1fr; } }

/* ================= Header dropdown (menu items with child pages, e.g. Services) ================= */
.nav-dd { position: relative; display: flex; align-items: center; }
.nav .nav-dd__top { display: inline-flex; align-items: center; gap: 6px; }
.nav-dd__chev { width: 14px; height: 14px; opacity: 0.7; transition: transform 0.35s var(--ease); }
.nav-dd:hover .nav-dd__chev, .nav-dd.is-open .nav-dd__chev { transform: rotate(180deg); }
.nav-dd__panel {
  position: absolute; top: calc(100% + 14px); left: 50%; width: min(760px, 86vw);
  transform: translate(-50%, 10px); opacity: 0; visibility: hidden; pointer-events: none;
  background: rgba(8, 18, 32, 0.97); border: 1px solid rgba(255, 255, 255, 0.09); border-radius: 20px;
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.65), 0 0 0 1px rgba(231, 140, 0, 0.05);
  padding: 14px; z-index: 120; backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  transition: opacity 0.3s var(--ease), transform 0.4s var(--ease), visibility 0s 0.3s;
}
.nav-dd__panel::before { content: ""; position: absolute; left: 0; right: 0; top: -16px; height: 16px; } /* hover bridge */
.nav-dd:hover .nav-dd__panel, .nav-dd:focus-within .nav-dd__panel, .nav-dd.is-open .nav-dd__panel {
  opacity: 1; visibility: visible; pointer-events: auto; transform: translate(-50%, 0); transition: opacity 0.3s var(--ease), transform 0.4s var(--ease), visibility 0s;
}
.nav-dd__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px; }
.nav .nav-dd__item {
  display: flex; align-items: center; gap: 12px; padding: 10px; border-radius: 14px; background: none;
  color: var(--white); font-size: 0.9rem; line-height: 1.3; transition: background 0.25s, transform 0.25s var(--ease);
}
.nav .nav-dd__item::after, .nav .nav-dd__all::after { display: none !important; }
.nav .nav-dd__item:hover, .nav .nav-dd__item.is-current { background: rgba(255, 255, 255, 0.06); }
.nav .nav-dd__item:hover { transform: translateX(3px); }
.nav-dd__thumb { flex: none; width: 52px; height: 52px; border-radius: 12px; overflow: hidden; background: var(--navy-2); }
.nav-dd__thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.nav-dd__item:hover .nav-dd__thumb img { transform: scale(1.1); }
.nav-dd__txt { display: grid; gap: 3px; min-width: 0; }
.nav-dd__txt b { font-weight: 600; font-size: 0.92rem; }
.nav-dd__item.is-current .nav-dd__txt b { color: var(--amber-2); }
.nav-dd__txt small { color: var(--muted-d); font-size: 0.76rem; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.nav .nav-dd__all {
  display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 10px; padding: 12px; border-radius: 12px;
  border-top: 1px solid var(--line-d); color: var(--amber-2); font-weight: 600; font-size: 0.88rem; background: rgba(231, 140, 0, 0.06);
}
.nav .nav-dd__all:hover { background: rgba(231, 140, 0, 0.14); color: var(--white); }
.nav-dd__all svg { width: 16px; height: 16px; transition: transform 0.3s var(--ease); }
.nav-dd__all:hover svg { transform: translateX(4px); }
@media (max-width: 1280px) { .nav-dd__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .nav-dd__panel { width: min(560px, 86vw); } }

/* mobile menu: collapsible child list */
.mobile-menu { overflow-y: auto; }
.mobile-menu nav .mm-row { display: flex; align-items: center; border-bottom: 1px solid var(--line-d); }
.mobile-menu nav .mm-row a { flex: 1; border-bottom: 0; }
.mm-toggle { flex: none; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line-d); background: none; position: relative; cursor: pointer; color: var(--amber-2); }
.mm-toggle i::before, .mm-toggle i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 16px; height: 2px; margin: -1px 0 0 -8px; background: currentColor; border-radius: 2px; transition: transform 0.35s var(--ease); }
.mm-toggle i::after { transform: rotate(90deg); }
.mm-toggle[aria-expanded="true"] i::after { transform: rotate(0deg); }
.mm-sub { display: grid; overflow: hidden; max-height: 0; transition: max-height 0.5s var(--ease); }
.mm-sub.is-open { max-height: 900px; }
.mobile-menu nav .mm-sub a { font-family: var(--f-body); font-size: 1.05rem; font-weight: 500; letter-spacing: 0; padding: 11px 0 11px 34px; border-bottom: 1px solid rgba(255, 255, 255, 0.05); color: rgba(255, 255, 255, 0.82); position: relative; }
.mobile-menu nav .mm-sub a::before { content: ""; position: absolute; left: 12px; top: 50%; width: 8px; height: 2px; background: var(--amber); }

/* ================= Hero life-signal (ECG / seismic trace) ================= */
.hero-pulse { position: relative; z-index: 2; height: 54px; margin-top: -6px; pointer-events: none; }
.hero-pulse canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.hero-pulse::before, .hero-pulse::after { content: ""; position: absolute; top: 0; bottom: 0; width: 12%; z-index: 1; }
.hero-pulse::before { left: 0; background: linear-gradient(90deg, var(--ink), transparent); opacity: 0.55; }
.hero-pulse::after { right: 0; background: linear-gradient(270deg, var(--ink), transparent); opacity: 0.55; }
.hero-pulse__tag { position: absolute; z-index: 2; left: var(--gutter); top: 50%; transform: translateY(-50%); display: inline-flex; align-items: center; gap: 8px; font-family: var(--f-mono); font-size: 0.66rem; letter-spacing: 0.22em; color: var(--muted-d); text-transform: uppercase; }
.hero-pulse__tag i { width: 7px; height: 7px; border-radius: 50%; background: var(--amber-2); box-shadow: 0 0 0 0 rgba(255, 163, 26, 0.6); }
.hero-pulse__tag i.is-beat { animation: gwBeat 0.6s var(--ease); }
.hero-pulse__bpm { color: var(--white); letter-spacing: 0.08em; }
@keyframes gwBeat { 0% { box-shadow: 0 0 0 0 rgba(255, 163, 26, 0.7); transform: scale(1.4); } 100% { box-shadow: 0 0 0 10px rgba(255, 163, 26, 0); transform: scale(1); } }
@media (max-width: 600px) { .hero-pulse { height: 40px; } .hero-pulse__tag { display: none; } }

/* ================= Hammer impact (sledgehammer photos: MASW source) ================= */
/* shake uses the individual translate/rotate/scale properties so it stacks on top of GSAP parallax transforms */
[data-impact] { cursor: pointer; }
.impact-fx { position: absolute; inset: 0; pointer-events: none; overflow: hidden; z-index: 2; border-radius: inherit; }
.impact-fx__ring { position: absolute; width: 20px; height: 8px; margin: -4px 0 0 -10px; border-radius: 50%; border: 2px solid rgba(255, 190, 90, 0.9); box-shadow: 0 0 8px rgba(255, 163, 26, 0.5); opacity: 0; }
.impact-fx__flash { position: absolute; width: 80px; height: 80px; margin: -40px 0 0 -40px; border-radius: 50%; background: radial-gradient(circle, rgba(255, 230, 170, 0.9), rgba(255, 163, 26, 0) 70%); opacity: 0; }
.impact-fx__dust { position: absolute; width: 4px; height: 4px; border-radius: 50%; background: rgba(214, 180, 130, 0.95); opacity: 0; }
.impact-fx__label { position: absolute; right: 12px; top: 12px; font-family: var(--f-mono); font-size: 0.62rem; letter-spacing: 0.18em; color: #fff; background: rgba(5, 13, 24, 0.6); padding: 5px 9px; border-radius: 20px; opacity: 0; transition: opacity 0.3s; }
[data-impact]:hover .impact-fx__label { opacity: 1; }
[data-impact].is-hit img { animation: gwShake 0.45s cubic-bezier(.36, .07, .19, .97); }
[data-impact].is-hit-big img { animation: gwShakeBig 0.65s cubic-bezier(.36, .07, .19, .97); }
@keyframes gwShake {
  0%, 100% { translate: 0 0; rotate: 0deg; scale: 1.03; }
  10% { translate: -3px 4px; rotate: -0.35deg; }
  25% { translate: 4px -3px; rotate: 0.4deg; }
  40% { translate: -3px 2px; rotate: -0.3deg; }
  55% { translate: 2px -1px; rotate: 0.15deg; }
  70% { translate: -1px 1px; rotate: 0deg; }
}
@keyframes gwShakeBig {
  0%, 100% { translate: 0 0; rotate: 0deg; scale: 1.05; }
  8% { translate: -6px 7px; rotate: -0.9deg; }
  20% { translate: 7px -5px; rotate: 0.9deg; }
  34% { translate: -6px 4px; rotate: -0.6deg; }
  48% { translate: 4px -2px; rotate: 0.4deg; }
  62% { translate: -2px 1px; rotate: -0.15deg; }
  80% { translate: 1px 0; rotate: 0deg; }
}
@media (prefers-reduced-motion: reduce) { [data-impact].is-hit img, [data-impact].is-hit-big img { animation: none; } .impact-fx { display: none; } }

/* ================= Hero background slideshow (.hero__media[data-slides]) ================= */
.hero__media[data-slides] img { position: absolute; inset: 0; }
.hero__media[data-slides] img:not(.is-on):not(.is-prev) { visibility: hidden; }
html.gw-edit .hero__media[data-slides] img:not(:first-child) { display: none; }
.hero__media[data-slides]::after { z-index: 4; }
.hero__media[data-slides] img.is-prev { z-index: 1; animation: hsOut 1.7s cubic-bezier(.65, 0, .35, 1) both; }
.hero__media[data-slides] img.is-on { z-index: 2; }
.hero__media[data-slides] img.is-on.hs-wipe { animation: hsWipe 1.7s cubic-bezier(.77, 0, .18, 1) both, hsKen 9s cubic-bezier(.2, .6, .35, 1) both; }
.hero__media[data-slides] img.is-on.hs-iris { animation: hsIris 1.9s cubic-bezier(.77, 0, .18, 1) both, hsKen 9s cubic-bezier(.2, .6, .35, 1) both; }
@keyframes hsWipe { from { clip-path: inset(0 0 0 100%); } to { clip-path: inset(0 0 0 0); } }
@keyframes hsIris { from { clip-path: circle(0% at 72% 45%); } to { clip-path: circle(150% at 72% 45%); } }
@keyframes hsKen { from { scale: 1.2; } to { scale: 1.02; } }
@keyframes hsOut { from { scale: 1.02; filter: brightness(1); } to { scale: 0.94; filter: brightness(0.45); } }
.hs-edge { position: absolute; top: 0; bottom: 0; left: 100%; width: 2px; z-index: 5; pointer-events: none; opacity: 0;
  background: linear-gradient(180deg, transparent, var(--amber-2) 20%, #fff 50%, var(--amber-2) 80%, transparent);
  box-shadow: 0 0 18px 4px rgba(255, 163, 26, 0.55), 0 0 60px 10px rgba(255, 163, 26, 0.2); }
.hs-edge.is-run { animation: hsEdge 1.7s cubic-bezier(.77, 0, .18, 1) both; }
@keyframes hsEdge { 0% { left: 100%; opacity: 0; } 8% { opacity: 1; } 85% { opacity: 1; } 100% { left: 0; opacity: 0; } }

.hero-slides-ui { position: relative; z-index: 3; align-self: flex-end; margin: 0 calc(var(--gutter) + 64px) 12px auto; display: flex; align-items: center; gap: 14px;
  padding: 10px 12px 10px 18px; border-radius: 100px; background: rgba(5, 13, 24, 0.55); border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); color: var(--white); max-width: calc(100% - 2 * var(--gutter) - 64px); }
.hero-slides-ui__count { font-family: var(--f-mono); font-size: 0.7rem; letter-spacing: 0.12em; color: var(--amber-2); white-space: nowrap; }
.hero-slides-ui__count b { color: var(--white); font-weight: 500; }
.hero-slides-ui__cap { display: grid; min-width: 0; text-decoration: none; color: inherit; }
.hero-slides-ui__cap small { font-family: var(--f-mono); font-size: 0.58rem; letter-spacing: 0.2em; color: var(--muted-d); text-transform: uppercase; }
.hero-slides-ui__cap span { font-weight: 600; font-size: 0.9rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; transition: opacity 0.35s, transform 0.45s var(--ease); }
.hero-slides-ui__cap.is-swap span { opacity: 0; transform: translateY(8px); }
.hero-slides-ui__cap:hover span { color: var(--amber-2); }
.hero-slides-ui__bar { position: relative; width: 70px; height: 2px; background: rgba(255, 255, 255, 0.15); border-radius: 2px; overflow: hidden; }
.hero-slides-ui__bar i { position: absolute; inset: 0; background: var(--amber-2); transform-origin: left; transform: scaleX(0); }
.hero-slides-ui__bar i.is-run { animation: hsBar var(--hs-ms, 6000ms) linear both; }
.hero-slides-ui.is-paused .hero-slides-ui__bar i { animation-play-state: paused; }
@keyframes hsBar { to { transform: scaleX(1); } }
.hero-slides-ui button { width: 34px; height: 34px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, 0.18); background: none; color: var(--white); cursor: pointer; display: grid; place-items: center; transition: background 0.25s, border-color 0.25s; }
.hero-slides-ui button:hover { background: var(--amber); border-color: var(--amber); }
.hero-slides-ui button svg { width: 15px; height: 15px; }
@media (max-width: 600px) { .hero-slides-ui { padding: 8px 8px 8px 14px; gap: 10px; } .hero-slides-ui__bar, .hero-slides-ui__cap small { display: none; } .hero-slides-ui__cap span { font-size: 0.8rem; max-width: 46vw; } .hero-slides-ui button { width: 30px; height: 30px; } }

/* ================= Header: phone + email stacked in one compact block ================= */
@media (min-width: 1101px) {
  .site-header .header-cta { display: grid; grid-template-columns: auto auto auto; column-gap: 18px; row-gap: 3px; align-items: center; }
  .header-cta .header-phone { grid-column: 1; grid-row: 1; gap: 8px; font-size: 0.9rem; line-height: 1.2; white-space: nowrap; }
  .header-cta .header-mail { grid-row: 2; font-size: 0.8rem; color: rgba(255, 255, 255, 0.78); }
  .header-cta .header-mail:hover, .header-cta .header-phone:hover { color: var(--amber-2); }
  .header-cta .header-phone .ico { width: auto; height: auto; box-shadow: none; }
  .header-cta .header-phone svg { width: 14px; height: 14px; }
  .header-cta .header-phone small { display: none; }
  .header-cta > .btn { grid-column: 2; grid-row: 1 / span 2; }
  .header-cta > .burger { grid-column: 3; grid-row: 1 / span 2; }
}
@media (max-width: 1500px) { .site-header .nav a { padding-left: 12px; padding-right: 12px; } }
@media (max-width: 1240px) { .header-cta .header-mail { display: none; } }
