/*
Theme Name: TecXecute
Theme URI: https://tecxecute.com
Author: TecXecute
Author URI: https://tecxecute.com
Description: Official WordPress theme for TecXecute, a full-stack software house. Fully editable via the Customizer and custom post types for Services, Technology and Clients.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
Tested up to: 6.6
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: tecxecute
*/

/* ==========================================================================
   TecXecute — Software House Website (Light Theme)
   ========================================================================== */

:root {
  --bg: #ffffff;
  --bg-alt: #f4f7fb;
  --surface: #ffffff;
  --surface-2: #eef3f9;
  --border: rgba(15,23,42,0.09);
  --border-2: rgba(15,23,42,0.16);
  --text: #0d1117;
  --text-dim: #4b5768;
  --text-mute: #7a8494;

  --brand: #668ec8;
  --brand-700: #3d5c88;
  --brand-600: #4f74a8;
  --brand-300: #a9c3e2;
  --brand-200: #c9daef;
  --brand-100: #eaf1fa;

  --grad: linear-gradient(135deg, var(--brand), var(--brand-700));
  --grad-text: linear-gradient(135deg, var(--brand-700), var(--brand));

  --green: #1f9d63;
  --red: #d94f4f;
  --yellow: #eab308;

  --radius: 16px;
  --radius-sm: 10px;
  --shadow-lg: 0 30px 60px -20px rgba(15,23,42,0.16);
  --shadow-md: 0 15px 35px -15px rgba(15,23,42,0.14);
  --container: 1180px;
  --ff-body: 'Plus Jakarta Sans', system-ui, -apple-system, Segoe UI, sans-serif;
  --ff-mono: 'JetBrains Mono', ui-monospace, Menlo, monospace;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--ff-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

ul { list-style: none; }

button, input, textarea, select { font-family: inherit; font-size: inherit; color: inherit; }

.screen-reader-text {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(1px,1px,1px,1px); white-space: nowrap;
}
.screen-reader-text:focus {
  position: fixed; top: 10px; left: 10px; width: auto; height: auto;
  clip: auto; z-index: 100000; padding: 12px 18px; background: #fff;
  color: var(--text); border-radius: 8px; box-shadow: var(--shadow-md);
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.grad {
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section { padding: 110px 0; position: relative; }
.section--alt { background: var(--bg-alt); }

.eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--brand-700);
  margin-bottom: 14px;
}

.section__head { max-width: 640px; margin: 0 auto 60px; text-align: center; }
.section__title {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 16px;
  color: var(--text);
}
.section__sub { color: var(--text-dim); font-size: 17px; }

/* ---------- reveal-on-scroll ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1);
}
[data-reveal].is-visible { opacity: 1; transform: translateY(0); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 24px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease, border-color .25s ease;
  white-space: nowrap;
}
.btn svg { transition: transform .25s ease; }
.btn:hover svg { transform: translateX(3px); }

.btn--primary {
  background: var(--grad);
  color: #fff;
  box-shadow: 0 14px 30px -10px rgba(102,142,200,0.55);
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 18px 40px -12px rgba(102,142,200,0.65); }

.btn--ghost {
  background: #fff;
  border-color: var(--border-2);
  color: var(--text);
}
.btn--ghost:hover { background: var(--brand-100); border-color: var(--brand-300); transform: translateY(-2px); }

.btn--light { background: #fff; color: var(--brand-700); }
.btn--light:hover { transform: translateY(-2px); box-shadow: 0 18px 40px -12px rgba(0,0,0,0.2); }

.btn--lg { padding: 16px 30px; font-size: 16px; }
.btn--block { width: 100%; }

/* ---------- pill ---------- */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 999px;
  background: var(--brand-100);
  border: 1px solid var(--brand-200);
  font-size: 13px;
  font-weight: 600;
  color: var(--brand-700);
  margin-bottom: 26px;
}
.pill__dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 0 0 rgba(102,142,200,0.6);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(102,142,200,0.55); }
  70% { box-shadow: 0 0 0 8px rgba(102,142,200,0); }
  100% { box-shadow: 0 0 0 0 rgba(102,142,200,0); }
}

/* ==========================================================================
   Preloader
   ========================================================================== */
.preloader {
  position: fixed; inset: 0; z-index: 9999;
  background: var(--bg);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 26px;
  transition: opacity .6s ease, visibility .6s ease;
}
.preloader.is-hidden { opacity: 0; visibility: hidden; }
.preloader__mark { width: 200px; height: auto; }
.preloader__bar { width: 160px; height: 3px; background: var(--border); border-radius: 999px; overflow: hidden; }
.preloader__bar i {
  display: block; height: 100%; width: 40%;
  background: var(--grad);
  border-radius: 999px;
  animation: loadbar 1.1s ease-in-out infinite;
}
@keyframes loadbar {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(350%); }
}

/* ==========================================================================
   Header
   ========================================================================== */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 900;
  padding: 20px 0;
  transition: background .35s ease, padding .35s ease, border-color .35s ease, backdrop-filter .35s ease, box-shadow .35s ease;
  border-bottom: 1px solid transparent;
}
.header.is-scrolled {
  padding: 12px 0;
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom-color: var(--border);
  box-shadow: 0 8px 30px -20px rgba(15,23,42,0.25);
}
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.logo { display: inline-flex; align-items: center; }
.logo__img { height: 34px; width: auto; display: block; }

.nav { display: flex; align-items: center; gap: 30px; }
.nav__list { display: flex; align-items: center; gap: 28px; }
.nav__link {
  font-size: 14.5px; font-weight: 600; color: var(--text-dim);
  position: relative; padding: 4px 0; transition: color .25s ease;
}
.nav__link::after {
  content: ''; position: absolute; left: 0; bottom: -4px; height: 2px; width: 0;
  background: var(--grad); transition: width .25s ease; border-radius: 2px;
}
.nav__link:hover, .nav__link.is-active { color: var(--text); }
.nav__link:hover::after, .nav__link.is-active::after { width: 100%; }

.nav__cta { padding: 10px 22px; font-size: 14px; }

.burger {
  display: none; flex-direction: column; justify-content: center; gap: 5px;
  width: 40px; height: 40px; background: none; border: 1px solid var(--border-2);
  border-radius: 10px; cursor: pointer;
}
.burger span { width: 18px; height: 2px; background: var(--text); margin: 0 auto; transition: transform .3s ease, opacity .3s ease; border-radius: 2px; }
.burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.is-open span:nth-child(2) { opacity: 0; }
.burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  padding: 170px 0 110px;
  position: relative;
  overflow: hidden;
}
.hero__grid-bg {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(15,23,42,0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15,23,42,0.045) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 20%, black 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 20%, black 20%, transparent 75%);
}
.hero__orb {
  position: absolute; border-radius: 50%; filter: blur(90px); opacity: .45; z-index: 0;
  animation: float 9s ease-in-out infinite;
}
.hero__orb--1 { width: 420px; height: 420px; background: var(--brand-300); top: -120px; right: -80px; }
.hero__orb--2 { width: 340px; height: 340px; background: var(--brand-200); bottom: -140px; left: -100px; animation-delay: -4s; }
@keyframes float {
  0%, 100% { transform: translateY(0) translateX(0); }
  50% { transform: translateY(-25px) translateX(15px); }
}

.hero__inner {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 60px; align-items: center;
}

.hero__title {
  font-size: clamp(36px, 5.2vw, 58px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 22px;
  color: var(--text);
}
.hero__text { font-size: 18px; color: var(--text-dim); max-width: 540px; margin-bottom: 34px; }
.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 46px; }

.hero__trust { display: flex; gap: 40px; }
.hero__trust li { display: flex; flex-direction: column; gap: 2px; }
.hero__trust strong { font-size: 26px; font-weight: 800; color: var(--text); }
.hero__trust span { font-size: 13px; color: var(--text-mute); }

/* ---- hero visual: code card (intentionally dark for contrast) ---- */
.hero__visual { position: relative; }

.code-card {
  background: #10151f;
  border: 1px solid #232b3a;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  transform: rotate(1.2deg);
  transition: transform .4s ease;
}
.code-card:hover { transform: rotate(0deg); }
.code-card__bar {
  display: flex; align-items: center; gap: 8px;
  padding: 12px 16px; background: rgba(255,255,255,0.03); border-bottom: 1px solid #232b3a;
}
.dot { width: 10px; height: 10px; border-radius: 50%; }
.dot--r { background: #ff5f57; } .dot--y { background: #febc2e; } .dot--g { background: #28c840; }
.code-card__file { margin-left: 10px; font-family: var(--ff-mono); font-size: 12px; color: #6c7793; }
.code-card__body {
  padding: 24px 22px; font-family: var(--ff-mono); font-size: 13.5px; line-height: 1.9;
  color: #cbd3f0; overflow-x: auto;
}
.c-key { color: #ff79c6; } .c-str { color: #a5f3b0; } .c-fn { color: #82aaff; }
.c-cls { color: #ffd479; } .c-num { color: #f78c6c; } .c-com { color: #5c6584; }

.float-card {
  position: absolute; display: flex; align-items: center; gap: 12px;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border-2);
  border-radius: 14px; padding: 12px 16px;
  box-shadow: var(--shadow-md);
  animation: floaty 5s ease-in-out infinite;
}
.float-card strong { display: block; font-size: 13.5px; color: var(--text); }
.float-card small { color: var(--text-mute); font-size: 12px; }
.float-card__icon { width: 34px; height: 34px; border-radius: 10px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.float-card__icon.ok { background: rgba(31,157,99,0.14); color: var(--green); }
.float-card__icon.up { background: var(--brand-100); color: var(--brand-700); }

.float-card--a { top: -18px; right: -10px; animation-delay: -1s; }
.float-card--b { bottom: -22px; left: -18px; animation-delay: -3s; }
@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* ==========================================================================
   Grids / Cards
   ========================================================================== */
.grid { display: grid; gap: 26px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  box-shadow: var(--shadow-md);
  transition: transform .35s ease, border-color .35s ease, box-shadow .35s ease, background .35s ease;
}
.card:hover {
  transform: translateY(-6px);
  border-color: var(--brand-200);
  box-shadow: var(--shadow-lg);
}

.card__icon {
  width: 52px; height: 52px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  background: var(--brand-100);
  color: var(--brand-700); margin-bottom: 20px;
  overflow: hidden;
}
.card__icon img { width: 26px; height: 26px; object-fit: contain; }
.service h3 { font-size: 19px; font-weight: 700; margin-bottom: 10px; color: var(--text); }
.service p { color: var(--text-dim); font-size: 15px; margin-bottom: 18px; }
.card__list { display: flex; flex-direction: column; gap: 8px; }
.card__list li {
  font-size: 13.5px; color: var(--text-mute); padding-left: 20px; position: relative;
}
.card__list li::before {
  content: ''; position: absolute; left: 0; top: 8px; width: 6px; height: 6px;
  border-radius: 50%; background: var(--brand);
}

/* ==========================================================================
   Technology
   ========================================================================== */
.tech-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 18px;
}
.tech-chip {
  display: flex; align-items: center; gap: 14px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 16px 20px;
  box-shadow: var(--shadow-md);
  transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease;
}
.tech-chip:hover { transform: translateY(-4px); border-color: var(--brand-200); box-shadow: var(--shadow-lg); }
.tech-chip span:last-child { font-size: 15px; font-weight: 700; color: var(--text); }
.tech-chip__icon {
  width: 42px; height: 42px; flex-shrink: 0; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  background: var(--bg-alt);
  border: 1px solid var(--border);
}
.tech-chip__icon img { width: 24px; height: 24px; object-fit: contain; }

/* ==========================================================================
   Product Spotlight
   ========================================================================== */
.product-spotlight {
  display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 60px; align-items: center;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 48px;
  box-shadow: var(--shadow-lg);
}
.product-spotlight__visual { text-align: center; }
.product-mark {
  font-size: 44px; font-weight: 800; letter-spacing: -0.02em;
  padding: 40px 20px;
  border-radius: 18px;
  background: var(--brand-100);
  border: 1px solid var(--brand-200);
  margin-bottom: 24px;
}
.product-metrics { display: flex; justify-content: center; gap: 24px; flex-wrap: wrap; }
.product-metrics li { display: flex; flex-direction: column; gap: 2px; }
.product-metrics strong { font-size: 22px; font-weight: 800; color: var(--text); }
.product-metrics span { font-size: 12.5px; color: var(--text-mute); }
.product-spotlight__content h3 { font-size: 24px; font-weight: 800; margin-bottom: 14px; letter-spacing: -0.01em; color: var(--text); }
.product-spotlight__content p { color: var(--text-dim); font-size: 15.5px; margin-bottom: 20px; }
.product-spotlight__content .check-list { margin-bottom: 28px; }

/* ==========================================================================
   About
   ========================================================================== */
.about { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 70px; align-items: center; }

.stat-stack {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 40px 34px;
  box-shadow: var(--shadow-lg);
}
.stat-stack__main { padding-bottom: 28px; border-bottom: 1px solid var(--border); margin-bottom: 26px; }
.stat-stack__main .counter { font-size: 64px; font-weight: 800; line-height: 1; background: var(--grad-text); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.stat-stack__main .pct { font-size: 30px; font-weight: 800; color: var(--brand-700); }
.stat-stack__main p { margin-top: 12px; color: var(--text-dim); font-size: 15px; max-width: 280px; }
.stat-stack__row { display: flex; justify-content: space-between; gap: 10px; }
.stat-stack__row .counter { font-size: 26px; font-weight: 800; color: var(--text); }
.stat-stack__row small { display: block; color: var(--text-mute); font-size: 12.5px; margin-top: 4px; }

.about__content p { color: var(--text-dim); margin-bottom: 16px; font-size: 16px; }
.check-list { margin: 22px 0 30px; display: flex; flex-direction: column; gap: 13px; }
.check-list li { display: flex; align-items: center; gap: 10px; font-size: 15px; color: var(--text); }
.check-list li::before {
  content: '✓'; width: 22px; height: 22px; border-radius: 50%; flex-shrink: 0;
  background: var(--brand-100); color: var(--brand-700); font-size: 12px; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
}

/* ==========================================================================
   Clients
   ========================================================================== */
.clients-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.client-logo {
  aspect-ratio: 2 / 1;
  display: flex; align-items: center; justify-content: center;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  color: var(--text-mute);
  padding: 16px;
  transition: transform .3s ease, color .3s ease, border-color .3s ease, box-shadow .3s ease;
}
.client-logo svg { width: 46px; height: 46px; }
.client-logo img { max-width: 70%; max-height: 60%; object-fit: contain; }
.client-logo:hover {
  transform: translateY(-4px);
  color: var(--brand-700);
  border-color: var(--brand-200);
  box-shadow: var(--shadow-lg);
}

/* ==========================================================================
   CTA band
   ========================================================================== */
.cta-band {
  background: var(--grad);
  padding: 64px 0;
  position: relative;
  overflow: hidden;
}
.cta-band__inner {
  display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap;
  position: relative; z-index: 1;
}
.cta-band h2 { font-size: 30px; font-weight: 800; margin-bottom: 8px; color: #fff; }
.cta-band p { color: rgba(255,255,255,0.88); max-width: 480px; font-size: 15.5px; }

/* ==========================================================================
   Contact
   ========================================================================== */
.contact { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 60px; }

.contact__list { margin: 30px 0; display: flex; flex-direction: column; gap: 20px; }
.contact__list li { display: flex; align-items: center; gap: 14px; }
.contact__icon {
  width: 44px; height: 44px; border-radius: 12px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  background: var(--brand-100); border: 1px solid var(--brand-200); color: var(--brand-700);
}
.contact__list small { display: block; color: var(--text-mute); font-size: 12.5px; margin-bottom: 2px; }
.contact__list a, .contact__list span { font-size: 15px; font-weight: 600; color: var(--text); }
.contact__list a:hover { color: var(--brand-700); }

.socials { display: flex; gap: 10px; }
.socials a {
  width: 40px; height: 40px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  background: var(--surface); border: 1px solid var(--border); color: var(--text);
  transition: transform .25s ease, border-color .25s ease, color .25s ease, background .25s ease;
}
.socials a:hover { transform: translateY(-3px); border-color: var(--brand-300); color: var(--brand-700); background: var(--brand-100); }

.contact__form { display: flex; flex-direction: column; gap: 18px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field label { font-size: 13.5px; font-weight: 600; color: var(--text-dim); }
.field label .opt { font-weight: 400; color: var(--text-mute); }
.field input, .field select, .field textarea {
  background: var(--bg-alt);
  border: 1px solid var(--border-2);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  color: var(--text);
  transition: border-color .25s ease, box-shadow .25s ease;
  resize: vertical;
}
.field input::placeholder, .field textarea::placeholder { color: var(--text-mute); }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(102,142,200,0.18);
}
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: var(--red); }
.error { font-size: 12.5px; color: var(--red); min-height: 15px; display: block; }

.form-note { text-align: center; font-size: 14px; min-height: 18px; }
.form-note.success { color: var(--brand-700); }
.form-note.error { color: var(--red); }

/* ==========================================================================
   Footer
   ========================================================================== */
.footer { background: var(--bg-alt); border-top: 1px solid var(--border); padding: 70px 0 0; }
.footer__grid {
  display: grid; grid-template-columns: 1.3fr 0.8fr 0.8fr 1.1fr; gap: 50px;
  padding-bottom: 50px; border-bottom: 1px solid var(--border);
}
.footer__brand .logo__img { height: 32px; }
.footer__brand p { color: var(--text-mute); font-size: 14.5px; margin-top: 16px; max-width: 280px; }
.footer__col h4 { font-size: 14.5px; margin-bottom: 18px; color: var(--text); }
.footer__col ul { display: flex; flex-direction: column; gap: 12px; }
.footer__col a { color: var(--text-mute); font-size: 14.5px; transition: color .2s ease; }
.footer__col a:hover { color: var(--brand-700); }
.footer__news p { color: var(--text-mute); font-size: 14px; margin-bottom: 16px; }
.news-form { display: flex; gap: 8px; }
.news-form input {
  flex: 1; background: var(--surface); border: 1px solid var(--border-2);
  border-radius: var(--radius-sm); padding: 11px 14px; color: var(--text); min-width: 0;
}
.news-form input:focus { outline: none; border-color: var(--brand); }
.news-form .btn { padding: 11px 16px; }

.footer__bottom {
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px 0; font-size: 13.5px; color: var(--text-mute); flex-wrap: wrap; gap: 12px;
}
.footer__bottom ul { display: flex; gap: 24px; }
.footer__bottom a:hover { color: var(--brand-700); }

/* ==========================================================================
   Back to top
   ========================================================================== */
.to-top {
  position: fixed; right: 26px; bottom: 26px; z-index: 400;
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--grad); color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-md);
  opacity: 0; visibility: hidden; transform: translateY(12px);
  transition: opacity .3s ease, transform .3s ease, visibility .3s ease;
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.to-top:hover { transform: translateY(-4px); }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1080px) {
  .container { max-width: 940px; }
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .clients-grid { grid-template-columns: repeat(3, 1fr); }
  .about, .contact { grid-template-columns: 1fr; }
  .about__visual { max-width: 460px; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .product-spotlight { grid-template-columns: 1fr; padding: 36px; }
  .product-spotlight__visual { max-width: 420px; margin: 0 auto; }
}

@media (max-width: 860px) {
  .nav { position: fixed; top: 0; right: -100%; height: 100vh; width: min(340px, 82vw);
    background: rgba(255,255,255,0.98); backdrop-filter: blur(16px);
    flex-direction: column; align-items: flex-start; justify-content: flex-start;
    padding: 100px 32px 40px; gap: 40px; transition: right .4s cubic-bezier(.2,.7,.2,1);
    border-left: 1px solid var(--border); z-index: 800;
    box-shadow: -20px 0 50px -20px rgba(15,23,42,0.2);
  }
  .nav.is-open { right: 0; }
  .nav__list { flex-direction: column; align-items: flex-start; gap: 22px; }
  .nav__link { font-size: 17px; }
  .nav__cta { width: 100%; }
  .burger { display: flex; }

  .hero__inner { grid-template-columns: 1fr; }
  .hero__visual { order: -1; max-width: 480px; margin: 0 auto 20px; }
  .hero { padding-top: 150px; }
  .hero__trust { gap: 26px; }

  .grid--3 { grid-template-columns: 1fr; }
  .clients-grid { grid-template-columns: repeat(2, 1fr); }
  .tech-grid { grid-template-columns: repeat(2, 1fr); }
  .product-spotlight { padding: 28px; }
  .product-mark { font-size: 34px; padding: 30px 16px; }
  .field-row { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; gap: 34px; }
  .cta-band__inner { text-align: center; justify-content: center; }
  .cta-band__inner p { margin: 0 auto; }
}

@media (max-width: 480px) {
  .section { padding: 80px 0; }
  .hero { padding-top: 130px; padding-bottom: 70px; }
  .hero__actions .btn { width: 100%; }
  .float-card { display: none; }
  .stat-stack__main .counter { font-size: 48px; }
  .footer__bottom { flex-direction: column; text-align: center; }
}
