/*
Theme Name:  Gemini Networks
Theme URI:   https://www.gemininetworks.co.za
Author:      Clicks n Code
Description: Custom theme for Gemini Networks – Fearless Networking since 1989.
Version:     1.0.0
License:     GNU General Public License v2 or later
Text Domain: gemini-networks
*/

/* ── RESET & ROOT ─────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --purple: #2b003b;
  --blue:   #1d3588;
  --grey:   #afb0b1;
  --white:  #ffffff;
  --light:  #f4f5f7;
  --text:   #1a1a2e;
  --accent: #4a5fd4;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
}

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

/* ── TOP BAR ──────────────────────────────────────────── */
.top-bar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 101;
  background: var(--purple);
  height: 38px;
  display: flex;
  align-items: center;
  padding: 0 2.5rem;
}

.top-bar-inner {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.top-bar-usp {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.75);
}

.top-bar-numbers {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.top-bar-numbers a {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--white);
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  white-space: nowrap;
  transition: color 0.2s;
}

.top-bar-numbers a:hover { color: var(--grey); }

.top-bar-numbers svg {
  width: 13px; height: 13px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}

/* ── NAV ──────────────────────────────────────────────── */
nav {
  position: fixed;
  top: 38px; left: 0; right: 0;
  z-index: 100;
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2.5rem;
  height: 90px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.1);
}

.nav-logo img {
    height: 95px;
    display: block;
    padding: 6px 0px;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 0.25rem;
  align-items: center;
}

.nav-links a {
  color: var(--text);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  padding: 0.5rem 0.9rem;
  border-radius: 4px;
  transition: color 0.2s, background 0.2s;
}

.nav-links a:hover,
.nav-links .current-menu-item > a,
.nav-links a.active {
  color: var(--purple);
  background: rgba(43,0,59,0.06);
}

.nav-links .menu-item-cta > a,
.nav-links a.nav-cta {
  background: var(--blue) !important;
  color: var(--white) !important;
  padding: 0.5rem 1.2rem !important;
  border-radius: 4px;
}

.nav-links .menu-item-cta > a:hover,
.nav-links a.nav-cta:hover {
  background: var(--purple) !important;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}

.nav-toggle span {
  width: 24px; height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all 0.3s;
}

/* ── HOME HERO ────────────────────────────────────────── */
.hero {
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 140px 2rem 4rem;
  position: relative;
  overflow: hidden;
  /* background-image set via inline style in front-page.php */
  background-size: cover;
  background-position: center;
}

.hero-content { position: relative; max-width: 800px; }

.hero-logo-image {
    text-align: center;
    margin: auto;
    max-width: 300px;
    margin-bottom: 30px;
}

.hero-eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--grey);
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(175,176,177,0.3);
  padding: 0.35rem 1rem;
  border-radius: 20px;
  margin-bottom: 1.5rem;
}

.hero h1 {
  font-size: clamp(2.4rem, 6vw, 4rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 1.25rem;
}

.hero h1 span { color: #ffffff; }

.hero > .hero-content > p {
  font-size: 1.125rem;
  color: rgba(255,255,255,0.82);
  max-width: 580px;
  margin: 0 auto 2.5rem;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-stats-bar {
  display: flex;
  justify-content: center;
  gap: 0;
  margin-top: 4rem;
  flex-wrap: nowrap;
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-top: 2rem;
}

.hero-stat {
  text-align: center;
  padding: 0 2.5rem;
  border-right: 1px solid rgba(255,255,255,0.12);
}
.hero-stat:last-child { border-right: none; }

.hero-stat strong {
  display: block;
  font-size: 2rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1;
}

.hero-stat span {
  font-size: 0.75rem;
  color: var(--grey);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* ── PAGE HERO (service pages) ────────────────────────── */
.page-hero {
  min-height: 45vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 140px 2rem 4rem;
  position: relative;
  overflow: hidden;
  background-size: cover;
  background-position: center;
}

.page-hero-content { position: relative; max-width: 720px; }

.page-hero-eyebrow {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--grey);
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(175,176,177,0.3);
  padding: 0.35rem 1rem;
  border-radius: 20px;
  margin-bottom: 1.25rem;
}

.page-hero h1 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 1rem;
}

.page-hero p {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.82);
  max-width: 560px;
  margin: 0 auto;
}

/* ── BUTTONS ──────────────────────────────────────────── */
.btn-primary {
  background: var(--blue);
  color: var(--white);
  padding: 0.85rem 2rem;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: background 0.2s, transform 0.15s;
  display: inline-block;
}
.btn-primary:hover { background: var(--accent); transform: translateY(-1px); }

.btn-outline {
  border: 1px solid rgba(255,255,255,0.35);
  color: var(--white);
  padding: 0.85rem 2rem;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: background 0.2s, border-color 0.2s;
  display: inline-block;
}
.btn-outline:hover { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.7); }

.btn-white {
  background: var(--white);
  color: var(--blue);
  padding: 0.9rem 2.25rem;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
  transition: background 0.2s, transform 0.15s;
  display: inline-block;
}
.btn-white:hover { background: var(--light); transform: translateY(-1px); }

/* ── SHARED LAYOUT ────────────────────────────────────── */
.container { max-width: 1160px; margin: 0 auto; }
section { padding: 5rem 2rem; }

.section-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 0.75rem;
  display: block;
}
.section-label--light { color: var(--grey); }

.section-title {
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 700;
  color: var(--purple);
  line-height: 1.2;
  margin-bottom: 1rem;
}
.section-title--light { color: var(--white); }

.section-sub {
  font-size: 1rem;
  color: #555;
  max-width: 640px;
  margin-bottom: 2.5rem;
}

/* ── ABOUT SPLIT (home) ───────────────────────────────── */
.about {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 560px;
}

.about-text-panel {
  background: var(--light);
  padding: 5rem 4rem 5rem 5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.about-text-panel p {
  color: #444;
  margin-bottom: 1rem;
  font-size: 0.975rem;
}

.about-photo-panel {
  background-size: cover;
  background-position: center;
  position: relative;
  min-height: 420px;
}

.about-photo-panel::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(244,245,247,0.2) 0%, transparent 40%);
}

.about-timeline {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  margin: 1.5rem 0 2rem;
}

.timeline-item { display: flex; gap: 1rem; align-items: flex-start; }

.timeline-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--blue);
  margin-top: 5px;
  flex-shrink: 0;
}

.timeline-item strong {
  display: block;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--purple);
}

.timeline-item span { font-size: 0.82rem; color: #666; }

/* ── HOME SERVICES GRID ───────────────────────────────── */
.services { padding: 5rem 2rem; background: var(--white); }

.services-banner {
  width: 100%;
  height: 260px;
  object-fit: cover;
  object-position: center 35%;
  border-radius: 12px;
  margin-bottom: 3.5rem;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.service-card {
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  padding: 2rem 1.75rem;
  text-decoration: none;
  color: inherit;
  transition: box-shadow 0.22s, transform 0.22s, border-color 0.22s;
  display: block;
  background: var(--white);
}

.service-card:hover {
  box-shadow: 0 8px 28px rgba(29,53,136,0.13);
  transform: translateY(-3px);
  border-color: var(--blue);
}

.service-icon {
  width: 48px; height: 48px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--blue), var(--purple));
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}

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

.service-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--purple);
  margin-bottom: 0.5rem;
}

.service-card p { font-size: 0.875rem; color: #555; line-height: 1.6; }

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  margin-top: 1rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--blue);
}
.service-link::after { content: ' →'; }

/* ── WHY US (home) ────────────────────────────────────── */
.why {
  position: relative;
  background-size: cover;
  background-position: center;
  color: var(--white);
  padding: 5rem 2rem;
  overflow: hidden;
}

.why::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(43,0,59,0.88) 0%, rgba(29,53,136,0.82) 100%);
}

.why .container { position: relative; }

.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}

.why-item {
  background: var(--white);
  border-radius: 10px;
  padding: 1.75rem 1.5rem;
  transition: transform 0.2s, box-shadow 0.2s;
}
.why-item:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,0.25); }

.why-number {
  font-size: 2.2rem;
  font-weight: 800;
  color: rgba(29,53,136,0.2);
  line-height: 1;
  margin-bottom: 0.75rem;
}

.why-item h4 { font-size: 1rem; font-weight: 700; color: var(--purple); margin-bottom: 0.5rem; }
.why-item p { font-size: 0.85rem; color: #555; line-height: 1.65; }

/* ── INDUSTRIES (home) ────────────────────────────────── */
.industries {
  background: var(--white);
  padding: 5rem 2rem;
  text-align: center;
}

.industries .section-label,
.industries .section-title,
.industries .section-sub { margin-left: auto; margin-right: auto; text-align: center; }

.industries-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin: 2.5rem auto 0;
  max-width: 700px;
}

.industry-card {
  background: var(--white);
  border: 1px solid #e0e2e6;
  border-radius: 8px;
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.industry-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--blue);
  flex-shrink: 0;
}

.industry-card span { font-size: 0.875rem; font-weight: 600; color: var(--purple); }

/* ── CTA BAND ─────────────────────────────────────────── */
.cta-band {
  position: relative;
  background-size: cover;
  background-position: center 30%;
  color: var(--white);
  text-align: center;
  padding: 6rem 2rem;
  overflow: hidden;
}

.cta-band::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(29,53,136,0.85) 0%, rgba(43,0,59,0.92) 100%);
}

.cta-band.cta-plain { background: var(--blue); }
.cta-band.cta-plain::before { display: none; }

.cta-band .container { position: relative; }

.cta-band h2 {
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.cta-band p {
  color: rgba(255,255,255,0.78);
  margin-bottom: 2.5rem;
  font-size: 1.05rem;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

/* ── SERVICE PAGE SECTIONS ────────────────────────────── */
.feature-list { list-style: none; display: flex; flex-direction: column; gap: 0.75rem; }

.feature-list li {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
  font-size: 0.95rem;
  color: #444;
}

.feature-list li::before {
  content: '';
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--blue);
  flex-shrink: 0;
  margin-top: 7px;
}

/* Split sections */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.split-img { border-radius: 12px; overflow: hidden; }
.split-img img { width: 100%; height: 360px; object-fit: cover; }

/* Cards grid */
.cards-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.5rem; }

.card {
  background: var(--white);
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  padding: 1.75rem;
}

.card-icon {
  width: 44px; height: 44px;
  border-radius: 9px;
  background: linear-gradient(135deg, var(--blue), var(--purple));
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.card-icon svg {
  width: 22px; height: 22px;
  fill: none;
  stroke: white;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.card h3 { font-size: 1rem; font-weight: 700; color: var(--purple); margin-bottom: 0.4rem; }
.card p { font-size: 0.875rem; color: #555; line-height: 1.6; }

/* ── CABLE TABLE ──────────────────────────────────────── */
.table-wrap {
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid #e0e2e6;
  margin-top: 2.5rem;
}

.cable-table { width: 100%; border-collapse: collapse; font-size: 0.9rem; }

.cable-table thead tr { background: var(--blue); color: var(--white); }
.cable-table th { padding: 1rem 1.25rem; text-align: left; font-weight: 600; font-size: 0.82rem; letter-spacing: 0.04em; }
.cable-table td { padding: 0.9rem 1.25rem; vertical-align: top; color: #333; }
.cable-table tbody tr:nth-child(even) { background: var(--light); }
.cable-table tbody tr:nth-child(odd) { background: var(--white); }
.cable-table tbody tr:hover { background: rgba(29,53,136,0.05); }
.cable-table .cat-label { font-weight: 700; color: var(--purple); }
.cable-table .warning-row td { background: #fff8e6; color: #7a4f00; font-size: 0.85rem; }
.cable-table .warning-row .cat-label { color: #7a4f00; }

/* ── OS TABLE ─────────────────────────────────────────── */
.os-table { width: 100%; border-collapse: collapse; font-size: 0.9rem; margin-top: 2rem; }
.os-table th { background: var(--blue); color: var(--white); padding: 0.85rem 1.25rem; text-align: left; font-size: 0.82rem; }
.os-table td { padding: 0.85rem 1.25rem; border-bottom: 1px solid #e5e7eb; color: #333; }
.os-table tbody tr:last-child td { border-bottom: none; }
.os-table .accent-row td { background: #eef1fb; color: var(--purple); font-weight: 600; font-size: 0.85rem; }

/* ── VENDOR CALLOUT ───────────────────────────────────── */
.callout {
  border-left: 4px solid var(--blue);
  background: var(--light);
  border-radius: 0 8px 8px 0;
  padding: 1.5rem 1.75rem;
  margin-top: 2rem;
}

.callout h4 { font-size: 1rem; font-weight: 700; color: var(--purple); margin-bottom: 0.5rem; }
.callout p { font-size: 0.9rem; color: #444; line-height: 1.65; }

/* ── CONTACT PAGE ─────────────────────────────────────── */
.contact-layout {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 4rem;
  align-items: flex-start;
}

.contact-form-wrap h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--purple);
  margin-bottom: 1.75rem;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.4rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  font-size: 0.9rem;
  font-family: inherit;
  color: var(--text);
  background: var(--white);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(29,53,136,0.1);
}

.form-group textarea {
  resize: vertical;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.btn-submit {
  width: 100%;
  background: var(--blue);
  color: var(--white);
  padding: 0.9rem 2rem;
  border: none;
  border-radius: 6px;
  font-size: 0.95rem;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: background 0.2s;
  margin-top: 0.5rem;
}

.btn-submit:hover {
  background: var(--purple);
}

.contact-info h3 {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--purple);
  margin-bottom: 0.5rem;
}

.contact-info .response-note {
  font-size: 0.95rem;
  color: #666;
  margin-bottom: 1.5rem;
}

.contact-card {
  background: #f8f9fb;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 1.75rem;
  margin-bottom: 2rem;
}

.contact-block + .contact-block {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid #e5e7eb;
}

.contact-block h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--purple);
  margin-bottom: 0.75rem;
}

.contact-block p {
  margin: 0 0 0.55rem;
  font-size: 0.95rem;
  line-height: 1.6;
  color: #444;
}

.contact-block a {
  color: var(--blue);
  text-decoration: none;
  word-break: break-word;
}

.contact-block a:hover {
  color: var(--purple);
  text-decoration: underline;
}

.contact-urgent {
  border: 1px solid var(--blue);
  border-left: 4px solid var(--blue);
  background: rgba(29,53,136,0.04);
  border-radius: 0 8px 8px 0;
  padding: 1.25rem 1.5rem;
}

.contact-urgent p {
  font-size: 0.9rem;
  color: var(--blue);
  font-weight: 600;
  margin: 0;
}

/* ── RESPONSIVE ─────────────────────────────────────── */
@media (max-width: 980px) {
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

@media (max-width: 640px) {
  .form-row {
    grid-template-columns: 1fr;
  }

  .contact-card {
    padding: 1.25rem;
  }
}

/* ── FOOTER ───────────────────────────────────────────── */
footer {
  background: #0f0f12;
  color: rgba(255,255,255,0.6);
  padding: 3.5rem 2rem 1.5rem;
}

.footer-inner {
  max-width: 1160px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1.2fr;
  gap: 2rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-brand img { height: 44px; margin-bottom: 1rem; }

.footer-brand p {
  font-size: 0.85rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.45);
}

footer h5 {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 1rem;
}

footer ul { list-style: none; }
footer ul li { margin-bottom: 0.5rem; }
footer ul a { color: rgba(255,255,255,0.45); text-decoration: none; font-size: 0.875rem; transition: color 0.2s; }
footer ul a:hover { color: var(--white); }

.footer-bottom {
  max-width: 1160px;
  margin: 1.5rem auto 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.78rem;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.footer-contact ul li {
  line-height: 1.7;
}

.footer-contact a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-contact a:hover {
  color: var(--gold, #d4a017);
  text-decoration: underline;
}

/* ── RESPONSIVE ───────────────────────────────────────── */
@media (max-width: 1000px) {
  .about { grid-template-columns: 1fr; }
  .about-photo-panel { min-height: 320px; }
  .about-text-panel { padding: 4rem 2.5rem; }
  .contact-layout { grid-template-columns: 1fr; gap: 3rem; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  .split { grid-template-columns: 1fr; gap: 2.5rem; }
  .industries-grid { grid-template-columns: repeat(2, 1fr); }
  .form-row { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .top-bar { padding: 0 1.25rem; height: auto; min-height: 38px; }
  .top-bar-usp { display: none; }
  .top-bar-numbers { gap: 0.9rem; }
  .top-bar-numbers a:not(:first-child) { display: none; }
  nav { top: 38px; padding: 0 1.25rem; }
  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 70px; left: 0; right: 0;
    background: var(--white);
    border-top: 1px solid #e5e7eb;
    box-shadow: 0 8px 16px rgba(0,0,0,0.08);
    padding: 1rem 1.5rem 1.5rem;
    gap: 0.1rem;
  }
  .nav-links.open { display: flex; }
  .nav-toggle { display: flex; }
  .hero-stat { padding: 0 1.25rem; }
  .about-text-panel { padding: 3rem 1.5rem; }
  .footer-inner { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .industries-grid { grid-template-columns: 1fr 1fr; }
  .table-wrap { overflow-x: auto; }
}

@media (max-width: 420px) {
  .industries-grid { grid-template-columns: 1fr; }
}
