:root {
  --page-x: clamp(20px, 5vw, 72px);
  --content-max: 1180px;
  --copy-max: 720px;
  --section-y: clamp(72px, 10vw, 128px);
  --ink: #172026;
  --muted: #5c6870;
  --line: #d9e2e7;
  --surface: #f7fafb;
  --panel: #ffffff;
  --teal: #0f766e;
  --teal-dark: #0b4f4a;
  --amber: #f2b84b;
  --coral: #e4614f;
  --shadow: 0 18px 50px rgba(23, 32, 38, 0.12);
  --header-bg: rgba(247, 250, 251, 0.92);
  --header-line: rgba(217, 226, 231, 0.8);
  --nav-hover: #e8f3f2;
  --hero-overlay: linear-gradient(90deg, rgba(14, 29, 34, 0.92) 0%, rgba(14, 29, 34, 0.66) 48%, rgba(14, 29, 34, 0.26) 100%);
  --hero-overlay-mobile: linear-gradient(180deg, rgba(14, 29, 34, 0.9) 0%, rgba(14, 29, 34, 0.72) 55%, rgba(14, 29, 34, 0.48) 100%);
  --feature-overlay: linear-gradient(0deg, rgba(15, 118, 110, 0.25), rgba(15, 118, 110, 0.05));
  --feature-bg: #eaf1f4;
  --icon-bg: #e8f3f2;
  --theme-glow: rgba(15, 118, 110, 0.32);
}

body[data-theme="future"] {
  --ink: #dff7fb;
  --muted: #9fb9c3;
  --line: rgba(102, 179, 201, 0.24);
  --surface: #071219;
  --panel: #0d1b24;
  --teal: #38bdf8;
  --teal-dark: #93f5ff;
  --amber: #f2b84b;
  --coral: #fb7185;
  --shadow: 0 22px 60px rgba(0, 0, 0, 0.42);
  --header-bg: rgba(7, 18, 25, 0.9);
  --header-line: rgba(102, 179, 201, 0.22);
  --nav-hover: rgba(56, 189, 248, 0.14);
  --hero-overlay: linear-gradient(90deg, rgba(4, 10, 15, 0.9) 0%, rgba(4, 10, 15, 0.62) 48%, rgba(4, 10, 15, 0.18) 100%);
  --hero-overlay-mobile: linear-gradient(180deg, rgba(4, 10, 15, 0.88) 0%, rgba(4, 10, 15, 0.68) 55%, rgba(4, 10, 15, 0.48) 100%);
  --feature-overlay: linear-gradient(0deg, rgba(56, 189, 248, 0.22), rgba(8, 22, 30, 0.08));
  --feature-bg: #0a161d;
  --icon-bg: rgba(56, 189, 248, 0.14);
  --theme-glow: rgba(56, 189, 248, 0.46);
}

body[data-theme="warm-dark"] {
  --ink: #fff4df;
  --muted: #d6b98d;
  --line: rgba(242, 184, 75, 0.22);
  --surface: #160f0b;
  --panel: #241811;
  --teal: #f2b84b;
  --teal-dark: #ffd98a;
  --amber: #f2b84b;
  --coral: #e4614f;
  --shadow: 0 22px 60px rgba(0, 0, 0, 0.48);
  --header-bg: rgba(22, 15, 11, 0.9);
  --header-line: rgba(242, 184, 75, 0.2);
  --nav-hover: rgba(242, 184, 75, 0.16);
  --hero-overlay: linear-gradient(90deg, rgba(18, 9, 4, 0.92) 0%, rgba(18, 9, 4, 0.68) 48%, rgba(18, 9, 4, 0.3) 100%);
  --hero-overlay-mobile: linear-gradient(180deg, rgba(18, 9, 4, 0.92) 0%, rgba(18, 9, 4, 0.72) 55%, rgba(18, 9, 4, 0.5) 100%);
  --feature-overlay: linear-gradient(0deg, rgba(242, 184, 75, 0.22), rgba(36, 24, 17, 0.08));
  --feature-bg: #1c120c;
  --icon-bg: rgba(242, 184, 75, 0.16);
  --theme-glow: rgba(242, 184, 75, 0.38);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 17px;
  color: var(--ink);
  background: var(--surface);
  line-height: 1.68;
  transition: background-color 0.25s ease, color 0.25s ease;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px var(--page-x);
  background: var(--header-bg);
  border-bottom: 1px solid var(--header-line);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-logo {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  flex: 0 0 auto;
  border-radius: 8px;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 1.08rem;
}

.brand small {
  color: var(--muted);
  font-size: 0.78rem;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 10px;
}

.site-nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 12px;
  border-radius: 8px;
  color: var(--muted);
  font-weight: 700;
  font-size: 0.94rem;
}

.theme-switcher {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: 0 8px 24px rgba(23, 32, 38, 0.08);
}

.theme-option {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 6px;
  color: var(--muted);
  background: transparent;
  cursor: pointer;
}

.theme-option:hover,
.theme-option:focus-visible {
  color: var(--teal-dark);
  background: var(--nav-hover);
}

.theme-option.is-active {
  color: var(--teal-dark);
  background: var(--nav-hover);
  box-shadow: inset 0 0 0 1px var(--line), 0 0 18px var(--theme-glow);
}

.theme-option svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.language-switcher {
  display: inline-flex;
  flex-direction: column;
  gap: 2px;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: 0 8px 24px rgba(23, 32, 38, 0.08);
}

.language-option {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 14px;
  border: 0;
  border-radius: 4px;
  color: #05080b;
  font-size: 0.62rem;
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0;
  cursor: pointer;
  text-shadow: 0 1px 2px rgba(255, 255, 255, 0.8);
}

.language-option.lang-en {
  background:
    linear-gradient(27deg, transparent 42%, #fff 42% 47%, #c8102e 47% 53%, #fff 53% 58%, transparent 58%),
    linear-gradient(-27deg, transparent 42%, #fff 42% 47%, #c8102e 47% 53%, #fff 53% 58%, transparent 58%),
    linear-gradient(90deg, transparent 40%, #fff 40% 45%, #c8102e 45% 55%, #fff 55% 60%, transparent 60%),
    linear-gradient(180deg, transparent 35%, #fff 35% 43%, #c8102e 43% 57%, #fff 57% 65%, transparent 65%),
    #012169;
}

.language-option.lang-pl {
  background: linear-gradient(180deg, #fff 0 50%, #dc143c 50% 100%);
}

.language-option.lang-nl {
  background: linear-gradient(180deg, #ae1c28 0 33%, #fff 33% 66%, #21468b 66% 100%);
}

.language-option:hover,
.language-option:focus-visible,
.language-option.is-active {
  box-shadow: inset 0 0 0 2px var(--teal-dark), 0 0 14px var(--theme-glow);
  transform: translateX(-1px);
}

.site-nav .home-link {
  width: 42px;
  height: 42px;
  padding: 0;
}

.home-link svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--teal-dark);
  background: var(--nav-hover);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--ink);
}

.hero {
  position: relative;
  min-height: clamp(560px, 78vh, 760px);
  display: grid;
  align-items: end;
  overflow: hidden;
  padding: clamp(132px, 16vh, 190px) var(--page-x) clamp(54px, 7vw, 86px);
  color: #fff;
}

.hero-media {
  position: absolute;
  inset: 0;
  background:
    var(--hero-overlay),
    url("assets/future-electronics-hero-wm-small.png") center / cover;
}

.feature-image::after {
  content: "www.phonefix4u.com";
  position: absolute;
  right: 16px;
  bottom: 14px;
  z-index: 1;
  padding: 4px 7px;
  border-radius: 6px;
  color: rgba(255, 255, 255, 0.9);
  background: rgba(0, 0, 0, 0.34);
  font-size: 0.56rem;
  font-weight: 800;
  line-height: 1;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.85);
  pointer-events: none;
}

.hero-content {
  position: relative;
  width: min(100%, var(--content-max));
  max-width: var(--content-max);
  margin: 0 auto;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--coral);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.78rem;
}

.hero .eyebrow {
  color: var(--amber);
}

h1,
h2,
h3,
p {
  overflow-wrap: break-word;
}

h1 {
  margin: 0;
  font-size: clamp(3.2rem, 8vw, 6.8rem);
  line-height: 0.95;
  letter-spacing: 0;
}

.hero-lead {
  max-width: 660px;
  margin: 26px 0 0;
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  color: rgba(255, 255, 255, 0.88);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 18px;
  border-radius: 8px;
  font-weight: 800;
  border: 1px solid transparent;
}

.btn-primary {
  color: var(--ink);
  background: var(--amber);
}

.btn-secondary {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.44);
  background: rgba(255, 255, 255, 0.12);
}

.section {
  padding: var(--section-y) var(--page-x);
}

.section-heading {
  width: min(100%, var(--content-max));
  max-width: var(--content-max);
  margin: 0 auto clamp(34px, 5vw, 56px);
}

.section-heading h2,
.feature-copy h2,
.contact-copy h2 {
  margin: 0;
  max-width: var(--copy-max);
  font-size: clamp(2.1rem, 4.5vw, 4.4rem);
  line-height: 1;
  letter-spacing: 0;
}

.section-heading p:not(.eyebrow),
.feature-copy p,
.contact-copy p {
  max-width: var(--copy-max);
  color: var(--muted);
  font-size: 1.08rem;
}

.services-grid {
  width: min(100%, var(--content-max));
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(18px, 2.5vw, 30px);
}

.service-card {
  position: relative;
  overflow: hidden;
  min-height: 340px;
  padding: 0 clamp(22px, 3vw, 34px) clamp(24px, 3vw, 34px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: 0 8px 24px rgba(23, 32, 38, 0.05);
}

.service-image {
  display: block;
  width: calc(100% + (clamp(22px, 3vw, 34px) * 2));
  max-width: none;
  aspect-ratio: 16 / 9;
  margin: 0 calc(clamp(22px, 3vw, 34px) * -1) 24px;
  object-fit: cover;
  background: #102127;
}

.service-card h3 {
  margin: 20px 0 10px;
  font-size: clamp(1.25rem, 2vw, 1.55rem);
  line-height: 1.12;
}

.service-card p {
  margin: 0;
  color: var(--muted);
}

.remote-tools {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.tool-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 36px;
  padding: 7px 10px;
  border-radius: 8px;
  font-size: 0.82rem;
  font-weight: 800;
  color: #fff;
}

.tool-badge.teamviewer {
  background: #0b6fce;
}

.tool-badge.anydesk {
  background: #d92626;
}

.tool-logo {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 6px;
  object-fit: contain;
}

.service-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 8px;
  color: var(--teal-dark);
  background: var(--icon-bg);
}

.service-icon svg {
  width: 27px;
  height: 27px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.feature-band {
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(320px, 0.94fr);
  gap: clamp(34px, 6vw, 86px);
  align-items: center;
  padding: var(--section-y) max(var(--page-x), calc((100vw - var(--content-max)) / 2));
  background: var(--feature-bg);
}

.feature-image {
  position: relative;
  overflow: hidden;
  min-height: clamp(420px, 52vw, 620px);
  border-radius: 8px;
  background:
    var(--feature-overlay),
    url("assets/future-electronics-hero-wm-small.png") center / cover;
  box-shadow: var(--shadow);
}

.feature-copy {
  max-width: 680px;
}

.check-list {
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 26px 0 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 30px;
  font-weight: 700;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.42em;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--amber);
  box-shadow: inset 0 0 0 4px #fff;
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.65fr);
  gap: clamp(34px, 6vw, 86px);
  align-items: start;
  padding: var(--section-y) max(var(--page-x), calc((100vw - var(--content-max)) / 2));
  background: var(--panel);
}

.contact-panel {
  display: grid;
  gap: 10px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.contact-row {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 16px;
  border-radius: 8px;
  background: var(--panel);
  border: 1px solid transparent;
}

.contact-row:hover {
  border-color: var(--teal);
}

.contact-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 14px 18px;
  border: 1px solid transparent;
  border-radius: 8px;
  color: #fff;
  font-weight: 900;
  text-align: center;
}

.social-buttons {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.contact-button:hover,
.contact-button:focus-visible {
  border-color: rgba(255, 255, 255, 0.55);
  filter: brightness(1.08);
}

.facebook-button {
  background: #1877f2;
}

.instagram-button {
  background: linear-gradient(135deg, #833ab4 0%, #fd1d1d 52%, #fcb045 100%);
}

.telegram-button {
  background: #229ed9;
}

.contact-row span {
  color: var(--muted);
}

.contact-row strong {
  text-align: right;
}

.contact-row.muted {
  color: var(--muted);
}

.site-footer {
  padding: 14px var(--page-x) 18px;
  color: var(--muted);
  background: var(--panel);
  text-align: center;
}

.site-footer small {
  font-size: 0.68rem;
}

.corner-mascot {
  position: fixed;
  left: 0;
  bottom: 12px;
  z-index: 30;
  width: clamp(96px, 12vw, 150px);
  border: 0;
  padding: 0;
  background: transparent;
  cursor: pointer;
  animation: future-screen-drift 34s linear infinite;
  opacity: 0.96;
}

.corner-mascot.is-paused {
  animation-play-state: paused;
}

.corner-mascot svg {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
}

.runner-bubble {
  position: absolute;
  left: 52%;
  bottom: calc(100% - 16px);
  transform: translateX(-50%) translateY(8px) scale(0.92);
  min-width: 76px;
  padding: 8px 12px;
  border: 1px solid rgba(147, 245, 255, 0.65);
  border-radius: 8px;
  color: #dff7fb;
  background: rgba(7, 18, 25, 0.92);
  box-shadow: 0 0 22px rgba(56, 189, 248, 0.32);
  font-size: 0.88rem;
  font-weight: 800;
  line-height: 1;
  text-align: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.runner-bubble::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 100%;
  width: 10px;
  height: 10px;
  border-right: 1px solid rgba(147, 245, 255, 0.65);
  border-bottom: 1px solid rgba(147, 245, 255, 0.65);
  background: rgba(7, 18, 25, 0.92);
  transform: translate(-50%, -5px) rotate(45deg);
}

.corner-mascot.is-paused .runner-bubble {
  opacity: 1;
  transform: translateX(-50%) translateY(0) scale(1);
}

.future-runner {
  filter: drop-shadow(0 0 18px rgba(14, 165, 233, 0.46));
}

.future-unit {
  transform-origin: 120px 92px;
  animation: future-hover 3.2s ease-in-out infinite;
}

.future-shadow {
  fill: rgba(0, 0, 0, 0.34);
  transform-origin: 104px 148px;
  animation: future-shadow-pulse 3.2s ease-in-out infinite;
}

.future-trail {
  fill: none;
  stroke: rgba(147, 245, 255, 0.72);
  stroke-width: 4;
  stroke-linecap: round;
  filter: url("#softBlueGlow");
  animation: future-trail-pulse 1.8s ease-in-out infinite;
}

.future-wing,
.future-shell {
  fill: url("#futureBody");
  stroke: rgba(147, 245, 255, 0.9);
  stroke-width: 3;
  stroke-linejoin: round;
}

.future-wing {
  opacity: 0.86;
  transform-origin: 122px 91px;
  animation: future-wing-shift 2.4s ease-in-out infinite;
}

.future-wing.back {
  opacity: 0.62;
}

.future-panel {
  fill: rgba(8, 22, 30, 0.92);
  stroke: rgba(14, 165, 233, 0.9);
  stroke-width: 3;
}

.future-core {
  fill: url("#scannerGlow");
  filter: url("#softBlueGlow");
  animation: future-core-pulse 1.65s ease-in-out infinite;
}

.future-lens,
.future-node {
  fill: #d9fbff;
  filter: url("#softBlueGlow");
}

.future-circuit,
.future-arm,
.future-antenna {
  fill: none;
  stroke: rgba(147, 245, 255, 0.88);
  stroke-width: 4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.future-tool {
  fill: #38bdf8;
  stroke: #d9fbff;
  stroke-width: 3;
  stroke-linejoin: round;
  filter: url("#softBlueGlow");
}

.future-scan {
  fill: none;
  stroke: rgba(56, 189, 248, 0.8);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-dasharray: 12 14;
  filter: url("#softBlueGlow");
  animation: future-scan-sweep 1.25s linear infinite;
}

.mascot-shadow {
  fill: rgba(23, 32, 38, 0.22);
  transform-origin: 88px 165px;
  animation: mascot-shadow 2.8s ease-in-out infinite;
}

.mascot-body {
  transform-origin: 90px 120px;
  animation: mascot-sway 3.2s ease-in-out infinite;
}

.mascot-head,
.mascot-ear {
  fill: #8a7aa8;
  stroke: #172026;
  stroke-width: 4;
  stroke-linejoin: round;
}

.mascot-muzzle {
  fill: #b7abc9;
  stroke: #172026;
  stroke-width: 4;
}

.mascot-eye,
.mascot-nostril {
  fill: #172026;
}

.mascot-smile {
  fill: none;
  stroke: #172026;
  stroke-width: 5;
  stroke-linecap: round;
}

.mascot-shirt {
  fill: var(--teal);
  stroke: #172026;
  stroke-width: 4;
  stroke-linejoin: round;
}

.mascot-tool {
  fill: var(--amber);
  stroke: #172026;
  stroke-width: 4;
  stroke-linejoin: round;
}

.mascot-arm {
  fill: none;
  stroke: #8a7aa8;
  stroke-width: 12;
  stroke-linecap: round;
  animation: mascot-wave 1.6s ease-in-out infinite;
  transform-origin: 130px 128px;
}

.mascot-arm.left {
  animation: none;
}

.dragon-shadow {
  fill: rgba(23, 32, 38, 0.24);
  transform-origin: 106px 198px;
  animation: mascot-shadow 2.8s ease-in-out infinite;
}

.dragon-body {
  transform-origin: 106px 128px;
  animation: dragon-stroll-body 1.45s ease-in-out infinite;
}

.dragon-tail {
  fill: #0f766e;
  stroke: #172026;
  stroke-width: 5;
  stroke-linejoin: round;
  transform-origin: 68px 162px;
  animation: dragon-tail-wag 2s ease-in-out infinite;
}

.dragon-wing {
  fill: #7dd3c7;
  stroke: #172026;
  stroke-width: 5;
  stroke-linecap: round;
  stroke-linejoin: round;
  transform-origin: 134px 94px;
  animation: dragon-wing-flap 2.6s ease-in-out infinite;
}

.dragon-back-spikes {
  fill: #f2b84b;
  stroke: #172026;
  stroke-width: 5;
  stroke-linejoin: round;
  transform-origin: 110px 130px;
  animation: dragon-spikes-breathe 1.45s ease-in-out infinite;
}

.dragon-belly,
.dragon-head {
  fill: #10a37f;
  stroke: #172026;
  stroke-width: 5;
  stroke-linejoin: round;
}

.dragon-chest,
.dragon-snout {
  fill: #d7f5ed;
  stroke: #172026;
  stroke-width: 5;
  stroke-linejoin: round;
}

.dragon-horn,
.dragon-crest {
  fill: #f2b84b;
  stroke: #172026;
  stroke-width: 5;
  stroke-linejoin: round;
}

.dragon-eye,
.dragon-nostril {
  fill: #172026;
  stroke: #172026;
  stroke-width: 5;
  stroke-linecap: round;
}

.dragon-spark {
  fill: #fff;
}

.dragon-smile {
  fill: none;
  stroke: #172026;
  stroke-width: 5;
  stroke-linecap: round;
}

.dragon-arm {
  fill: none;
  stroke: #10a37f;
  stroke-width: 13;
  stroke-linecap: round;
}

.dragon-arm.right {
  transform-origin: 151px 134px;
  animation: mascot-wave 1.7s ease-in-out infinite;
}

.dragon-screwdriver {
  fill: none;
  stroke: #d7f5ed;
  stroke-width: 6;
  stroke-linecap: round;
}

.dragon-screwdriver-handle {
  fill: #f2b84b;
  stroke: #172026;
  stroke-width: 5;
  stroke-linejoin: round;
}

.dragon-leg {
  fill: none;
  stroke: #0f766e;
  stroke-width: 12;
  stroke-linecap: round;
  transform-box: fill-box;
  transform-origin: 50% 0;
}

.dragon-leg.front {
  animation: dragon-front-step 1.45s ease-in-out infinite;
}

.dragon-leg.back {
  opacity: 0.82;
  animation: dragon-back-step 1.45s ease-in-out infinite;
}

.dragon-claws {
  fill: none;
  stroke: #172026;
  stroke-width: 5;
  stroke-linecap: round;
}

@keyframes mascot-walk-screen {
  0% {
    transform: translateX(-96px) translateY(0) scaleX(1);
  }
  46% {
    transform: translateX(calc(100vw - 110px)) translateY(0) scaleX(1);
  }
  50% {
    transform: translateX(calc(100vw - 110px)) translateY(0) scaleX(-1);
  }
  96% {
    transform: translateX(-96px) translateY(0) scaleX(-1);
  }
  100% {
    transform: translateX(-96px) translateY(0) scaleX(1);
  }
}

@keyframes future-screen-drift {
  0% {
    transform: translateX(-170px) translateY(0) scaleX(1);
  }
  22% {
    transform: translateX(24vw) translateY(-18px) scaleX(1);
  }
  46% {
    transform: translateX(calc(100vw - 168px)) translateY(-6px) scaleX(1);
  }
  50% {
    transform: translateX(calc(100vw - 168px)) translateY(-6px) scaleX(-1);
  }
  72% {
    transform: translateX(38vw) translateY(-24px) scaleX(-1);
  }
  96% {
    transform: translateX(-170px) translateY(0) scaleX(-1);
  }
  100% {
    transform: translateX(-170px) translateY(0) scaleX(1);
  }
}

@keyframes future-hover {
  0%, 100% {
    transform: translateY(0) rotate(-1deg);
  }
  50% {
    transform: translateY(-10px) rotate(2deg);
  }
}

@keyframes future-shadow-pulse {
  0%, 100% {
    opacity: 0.7;
    transform: scaleX(1);
  }
  50% {
    opacity: 0.38;
    transform: scaleX(0.72);
  }
}

@keyframes future-trail-pulse {
  0%, 100% {
    opacity: 0.35;
    transform: translateX(0);
  }
  50% {
    opacity: 0.95;
    transform: translateX(-8px);
  }
}

@keyframes future-wing-shift {
  0%, 100% {
    transform: rotate(-2deg);
  }
  50% {
    transform: rotate(3deg);
  }
}

@keyframes future-core-pulse {
  0%, 100% {
    opacity: 0.82;
    transform: scale(0.94);
  }
  50% {
    opacity: 1;
    transform: scale(1.08);
  }
}

@keyframes future-scan-sweep {
  from {
    stroke-dashoffset: 0;
  }
  to {
    stroke-dashoffset: -52;
  }
}

@keyframes dragon-spikes-breathe {
  0%, 100% {
    transform: translateY(0) rotate(-1deg);
  }
  50% {
    transform: translateY(-3px) rotate(2deg);
  }
}

@keyframes dragon-stroll-body {
  0%, 100% {
    transform: translateY(0) rotate(-1deg) skewY(-1deg);
  }
  50% {
    transform: translateY(-4px) rotate(2deg) skewY(1deg);
  }
}

@keyframes dragon-front-step {
  0%, 100% {
    transform: rotate(16deg) translateY(0);
  }
  50% {
    transform: rotate(-18deg) translateY(3px);
  }
}

@keyframes dragon-back-step {
  0%, 100% {
    transform: rotate(-18deg) translateY(3px);
  }
  50% {
    transform: rotate(16deg) translateY(0);
  }
}

.dragon-badge {
  fill: #172026;
  stroke: #f2b84b;
  stroke-width: 4;
  stroke-linejoin: round;
}

.dragon-body text {
  fill: #fff;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 13px;
  font-weight: 800;
}

@keyframes dragon-tail-wag {
  0%, 100% {
    transform: rotate(-7deg);
  }
  50% {
    transform: rotate(9deg);
  }
}

@keyframes dragon-wing-flap {
  0%, 100% {
    transform: rotate(-5deg);
  }
  50% {
    transform: rotate(7deg);
  }
}

@keyframes mascot-bob {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-9px);
  }
}

@keyframes mascot-sway {
  0%, 100% {
    transform: rotate(-2deg);
  }
  50% {
    transform: rotate(3deg);
  }
}

@keyframes mascot-wave {
  0%, 100% {
    transform: rotate(-8deg);
  }
  50% {
    transform: rotate(12deg);
  }
}

@keyframes mascot-shadow {
  0%, 100% {
    transform: scaleX(1);
    opacity: 1;
  }
  50% {
    transform: scaleX(0.82);
    opacity: 0.65;
  }
}

@media (max-width: 900px) {
  .site-header {
    flex-wrap: wrap;
    gap: 12px;
  }

  .nav-toggle {
    display: none;
  }

  .site-nav {
    order: 3;
    width: 100%;
    display: flex;
    align-items: center;
    gap: 8px;
    overflow-x: auto;
    padding: 2px 0 4px;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .site-nav::-webkit-scrollbar {
    display: none;
  }

  .site-nav a {
    flex: 0 0 auto;
    white-space: nowrap;
  }

  .theme-switcher,
  .language-switcher {
    flex: 0 0 auto;
  }

  .services-grid,
  .feature-band,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .feature-image {
    min-height: 330px;
  }
}

@media (max-width: 560px) {
  .site-header {
    padding: 12px 16px;
  }

  .brand {
    flex: 1 1 100%;
  }

  .site-nav {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
    overflow: visible;
  }

  .site-nav a {
    min-width: 0;
    min-height: 38px;
    padding: 8px 6px;
    font-size: 0.8rem;
  }

  .site-nav .home-link {
    width: auto;
    height: 38px;
  }

  .theme-switcher {
    grid-column: 1 / 3;
    justify-self: stretch;
    justify-content: center;
    padding: 3px;
  }

  .language-switcher {
    grid-column: 3 / 5;
    justify-self: stretch;
    flex-direction: row;
    justify-content: center;
  }

  .theme-option {
    width: 31px;
    height: 31px;
  }

  .language-option {
    width: 31px;
    height: 31px;
  }

  .hero {
    min-height: 82vh;
    padding: 150px 18px 36px;
  }

  .hero-media {
    background:
      var(--hero-overlay-mobile),
      url("assets/future-electronics-hero-wm-small.png") center / cover;
  }

  .btn {
    width: 100%;
  }

  .section,
  .feature-band,
  .contact-section {
    padding: 54px 18px;
  }

  .contact-row {
    display: grid;
    gap: 4px;
  }

  .social-buttons {
    grid-template-columns: 1fr 1fr;
  }

  .contact-row strong {
    text-align: left;
  }

  .corner-mascot {
    width: 92px;
    left: 0;
    bottom: 8px;
  }
}
