/* ===== POWERTRONIQ — minimal ===== */
:root {
  /* Dark theme. Variable names kept for compatibility; values remapped to dark. */
  --white: #000000;                  /* page background */
  --soft: #161617;                   /* lifted surface: alt sections, footer */
  --ink: #f5f5f7;                    /* primary text */
  --ink-2: #a1a1a6;                  /* secondary text */
  --line: rgba(255, 255, 255, 0.14); /* hairline borders */
  --line-dark: rgba(255, 255, 255, 0.14);
  --blue: #2997ff;                   /* accent (brighter for dark) */
  --blue-dark: #2997ff;
  --black: #161617;                  /* feature-band surface */
  --surface: #1d1d1f;                /* inputs, chips */
  --nav-h: 48px;
  --maxw: 980px;
  --maxw-wide: 1200px;
  --ease: cubic-bezier(0.28, 0.11, 0.32, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: var(--nav-h); -webkit-text-size-adjust: 100%; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text",
    "Helvetica Neue", "Inter", Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.47;
  letter-spacing: -0.01em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
svg { display: block; }

/* ===== Chevron links ===== */
.links { display: flex; gap: 28px; flex-wrap: wrap; justify-content: center; }
.chevron {
  color: var(--blue);
  font-size: 1.0625rem;
  font-weight: 400;
  display: inline-flex;
  align-items: center;
}
.chevron::after { content: "\203A"; margin-left: 4px; font-size: 1.2em; line-height: 0; transition: transform 0.25s var(--ease); }
.chevron:hover { text-decoration: underline; }
.chevron:hover::after { transform: translateX(3px); }

/* ===== Pill button ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.0625rem;
  font-weight: 400;
  padding: 12px 24px;
  border-radius: 980px;
  border: 0;
  cursor: pointer;
  transition: background 0.2s var(--ease), transform 0.2s var(--ease);
  font-family: inherit;
}
.btn--primary { background: var(--blue); color: #fff; }
.btn--primary:hover { background: #0077ed; }
.btn--primary:active { transform: scale(0.98); }

/* ===== Kicker / eyebrow ===== */
.eyebrow {
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--ink-2);
  margin-bottom: 6px;
}
.kicker {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--blue);
  margin-bottom: 6px;
  letter-spacing: 0;
}
.band--dark .kicker { color: var(--blue-dark); }
.tile .kicker { color: #5fb8ff; text-shadow: 0 1px 16px rgba(0, 0, 0, 0.45); }

/* ===== Nav ===== */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--nav-h);
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.nav__inner {
  max-width: var(--maxw-wide); height: 100%; margin-inline: auto;
  padding-inline: 22px;
  display: flex; align-items: center; justify-content: space-between;
}
.brand { display: inline-flex; align-items: center; gap: 7px; }
.brand__logo { height: 24px; width: auto; display: block; }
.brand__bolt { width: 17px; height: 17px; fill: var(--ink); }
.brand__text { font-weight: 600; font-size: 1.0625rem; letter-spacing: -0.01em; }

.nav__links { display: flex; align-items: center; gap: 30px; }
.nav__links a { font-size: 0.8125rem; color: var(--ink); opacity: 0.82; transition: opacity 0.2s; }
.nav__links a:hover { opacity: 1; }
.nav__cta { color: var(--blue) !important; opacity: 1 !important; font-weight: 500; }

.nav__right { display: flex; align-items: center; gap: 20px; }

/* ===== Language picker ===== */
.nav__lang { display: inline-flex; align-items: center; gap: 6px; cursor: pointer; }
.nav__lang-globe { width: 15px; height: 15px; fill: none; stroke: var(--ink-2); stroke-width: 1.6; opacity: 0.85; }
.nav__lang select {
  appearance: none; -webkit-appearance: none;
  background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='7' viewBox='0 0 10 7'%3E%3Cpath fill='%238e8e93' d='M5 7 0 0h10z'/%3E%3C/svg%3E") no-repeat right 9px center;
  color: var(--ink);
  border: 1px solid var(--line); border-radius: 980px;
  font-family: inherit; font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.02em;
  padding: 5px 25px 5px 12px; cursor: pointer;
  transition: border-color 0.2s, background-color 0.2s;
}
.nav__lang select:hover { border-color: rgba(255, 255, 255, 0.32); }
.nav__lang select:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }

.nav__toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 8px 4px; }
.nav__toggle span { width: 18px; height: 1.5px; background: var(--ink); transition: transform 0.3s var(--ease), opacity 0.3s; }
.nav__toggle.is-open span:nth-child(1) { transform: translateY(3.25px) rotate(45deg); }
.nav__toggle.is-open span:nth-child(2) { transform: translateY(-3.25px) rotate(-45deg); }

/* ===== Hero ===== */
.hero {
  padding: calc(var(--nav-h) + 72px) 22px 80px;
  text-align: center;
  background: var(--white);
}
.hero__copy { max-width: 820px; margin-inline: auto; }
.hero__title {
  font-size: clamp(2.6rem, 6.4vw, 4.5rem);
  line-height: 1.06;
  font-weight: 600;
  letter-spacing: -0.015em;
  margin-bottom: 18px;
}
.hero__sub {
  font-size: clamp(1.2rem, 2.5vw, 1.6rem);
  line-height: 1.35;
  font-weight: 400;
  color: var(--ink-2);
  max-width: 640px;
  margin: 0 auto 26px;
}
.hero__photo {
  max-width: 1120px;
  margin: 60px auto 0;
  border-radius: 28px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 40px 90px -30px rgba(0, 0, 0, 0.7);
  transform: scale(0.98);
  transition: transform 1s var(--ease), opacity 1s var(--ease);
}
.hero__photo.is-visible { transform: scale(1); }
.hero__photo img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 8.5;
  object-fit: cover;
  object-position: center 44%;
}
@media (max-width: 740px) {
  .hero__photo { border-radius: 20px; margin-top: 44px; }
  .hero__photo img { aspect-ratio: 4 / 3; }
}

/* ===== Band (full-width feature) ===== */
.band { padding: 110px 22px; text-align: center; }
.band--dark { background: var(--black); color: var(--ink); }
.band__copy { max-width: 760px; margin-inline: auto; }
.band__title {
  font-size: clamp(2.1rem, 4.8vw, 3.5rem);
  line-height: 1.08;
  font-weight: 600;
  letter-spacing: -0.015em;
  margin-bottom: 16px;
}
.band__sub {
  font-size: clamp(1.1rem, 2.2vw, 1.375rem);
  color: #a1a1a6;
  max-width: 600px;
  margin-inline: auto;
}
.figures {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 30px; max-width: 880px; margin: 64px auto 0;
}
.figure__num {
  display: block;
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1;
}
.figure__label { display: block; margin-top: 10px; font-size: 1rem; color: #a1a1a6; }

/* ===== Tiles (full-bleed photography) ===== */
.tiles {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  padding: 12px;
  background: var(--white);
}
.tile {
  position: relative;
  isolation: isolate;
  min-height: 560px;
  border-radius: 22px;
  padding: 50px 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  overflow: hidden;
  color: #fff;
}
.tile::before { /* photo layer */
  content: "";
  position: absolute; inset: 0; z-index: -2;
  background-size: cover;
  background-position: center;
  transition: transform 0.9s var(--ease);
}
.tile::after { /* legibility scrim */
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.68) 0%,
    rgba(0, 0, 0, 0.34) 30%,
    rgba(0, 0, 0, 0) 58%,
    rgba(0, 0, 0, 0.22) 100%
  );
}
.tile:hover::before { transform: scale(1.045); }
#industrial::before { background-image: url("images/industrial.jpg"); }
#commercial::before { background-image: url("images/commercial.jpg"); }
#agricultural::before { background-image: url("images/agricultural.jpg"); }
#solutions::before { background-image: url("images/solutions.jpg"); }
#personal::before { background-image: url("images/personal.jpg"); background-position: center 60%; }
.tile--wide { grid-column: 1 / -1; min-height: 440px; }
.tile__head { max-width: 460px; }
.tile__title {
  font-size: clamp(1.9rem, 3.4vw, 2.75rem);
  line-height: 1.1;
  font-weight: 600;
  letter-spacing: -0.012em;
  margin-bottom: 12px;
  text-shadow: 0 1px 24px rgba(0, 0, 0, 0.3);
}
.tile__sub {
  font-size: clamp(1.0625rem, 1.6vw, 1.25rem);
  color: rgba(255, 255, 255, 0.92);
  margin-bottom: 18px;
  text-shadow: 0 1px 18px rgba(0, 0, 0, 0.32);
}
.tile .chevron { color: #fff; }

/* ===== Generic section ===== */
.section { padding: 110px 22px; }
.section--soft { background: var(--soft); }
.section__head { max-width: 720px; margin: 0 auto 56px; text-align: center; }
.section__title {
  font-size: clamp(2rem, 4.4vw, 3.25rem);
  line-height: 1.08;
  font-weight: 600;
  letter-spacing: -0.015em;
}
.section__sub { margin-top: 14px; font-size: clamp(1.1rem, 2vw, 1.375rem); color: var(--ink-2); }

/* ===== Process ===== */
.process {
  list-style: none;
  max-width: var(--maxw); margin-inline: auto;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
}
.process li { text-align: center; }
.process__num {
  width: 44px; height: 44px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--surface); border: 1px solid var(--line);
  font-size: 1.125rem; font-weight: 600; color: var(--ink);
  margin-bottom: 16px;
}
.process h3 { font-size: 1.25rem; font-weight: 600; margin-bottom: 6px; }
.process p { font-size: 1rem; color: var(--ink-2); }

/* ===== Form ===== */
.form { max-width: 600px; margin-inline: auto; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form label { display: flex; flex-direction: column; gap: 7px; font-size: 0.9375rem; font-weight: 500; color: var(--ink); margin-bottom: 16px; }
.form input, .form select, .form textarea {
  font-family: inherit; font-size: 1.0625rem;
  padding: 13px 15px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface); color: var(--ink);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.form input::placeholder, .form textarea::placeholder { color: #6e6e73; }
.form input:focus, .form select:focus, .form textarea:focus {
  outline: none; border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(41, 151, 255, 0.25);
}
.form select { appearance: none; -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%238e8e93' d='M6 8 0 0h12z'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center; }
.form textarea { resize: vertical; }
.form .btn--primary { width: 100%; margin-top: 6px; padding: 15px; }
.form__note { margin-top: 14px; text-align: center; color: #30d158; font-size: 0.95rem; }

/* ===== Footer ===== */
.footer { background: var(--soft); padding: 0 22px; font-size: 0.875rem; color: var(--ink-2); }
.footer__inner { max-width: var(--maxw-wide); margin-inline: auto; }
.footer__lead { padding: 34px 0; border-bottom: 1px solid var(--line); }
.footer__lead a { color: var(--blue); }
.footer__lead a:hover { text-decoration: underline; }
.footer__nav { display: flex; flex-wrap: wrap; gap: 14px 26px; padding: 22px 0; }
.footer__nav a:hover { color: var(--ink); text-decoration: underline; }
.footer__bar { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 20px 0 30px; border-top: 1px solid var(--line); color: #86868b; }

/* ===== Reveal ===== */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }

/* ===== Responsive ===== */
@media (max-width: 860px) {
  .figures { grid-template-columns: repeat(2, 1fr); gap: 40px 30px; }
  .process { grid-template-columns: repeat(2, 1fr); gap: 36px 24px; }
}
/* Nav collapses to a hamburger early enough that the full link row never
   crowds the brand or wraps — the longest language (e.g. SK) needs the room. */
@media (max-width: 1024px) {
  .nav__links {
    position: fixed; inset: var(--nav-h) 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: rgba(0, 0, 0, 0.96);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    padding: 8px 22px 22px;
    border-bottom: 1px solid var(--line);
    transform: translateY(-10px); opacity: 0; pointer-events: none;
    transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
  }
  .nav__links.is-open { transform: none; opacity: 1; pointer-events: auto; }
  .nav__links a { font-size: 1.0625rem; padding: 14px 2px; border-bottom: 1px solid var(--line); opacity: 1; }
  .nav__links a:last-child { border-bottom: 0; }
  .nav__toggle { display: flex; }
}
@media (max-width: 740px) {
  .tiles { grid-template-columns: 1fr; }
  .tile { min-height: 480px; padding: 48px 28px; }
  .band { padding: 84px 22px; }
  .section { padding: 84px 22px; }
}
@media (max-width: 460px) {
  .form__row { grid-template-columns: 1fr; }
  .figures { grid-template-columns: 1fr; }
  .footer__bar { flex-direction: column; }
}

/* ===== Footer contact icons ===== */
.footer__contact { display: flex; gap: 12px; padding: 2px 0 24px; }
.icon-btn {
  width: 42px; height: 42px; border-radius: 50%;
  display: grid; place-items: center;
  border: 1px solid var(--line);
  color: var(--ink-2);
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease), background-color 0.2s var(--ease), transform 0.2s var(--ease);
}
.icon-btn svg { width: 19px; height: 19px; fill: currentColor; }
.icon-btn:hover { transform: translateY(-2px); }
.icon-btn--wa:hover { color: #fff; background: #25d366; border-color: #25d366; }
.icon-btn--phone:hover, .icon-btn--mail:hover { color: var(--blue); border-color: var(--blue); }

/* ===== Floating WhatsApp button ===== */
.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 200;
  width: 56px; height: 56px; border-radius: 50%;
  display: grid; place-items: center;
  background: #25d366;
  box-shadow: 0 10px 30px -6px rgba(37, 211, 102, 0.5), 0 4px 12px rgba(0, 0, 0, 0.35);
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.wa-float svg { width: 32px; height: 32px; fill: #fff; }
.wa-float:hover { transform: translateY(-3px) scale(1.05); box-shadow: 0 16px 40px -6px rgba(37, 211, 102, 0.65), 0 6px 14px rgba(0, 0, 0, 0.4); }
.wa-float:active { transform: scale(0.97); }
@media (max-width: 740px) {
  .wa-float { right: 16px; bottom: 16px; width: 52px; height: 52px; }
  .wa-float svg { width: 30px; height: 30px; }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; }
  .reveal, .hero__area, .hero__line--tuned, .hero__dot { opacity: 1 !important; transform: none !important; stroke-dashoffset: 0 !important; transition: none !important; }
  .wa-float, .icon-btn { transition: none !important; }
}

/* ===== File-service page ===== */
.nav__links a.is-current { opacity: 1; color: var(--blue); }
.back-link { display: inline-block; color: var(--blue); font-size: 1rem; margin-bottom: 18px; }
.back-link:hover { text-decoration: underline; }

.fs-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 16px; max-width: var(--maxw); margin-inline: auto;
}
.fs-card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: 18px; padding: 28px 26px; text-align: left;
  transition: border-color 0.2s var(--ease), transform 0.2s var(--ease);
}
.fs-card:hover { border-color: rgba(255, 255, 255, 0.3); transform: translateY(-3px); }
.fs-card__ico {
  width: 38px; height: 38px; border-radius: 11px;
  display: grid; place-items: center; margin-bottom: 16px;
  background: rgba(41, 151, 255, 0.14); color: var(--blue);
}
.fs-card__ico svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; }
.fs-card h3 { font-size: 1.1875rem; font-weight: 600; margin-bottom: 8px; }
.fs-card p { font-size: 1rem; color: var(--ink-2); }

.fs-hint { max-width: 600px; margin: 16px auto 0; text-align: center; font-size: 0.9375rem; color: var(--ink-2); }

@media (max-width: 860px) { .fs-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .fs-grid { grid-template-columns: 1fr; } }
