/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(11, 16, 32, 0.7);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.logo {
  font-weight: 800;
  font-size: 20px;
  letter-spacing: 0.6px;
  color: var(--text);
  text-decoration: none;
}

.logo span {
  color: var(--brand);
}

.primary-nav ul {
  list-style: none;
  display: flex;
  gap: 18px;
  padding: 0;
  margin: 0;
  align-items: center;
}

.primary-nav a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 500;
  padding: 8px 10px;
  border-radius: 8px;
}

.primary-nav a:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.05);
}

.primary-nav a.is-active {
  color: var(--text);
  background: rgba(126, 224, 255, 0.12);
  border: 1px solid rgba(126, 224, 255, 0.22);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 16px;
  border-radius: 10px;
  color: #0b1020;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  text-decoration: none;
  font-weight: 700;
  box-shadow: var(--shadow);
  border: 0;
  cursor: pointer;
  min-height: 44px;
  transition: filter 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}

.btn-sm {
  padding: 8px 12px;
  font-weight: 700;
  min-height: 40px;
}

.btn-lg {
  padding: 14px 22px;
  font-size: 16px;
}

.btn:hover {
  filter: brightness(1.05);
  transform: translateY(-1px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.5);
}

.btn:active {
  transform: translateY(0);
}

.btn[aria-disabled="true"],
.btn:disabled {
  cursor: not-allowed;
  filter: saturate(0.95) brightness(0.95);
  transform: none;
  box-shadow: var(--shadow);
}

/* Spinner-in-button */
.btn-spinner {
  width: 16px;
  height: 16px;
  border-radius: 999px;
  border: 2px solid rgba(231, 235, 255, 0.35);
  border-top-color: rgba(231, 235, 255, 0.95);
  display: inline-block;
  margin-right: 10px;
  animation: spin 0.8s linear infinite;
}

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  background: none;
  border: 0;
  padding: 6px;
  cursor: pointer;
}

.nav-toggle .bar {
  width: 24px;
  height: 2px;
  background: var(--text);
  display: block;
  margin: 5px 0;
  transition: 0.3s ease;
  border-radius: 2px;
}

/* Hero */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image:
    linear-gradient(
      120deg,
      rgba(5, 10, 24, 0.95),
      rgba(5, 10, 24, 0.82),
      rgba(5, 10, 24, 0.6)
    ),
    url("photoasd.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 100%;
  height: 120px;
  z-index: -1;
  background: linear-gradient(to bottom, rgba(5, 10, 24, 0), #050a18);
  pointer-events: none;
}

.hero h1 {
  font-size: clamp(32px, 5.4vw, 56px);
  margin: 0 0 14px;
  letter-spacing: -0.02em;
  line-height: 1.05;
}

.hero-title-emphasis {
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-lead {
  color: var(--muted);
  margin: 0 0 22px;
  font-size: 18px;
  line-height: 1.7;
  max-width: 40rem;
}

.hero-visual {
  position: relative;
}

.blob {
  position: absolute;
  inset: -40px -40px -40px -80px;
  background: radial-gradient(420px 320px at 20% 0%, var(--glow-light), transparent 60%);
  filter: blur(20px);
  opacity: 0.9;
  pointer-events: none;
}

.hero-media {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background:
    radial-gradient(320px 220px at 10% 0%, rgba(126, 224, 255, 0.18), transparent 70%),
    rgba(12, 18, 40, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: var(--shadow);
  width: 100%;
  transform-origin: center;
  transition:
    transform 0.5s ease,
    box-shadow 0.5s ease,
    border-color 0.4s ease,
    background 0.4s ease;
}

.hero-media-image {
  width: 100%;
  height: 260px;
  object-fit: cover;
  filter: saturate(1.05) contrast(1.05) brightness(0.9);
  transform: scale(1.03);
  transition: transform 0.7s ease, filter 0.7s ease;
}

.hero-media:hover {
  box-shadow: 0 26px 60px rgba(0, 0, 0, 0.85);
  border-color: rgba(126, 224, 255, 0.75);
}

.hero-media:hover .hero-media-image {
  transform: scale(1.06) translateY(-4px);
  filter: saturate(1.15) contrast(1.1) brightness(0.95);
}

.btn-hero-primary {
  position: relative;
  padding-inline: 26px;
  border-radius: 999px;
  background:
    linear-gradient(140deg, rgba(5, 10, 24, 0.9), rgba(16, 26, 64, 0.98));
  color: var(--text);
  box-shadow:
    0 14px 32px rgba(0, 0, 0, 0.7),
    0 0 0 1px rgba(126, 224, 255, 0.4);
  border: 1px solid rgba(126, 224, 255, 0.55);
  overflow: hidden;
}

.btn-hero-primary::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(120% 180% at 0 0, rgba(106, 160, 255, 0.38), transparent 55%),
    radial-gradient(160% 220% at 100% 100%, rgba(126, 224, 255, 0.45), transparent 60%);
  opacity: 0.32;
  mix-blend-mode: screen;
  pointer-events: none;
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.btn-hero-primary:hover::before {
  opacity: 0.6;
  transform: translate3d(0, -4px, 0);
}

.btn-hero-primary:hover {
  transform: translateY(-2px) scale(1.01);
  box-shadow:
    0 20px 46px rgba(0, 0, 0, 0.85),
    0 0 0 1px rgba(126, 224, 255, 0.7),
    0 0 40px rgba(126, 224, 255, 0.6);
}

/* Cards */
.sector-card {
  position: relative;
  padding: 20px 18px 18px;
  border-radius: var(--radius);
  background: linear-gradient(140deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow);
  cursor: pointer;
  transition:
    transform 0.22s ease,
    box-shadow 0.22s ease,
    background 0.22s ease,
    border-color 0.22s ease;
  outline: none;
}

.sector-card:hover,
.sector-card:focus-visible {
  transform: translateY(-6px);
  background: linear-gradient(150deg, rgba(122, 209, 255, 0.14), rgba(255, 255, 255, 0.03));
  border-color: rgba(122, 209, 255, 0.6);
  box-shadow: 0 22px 42px rgba(0, 0, 0, 0.55);
}

.sector-icon {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  color: var(--brand-2);
  margin-bottom: 10px;
  background:
    radial-gradient(120% 120% at 0 0, rgba(126, 224, 255, 0.35), transparent),
    rgba(18, 25, 55, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.sector-card h3 {
  margin: 0 0 8px;
  font-size: 17px;
}

.sector-card p {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 14px;
}

.sector-card-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: 999px;
  border: 0;
  background: rgba(28, 36, 72, 0.9);
  color: var(--text);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.18s ease, transform 0.18s ease;
}

.sector-card-cta::after {
  content: "↗";
  font-size: 11px;
  opacity: 0.7;
}

.sector-card-cta:hover {
  background: rgba(35, 46, 92, 0.98);
  transform: translateY(-1px);
}

.case-card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  padding: 0;
  box-shadow: var(--shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  overflow: hidden;
}

.case-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.case-image {
  height: 140px;
  background: linear-gradient(135deg, rgba(106, 160, 255, 0.1), rgba(126, 224, 255, 0.05));
  display: grid;
  place-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.case-placeholder {
  font-size: 32px;
  opacity: 0.7;
}

.case-content {
  padding: 20px;
}

.case-tag {
  display: inline-block;
  background: var(--accent);
  color: var(--brand);
  font-size: 12px;
  font-weight: 600;
  padding: 4px 8px;
  border-radius: 6px;
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.case-card h3 {
  margin: 0 0 8px;
  font-size: 18px;
}

.case-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

/* Contact info */
.contact-intro p {
  color: var(--muted);
}

.contact-item {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 12px;
}

.contact-item .icon {
  font-size: 18px;
  line-height: 1;
}

.contact-item .text {
  color: var(--text);
  line-height: 1.7;
}

.contact-item .label {
  display: block;
  font-weight: 700;
  font-size: 13px;
  color: var(--muted);
}

.contact-item a {
  color: var(--text);
  text-decoration: none;
}

.contact-item a:hover {
  text-decoration: underline;
}

.map-card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  padding: 12px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.map-card > div {
  border-radius: 10px;
  overflow: hidden;
}

/* Form */
.contact-form {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: var(--shadow);
}

.form-field {
  display: grid;
  gap: 6px;
}

label {
  font-weight: 600;
  color: var(--text);
}

input,
textarea {
  width: 100%;
  padding: 14px 14px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: #0d1430;
  color: var(--text);
  outline: none;
  min-height: 44px;
  font-family: inherit;
  font-size: 14px;
}

input::placeholder,
textarea::placeholder {
  color: #7180b6;
}

input:focus,
textarea:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(106, 160, 255, 0.2);
}

textarea {
  line-height: 1.6;
  resize: vertical;
}

.form-note {
  color: var(--muted);
  font-size: 13px;
}

.contact .submit {
  margin-top: 10px;
}

.form-error {
  margin-top: 12px;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(255, 107, 107, 0.28);
  background: rgba(255, 107, 107, 0.08);
  color: var(--text);
}

.form-field-error {
  font-size: 12.5px;
  color: rgba(255, 155, 155, 0.95);
}

.form-field.has-error input,
.form-field.has-error textarea {
  border-color: rgba(255, 107, 107, 0.6);
  box-shadow: 0 0 0 3px rgba(255, 107, 107, 0.15);
}

/* Toast */
.toast-region {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 200;
  display: grid;
  gap: 10px;
  width: min(380px, calc(100vw - 36px));
  pointer-events: none;
}

.toast {
  pointer-events: auto;
  padding: 12px 14px;
  border-radius: 14px;
  background:
    linear-gradient(145deg, rgba(5, 10, 24, 0.92), rgba(16, 26, 64, 0.98));
  border: 1px solid rgba(126, 224, 255, 0.38);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.7);
  transform: translateY(10px);
  opacity: 0;
  transition: opacity 180ms ease, transform 180ms ease;
}

.toast.is-visible {
  transform: translateY(0);
  opacity: 1;
}

/* Footer */
.site-footer {
  padding: 26px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(11, 16, 32, 0.6);
  backdrop-filter: blur(8px);
}

/* Modals */
body.modal-open {
  overflow: hidden;
}

.sector-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
}

.sector-modal.active {
  display: flex;
}

.sector-modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(4, 7, 18, 0.74);
  backdrop-filter: blur(16px);
}

.sector-modal-dialog {
  position: relative;
  width: min(900px, 92vw);
  max-height: min(640px, 90vh);
  border-radius: 20px;
  background:
    radial-gradient(140% 140% at 0 0, rgba(126, 224, 255, 0.18), transparent),
    rgba(12, 18, 40, 0.98);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.9);
  overflow: hidden;
  transform: translateY(20px);
  opacity: 0;
  transition: opacity 0.22s ease, transform 0.22s ease;
}

.sector-modal.active .sector-modal-dialog {
  opacity: 1;
  transform: translateY(0);
}

.sector-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  border: 0;
  background: rgba(12, 18, 40, 0.82);
  color: var(--muted);
  cursor: pointer;
  display: grid;
  place-items: center;
  font-size: 15px;
  transition: background 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

.sector-modal-close:hover {
  background: rgba(26, 37, 79, 0.98);
  color: var(--text);
  transform: translateY(-1px);
}

.sector-modal-banner {
  height: 180px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.sector-modal-banner--coal {
  background-image:
    linear-gradient(135deg, rgba(0, 0, 0, 0.8), rgba(40, 40, 40, 0.4)),
    radial-gradient(circle at 20% 20%, rgba(126, 224, 255, 0.25), transparent);
}

.sector-modal-banner--manufacturing {
  background-image:
    linear-gradient(135deg, rgba(19, 29, 71, 0.95), rgba(12, 18, 40, 0.9)),
    url("photos/coal.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.sector-modal-banner--logistics {
  background-image:
    linear-gradient(135deg, rgba(7, 12, 30, 0.95), rgba(19, 29, 71, 0.9)),
    radial-gradient(260px 260px at 0 100%, rgba(126, 224, 255, 0.35), transparent);
}

.sector-modal-banner--energy {
  background-image:
    linear-gradient(135deg, rgba(18, 25, 55, 0.98), rgba(255, 204, 0, 0.1)),
    radial-gradient(260px 260px at 80% 0, rgba(250, 255, 180, 0.3), transparent);
}

.sector-modal-banner--projects {
  background-image:
    linear-gradient(135deg, rgba(18, 25, 55, 0.98), rgba(122, 209, 255, 0.18)),
    radial-gradient(260px 260px at 20% 100%, rgba(126, 224, 255, 0.35), transparent);
}

.sector-modal-body {
  padding: 22px 22px 20px;
  overflow: auto;
  max-height: calc(min(640px, 90vh) - 180px);
}

.sector-modal-lead {
  margin-top: 6px;
  margin-bottom: 18px;
  color: var(--muted);
}

.sector-modal-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.sector-modal-section {
  padding: 12px 12px 10px;
  border-radius: 12px;
  background: rgba(18, 25, 55, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.sector-modal-section h3 {
  margin: 0 0 8px;
  font-size: 15px;
}

.sector-modal-section p {
  margin: 0;
  font-size: 14px;
  color: var(--muted);
}

.sector-modal-section ul {
  list-style: disc;
  padding-left: 18px;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.sector-modal-thanks {
  margin-top: 28px;
}

.sector-modal-thanks h3 {
  margin-bottom: 12px;
  font-size: 16px;
}

.sector-modal-thanks-card {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(18, 25, 55, 0.9);
  padding: 10px;
}

.sector-modal-thanks-card img {
  width: 100%;
  display: block;
  border-radius: 8px;
}

.sector-modal-thanks-caption {
  margin-top: 10px;
  font-size: 13px;
  color: var(--muted);
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

