:root {
  --primary: #00cc66;
  --primary-dark: #009d4f;
  --primary-soft: rgba(0, 204, 102, 0.11);
  --bg: #0f1010;
  --bg-alt: #151616;
  --card: #171919;
  --card-2: #1d1f1f;
  --text: #f5f7f6;
  --muted: #a9afac;
  --line: rgba(255, 255, 255, 0.085);
  --line-strong: rgba(255, 255, 255, 0.14);
  --header: rgba(15, 16, 16, 0.80);
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
  --font-primary: 'Rajdhani', sans-serif;
  --font-secondary: 'Orbitron', sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-primary);
  line-height: 1.55;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
img { max-width: 100%; display: block; }
.container { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }

/* Header */
header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 1000;
  border-bottom: 1px solid transparent;
  transition: background .25s ease, border-color .25s ease, box-shadow .25s ease;
}
header.sticky {
  background: var(--header);
  backdrop-filter: blur(18px) saturate(120%);
  -webkit-backdrop-filter: blur(18px) saturate(120%);
  border-color: var(--line);
  box-shadow: 0 10px 34px rgba(0,0,0,.08);
}
.nav-shell { height: 82px; display: flex; align-items: center; gap: 24px; }
.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-right: auto;
  font-family: var(--font-secondary);
  font-weight: 700;
  letter-spacing: -.3px;
}
.brand img { width: 42px; height: 42px; object-fit: contain; filter: drop-shadow(0 0 14px rgba(0,204,102,.08)); }
nav { flex: 0 0 auto; }
nav ul { display: flex; align-items: center; gap: 27px; list-style: none; }
.nav-link, .dropdown-toggle {
  border: 0;
  background: none;
  color: var(--text);
  cursor: pointer;
  font-weight: 600;
  font-size: 15px;
  opacity: .9;
  position: relative;
  padding: 9px 0;
}
.nav-link::after, .dropdown-toggle::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: width .2s ease;
}
.nav-link:hover, .nav-link.active, .dropdown-toggle:hover, .nav-dropdown.active > .dropdown-toggle { color: var(--primary); }
.nav-link:hover::after, .nav-link.active::after, .dropdown-toggle:hover::after, .nav-dropdown.active > .dropdown-toggle::after { width: 100%; }
.dropdown-toggle i { font-size: 9px; margin-left: 5px; transition: transform .2s ease; }
.nav-dropdown { position: relative; }
.nav-dropdown.open .dropdown-toggle i { transform: rotate(180deg); }
.dropdown-menu {
  position: absolute;
  top: 45px;
  left: 50%;
  transform: translateX(-50%) translateY(-6px);
  width: 230px;
  padding: 8px;
  background: color-mix(in srgb, var(--card) 94%, transparent);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: .18s ease;
}
.nav-dropdown.open .dropdown-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.dropdown-menu a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 13px;
  border-radius: 10px;
  font-weight: 600;
  transition: background .2s ease, color .2s ease;
}
.dropdown-menu a:hover { background: var(--primary-soft); color: var(--primary); }
.dropdown-menu i { font-size: 10px; opacity: .8; }
.nav-actions { display: flex; align-items: center; gap: 9px; }
.language-switcher select {
  height: 39px;
  padding: 0 10px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--text);
  outline: none;
  cursor: pointer;
  font-weight: 600;
}
.language-switcher select option { color: #111; }
.nav-cta {
  padding: 10px 16px;
  border-radius: 10px;
  background: var(--primary);
  color: #fff;
  font-family: var(--font-secondary);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .35px;
  box-shadow: 0 8px 25px rgba(0,204,102,.14);
  transition: transform .2s ease, box-shadow .2s ease;
}
.nav-cta:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(0,204,102,.2); }
.menu-toggle {
  display: none;
  width: 39px;
  height: 39px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--text);
  cursor: pointer;
}

/* Shared */
section { padding: 105px 0; }
section[id] { scroll-margin-top: 84px; }
.section-alt { background: var(--bg-alt); }
.kicker, .eyebrow {
  font-family: var(--font-secondary);
  font-size: 11px;
  letter-spacing: 2px;
  color: var(--primary);
  font-weight: 600;
}
.kicker { margin-bottom: 10px; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 48px;
  padding: 0 21px;
  border-radius: 10px;
  border: 1px solid var(--line);
  font-family: var(--font-secondary);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .4px;
  cursor: pointer;
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease, background .22s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  border-color: transparent;
  box-shadow: 0 12px 30px rgba(0,204,102,.18);
}
.btn-primary:hover { box-shadow: 0 14px 34px rgba(0,204,102,.25); }
.btn-secondary { background: transparent; color: var(--primary); border-color: rgba(0,204,102,.55); }
.btn-secondary:hover { background: var(--primary-soft); }
.hero-actions { display: flex; gap: 13px; flex-wrap: wrap; }
.section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 44px;
}
.section-heading h2 {
  font-family: var(--font-secondary);
  font-size: clamp(31px, 4vw, 46px);
  line-height: 1.12;
  max-width: 700px;
}
.section-heading > p { max-width: 520px; color: var(--muted); font-size: 17px; }
.text-link { color: var(--primary); font-weight: 700; }
.text-link i { margin-left: 5px; transition: transform .2s ease; }
.text-link:hover i { transform: translateX(4px); }
.tags { display: flex; flex-wrap: wrap; gap: 7px; }
.tags span {
  font-size: 12px;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--muted);
  background: var(--bg-alt);
}

/* Home hero */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 140px 0 90px;
  position: relative;
  overflow: hidden;
}
.hero::after {
  content: '';
  position: absolute;
  width: 640px;
  height: 640px;
  border-radius: 50%;
  right: -190px;
  top: 60px;
  background: radial-gradient(circle, rgba(0,204,102,.085), transparent 68%);
  pointer-events: none;
}
.hero-grid { display: grid; grid-template-columns: 1.12fr .88fr; align-items: center; gap: 60px; position: relative; z-index: 2; }
.eyebrow { margin-bottom: 18px; }
.hero h1, .page-hero h1, .product-hero h1 {
  font-family: var(--font-secondary);
  font-size: clamp(48px, 6vw, 78px);
  line-height: 1.06;
  letter-spacing: -2.2px;
}
.hero h1 span, .page-hero h1 span { color: var(--primary); display: block; }
.hero-copy > p { font-size: 20px; max-width: 660px; color: var(--muted); margin: 23px 0 32px; }
.hero-visual { height: 460px; display: grid; place-items: center; position: relative; }
.hero-glow { position: absolute; width: 330px; height: 330px; border-radius: 50%; background: radial-gradient(circle, rgba(0,204,102,.14), transparent 67%); filter: blur(15px); }
.hero-visual img { width: min(370px,88%); position: relative; filter: drop-shadow(0 25px 50px rgba(0,0,0,.28)); animation: floatLogo 7s ease-in-out infinite; }
@keyframes floatLogo { 50% { transform: translateY(-8px); } }

/* Projects */
.project-stack { display: grid; gap: 24px; }
.project-showcase {
  display: grid;
  grid-template-columns: .92fr 1.08fr;
  gap: 36px;
  align-items: center;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--card);
  box-shadow: 0 15px 45px rgba(0,0,0,.07);
  transition: .25s ease;
}
.project-showcase:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: rgba(0,204,102,.22); }
.project-reverse { grid-template-columns: 1.08fr .92fr; }
.project-reverse .project-media { order: 2; }
.project-media {
  height: 310px;
  border-radius: 13px;
  overflow: hidden;
  background: var(--card-2);
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
}
.project-media img { width: 100%; height: 100%; object-fit: cover; }
.project-logo-media img { width: 68%; height: 68%; object-fit: contain; filter: drop-shadow(0 14px 26px rgba(0,0,0,.25)); }
.project-type { font-family: var(--font-secondary); font-size: 10px; color: var(--primary); letter-spacing: 1.4px; text-transform: uppercase; }
.project-copy h3 { font-family: var(--font-secondary); font-size: 33px; margin: 9px 0 13px; }
.project-copy p { color: var(--muted); font-size: 17px; margin-bottom: 18px; }
.project-copy .tags { margin-bottom: 23px; }

/* Services */
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
}
.service-card {
  min-height: 200px;
  padding: 28px 24px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--card);
  transition: background .2s ease;
}
.service-card:hover { background: color-mix(in srgb, var(--card) 92%, var(--primary) 8%); }
.service-card > span { display: block; font-family: var(--font-secondary); font-size: 10px; color: var(--primary); margin-bottom: 26px; }
.service-card h3 { font-family: var(--font-secondary); font-size: 17px; margin-bottom: 9px; }
.service-card p { color: var(--muted); font-size: 14px; }
.section-link-row { margin-top: 26px; text-align: right; }

/* CTA */
.home-cta { padding: 80px 0 100px; }
.cta-panel {
  text-align: center;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 62px 24px;
  background: linear-gradient(180deg, var(--card), var(--bg-alt));
  position: relative;
  overflow: hidden;
}
.cta-panel::before { content: ''; position: absolute; inset: auto 15% -190px; height: 280px; background: radial-gradient(ellipse, rgba(0,204,102,.11), transparent 65%); }
.cta-panel > * { position: relative; }
.cta-panel h2 { font-family: var(--font-secondary); font-size: clamp(30px,4vw,46px); margin-bottom: 15px; }
.cta-panel p { color: var(--muted); max-width: 590px; margin: 0 auto 27px; font-size: 17px; }

/* Secondary page hero */
.page-hero, .product-hero { padding: 160px 0 78px; border-bottom: 1px solid var(--line); }
.page-hero h1 { margin: 14px 0 18px; }
.page-hero p { max-width: 760px; color: var(--muted); font-size: 19px; }
/* Services Detailed Showcase */
.services-showcase { padding: 80px 0 100px; }
.services-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 28px;
}
.service-card-detailed {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  background: var(--card);
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.service-card-detailed:hover {
  transform: translateY(-5px);
  border-color: rgba(0, 204, 102, 0.45);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.28);
}
.service-card-cover {
  position: relative;
  height: 220px;
  overflow: hidden;
  background: var(--bg-alt);
}
.service-card-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}
.service-card-detailed:hover .service-card-cover img {
  transform: scale(1.05);
}
.service-cover-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(15, 16, 16, 0.88) 100%);
  pointer-events: none;
}
.service-card-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.service-card-body h3 {
  font-family: var(--font-secondary);
  font-size: 20px;
  margin-bottom: 12px;
  color: #fff;
}
.service-card-body p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.55;
  margin-bottom: 18px;
  flex: 1;
}
.service-card-body .tags {
  margin-bottom: 20px;
}
.service-card-actions {
  margin-top: auto;
}
.service-card-actions .btn {
  width: 100%;
  font-size: 12px;
}

/* Gallery Modal */
.gallery-modal {
  position: fixed;
  inset: 0;
  background: rgba(5, 7, 6, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  z-index: 2000;
}
.gallery-modal.open {
  display: flex;
}
.gallery-modal-content {
  position: relative;
  max-width: 1050px;
  width: 100%;
  max-height: 88vh;
  overflow-y: auto;
  background: var(--card);
  border: 1px solid var(--line-strong);
  border-radius: 20px;
  padding: 30px;
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.5);
}
.gallery-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}
.gallery-modal-header h3 {
  font-family: var(--font-secondary);
  font-size: 18px;
  color: var(--primary);
  letter-spacing: .5px;
}
.gallery-close {
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 50%;
  width: 36px;
  height: 36px;
  display: inline-grid;
  place-items: center;
  font-size: 20px;
  color: var(--text);
  cursor: pointer;
  line-height: 1;
  transition: all .2s ease;
}
.gallery-close:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: var(--primary-soft);
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
}
.gallery-grid a {
  display: block;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--bg-alt);
  position: relative;
  transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
}
.gallery-grid a:hover {
  transform: translateY(-4px);
  border-color: var(--primary);
  box-shadow: 0 10px 30px rgba(0, 204, 102, 0.16);
}
.gallery-grid img {
  width: 100%;
  height: 210px;
  object-fit: cover;
  display: block;
}

/* ViperDrop */
.product-hero-grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 48px;
  align-items: center;
}
.product-hero h1 {
  margin: 14px 0 18px;
}
.product-hero p {
  color: var(--muted);
  font-size: 19px;
  max-width: 650px;
  margin-bottom: 28px;
}
.product-window {
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--card);
}
.product-window img {
  width: 100%;
  display: block;
}
.product-window-wide {
  max-width: 1060px;
  margin: 0 auto;
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.features-grid article {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: var(--card);
}
.features-grid h3 {
  font-family: var(--font-secondary);
  font-size: 16px;
  margin-bottom: 8px;
}
.features-grid p {
  color: var(--muted);
  font-size: 15px;
}
.download-section {
  padding-top: 60px;
}
.download-panel {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--card);
}
.download-panel strong {
  font-family: var(--font-secondary);
  display: block;
  margin-bottom: 5px;
}
.download-panel p {
  color: var(--muted);
}


.download-hero-note {
  margin-top: 14px !important;
  margin-bottom: 0 !important;
  font-size: 13px !important;
  color: var(--muted) !important;
}
.download-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.download-card {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--card);
  box-shadow: 0 12px 34px rgba(0,0,0,.06);
}
.download-platform-icon {
  flex: 0 0 54px;
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(0,204,102,.28);
  border-radius: 14px;
  background: var(--primary-soft);
  color: var(--primary);
  font-size: 25px;
}
.download-card-copy { min-width: 0; flex: 1; }
.download-card h3 {
  font-family: var(--font-secondary);
  font-size: 20px;
  margin-bottom: 8px;
}
.download-card p {
  color: var(--muted);
  font-size: 15px;
  margin-bottom: 14px;
}
.download-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}
.download-meta span {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 4px 9px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  background: var(--bg-alt);
  font-size: 12px;
  font-weight: 600;
}
.linux-compat-note {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  padding: 10px 12px;
  margin: -2px 0 14px;
  border: 1px solid rgba(255,193,7,.22);
  border-radius: 10px;
  background: rgba(255,193,7,.06);
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}
.linux-compat-note i { color: #e4ad18; margin-top: 2px; }
.btn-disabled {
  pointer-events: none;
  cursor: not-allowed;
  opacity: .48;
  filter: saturate(.45);
}
.download-footer-note {
  margin-top: 18px;
  text-align: center;
  color: var(--muted);
  font-size: 13px;
}

/* Contact */
.contact-page { padding: 145px 0 90px; }
.contact-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: 45px; align-items: start; }
.contact-copy h2 { font-family: var(--font-secondary); font-size: clamp(30px,4vw,44px); margin-bottom: 16px; }
.contact-copy > p { color: var(--muted); font-size: 18px; max-width: 520px; }
.contact-details { display: grid; gap: 10px; margin-top: 28px; }
.contact-details a { display: flex; align-items: center; gap: 12px; color: var(--muted); width: fit-content; transition: color .2s ease; }
.contact-details a:hover { color: var(--primary); }
.contact-details i { width: 18px; color: var(--primary); }
.contact-form-card { padding: 28px; border: 1px solid var(--line); border-radius: 18px; background: var(--card); box-shadow: 0 15px 45px rgba(0,0,0,.08); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-group { display: grid; gap: 7px; margin-bottom: 14px; }
.form-group label { font-weight: 600; }
.form-group input, .form-group textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--bg-alt);
  color: var(--text);
  padding: 13px 14px;
  outline: none;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.form-group textarea { resize: vertical; min-height: 170px; }
.form-group input:focus, .form-group textarea:focus { border-color: rgba(0,204,102,.6); box-shadow: 0 0 0 3px rgba(0,204,102,.08); }
.captcha-wrap { margin: 6px 0 18px; overflow-x: auto; }
#invia-btn:disabled { opacity: .55; cursor: not-allowed; transform: none; }
.form-response { margin-top: 15px; }
.form-response .success, .form-response .error { padding: 12px 14px; border-radius: 10px; border: 1px solid var(--line); }
.form-response .success { color: #7ff5b5; background: rgba(0,204,102,.08); border-color: rgba(0,204,102,.28); }
.form-response .error { color: #ff8f9d; background: rgba(255,51,102,.08); border-color: rgba(255,51,102,.25); }

/* Footer */
footer { background: #050505; color: #fff; padding: 50px 0 26px; }
.footer-grid { display: grid; grid-template-columns: 1.35fr .65fr .65fr .65fr; gap: 35px; }
.footer-brand { display: flex; align-items: center; gap: 10px; font-family: var(--font-secondary); font-weight: 700; }
.footer-brand img { width: 36px; height: 36px; object-fit: contain; }
.footer-intro p { color: #777; max-width: 370px; margin-top: 13px; }
.footer-column strong { display: block; font-family: var(--font-secondary); font-size: 11px; color: #fff; margin-bottom: 11px; }
.footer-column a { display: block; color: #8e8e8e; margin-top: 9px; transition: color .2s ease; }
.footer-column a:hover { color: var(--primary); }
.footer-bottom { margin-top: 30px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.08); color: #777; font-size: 13px; text-align: center; }

.hidden { display: none !important; }

/* Reveal */
.reveal-section { opacity: 1; transform: none; }

[dir='rtl'] .brand { margin-right: 0; margin-left: auto; }
[dir='rtl'] .dropdown-menu { text-align: right; }

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

@media (max-width: 1000px) {
  .menu-toggle { display: inline-grid; place-items: center; order: 2; }
  .nav-actions { order: 3; }
  .brand { order: 1; }
  nav {
    position: fixed;
    top: 82px;
    left: -100%;
    width: min(360px, 86vw);
    height: calc(100vh - 82px);
    padding: 24px;
    background: var(--card);
    border-right: 1px solid var(--line);
    box-shadow: var(--shadow);
    transition: left .25s ease;
    overflow-y: auto;
  }
  nav.active { left: 0; }
  nav ul { align-items: stretch; flex-direction: column; gap: 10px; }
  .nav-link, .dropdown-toggle { display: flex; width: 100%; justify-content: space-between; padding: 12px 8px; }
  .nav-link::after, .dropdown-toggle::after { display: none; }
  .dropdown-menu {
    position: static;
    width: 100%;
    transform: none !important;
    margin-top: 5px;
    display: none;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    box-shadow: none;
    background: var(--bg-alt);
  }
  .nav-dropdown.open .dropdown-menu { display: block; }
  .hero-grid, .product-hero-grid, .contact-layout { grid-template-columns: 1fr; }
  .hero-visual { height: 300px; order: -1; }
  .hero-visual img { max-width: 250px; }
  .section-heading { display: block; }
  .section-heading > p { margin-top: 18px; }
  .project-showcase, .project-reverse { grid-template-columns: 1fr; }
  .project-reverse .project-media { order: 0; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1.2fr 1fr 1fr; }
  .footer-column:last-child { grid-column: 2 / 4; }
}

@media (max-width: 700px) {
  .container { width: min(100% - 26px, 1180px); }
  .nav-shell { height: 70px; gap: 10px; }
  .brand span { font-size: 14px; }
  .brand img { width: 38px; height: 38px; }
  nav { top: 70px; height: calc(100vh - 70px); }
  .nav-cta { display: none; }
  .language-switcher select { max-width: 62px; }
  .hero { padding-top: 105px; }
  .hero h1, .page-hero h1, .product-hero h1 { font-size: 42px; letter-spacing: -1px; }
  .hero-copy > p, .page-hero p, .product-hero p { font-size: 17px; }
  section { padding: 78px 0; }
  .project-showcase { padding: 17px; }
  .project-media { height: 220px; }
  .services-grid, .features-grid, .form-grid, .services-cards-grid, .gallery-grid { grid-template-columns: 1fr; }
  .service-card { min-height: 160px; }

  .download-grid { grid-template-columns: 1fr; }
  .download-card { padding: 22px; }
  .download-panel { align-items: flex-start; flex-direction: column; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-column:last-child { grid-column: auto; }
}
