/* Core layout and theme */
:root {
  --color-bg: #050816;
  --color-bg-alt: #0b1020;
  --color-accent: #00e6a8;
  --color-accent-soft: rgba(0, 230, 168, 0.12);
  --color-text: #f5f7ff;
  --color-muted: #a3aed0;
  --color-border: #252b3d;
  --shadow-soft: 0 18px 45px rgba(0, 0, 0, 0.6);
  --radius-lg: 18px;
  --radius-md: 12px;
  --radius-pill: 999px;
  --transition-fast: 0.18s ease-out;
  --transition-med: 0.28s ease;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: radial-gradient(circle at top, #151b3a 0, #050816 45%, #000 100%);
  color: var(--color-text);
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  padding-left: 1.25rem;
}

.container {
  width: min(1120px, 100% - 2.5rem);
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: linear-gradient(to bottom, rgba(5, 8, 22, 0.98), rgba(5, 8, 22, 0.86));
  border-bottom: 1px solid rgba(255, 255, 255, 0.02);
  backdrop-filter: blur(16px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 0;
  gap: 1.5rem;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.03em;
}

.logo-mark {
  width: 36px;
  height: 36px;
  border-radius: 40%;
  background: conic-gradient(from 120deg, #00e6a8, #61dafb, #4b7bec, #00e6a8);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #050816;
  font-weight: 800;
  box-shadow: 0 0 0 2px rgba(0, 230, 168, 0.45), 0 16px 35px rgba(0, 0, 0, 0.8);
}

.logo-text {
  font-size: 0.9rem;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  font-size: 0.9rem;
}

.main-nav a {
  position: relative;
  color: var(--color-muted);
  padding: 0.2rem 0;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.2rem;
  width: 0;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, #00e6a8, #4b7bec);
  transition: width var(--transition-fast);
}

.main-nav a:hover {
  color: var(--color-text);
}

.main-nav a:hover::after {
  width: 100%;
}

.nav-toggle {
  display: none;
  width: 38px;
  height: 38px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(0, 0, 0, 0.3);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.nav-toggle span {
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: #f5f7ff;
}

main {
  padding-bottom: 4rem;
}

.hero-section {
  padding: 3.5rem 0 3rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 2.8rem;
  align-items: center;
}

.hero-text h1 {
  font-size: clamp(2.3rem, 2.9vw, 2.8rem);
  line-height: 1.1;
  margin-bottom: 1rem;
}

.hero-text p {
  color: var(--color-muted);
  font-size: 0.95rem;
}

.hero-highlights {
  list-style: none;
  display: grid;
  gap: 0.4rem;
  margin: 1rem 0;
  padding-left: 0;
}

.hero-highlights li::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  margin-right: 0.4rem;
  background: radial-gradient(circle, #00e6a8, transparent);
  box-shadow: 0 0 12px rgba(0, 230, 168, 0.7);
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin: 1.2rem 0 0.6rem;
}

.hero-subseo {
  font-size: 0.8rem;
  color: rgba(163, 174, 208, 0.9);
  max-width: 32rem;
}

.hero-image-wrapper {
  position: relative;
}

.hero-image-wrapper::before {
  content: "";
  position: absolute;
  inset: 10% 0 auto;
  background: radial-gradient(circle at top, rgba(0, 230, 168, 0.45), transparent 55%);
  opacity: 0.7;
  filter: blur(18px);
}

.hero-image {
  border-radius: 26px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow-soft);
  position: relative;
}

.section {
  padding: 2.8rem 0;
}

.section-alt {
  background: radial-gradient(circle at top left, rgba(0, 230, 168, 0.07), transparent 60%),
    linear-gradient(to bottom, var(--color-bg-alt), #050816 85%);
}

.section-header {
  text-align: center;
  margin-bottom: 2rem;
}

.section-header h2 {
  font-size: 1.6rem;
  margin-bottom: 0.3rem;
}

.section-header p {
  color: var(--color-muted);
  font-size: 0.95rem;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.card {
  background: radial-gradient(circle at top left, rgba(0, 230, 168, 0.08), transparent 45%),
    rgba(10, 14, 35, 0.98);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.7);
  overflow: hidden;
  transform: translateY(0);
  transition: transform var(--transition-med), box-shadow var(--transition-med),
    border-color var(--transition-med), background var(--transition-med);
}

.card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.card-body {
  padding: 1.05rem 1.1rem 1.1rem;
}

.card-body h3 {
  font-size: 1.05rem;
  margin: 0 0 0.4rem;
}

.card-body p {
  font-size: 0.88rem;
  color: var(--color-muted);
}

.card:hover {
  transform: translateY(-6px);
  border-color: rgba(0, 230, 168, 0.6);
  box-shadow: 0 20px 55px rgba(0, 0, 0, 0.9);
}

.section-cta {
  text-align: center;
  margin-top: 2rem;
}

.two-column {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 2.3rem;
  align-items: center;
}

.image-stack {
  display: grid;
  gap: 0.75rem;
}

.image-stack img:first-child {
  border-radius: 18px;
}

.image-stack img:last-child {
  border-radius: 999px;
  max-width: 80%;
  justify-self: end;
}

.contact-cta {
  background: linear-gradient(120deg, rgba(0, 230, 168, 0.08), rgba(75, 123, 236, 0.14));
}

.rounded-image {
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.7);
}

.bullet-list {
  list-style: none;
  padding-left: 0;
  margin: 1rem 0;
  color: var(--color-muted);
}

.bullet-list li {
  position: relative;
  padding-left: 1.3rem;
  margin-bottom: 0.25rem;
}

.bullet-list li::before {
  content: "◆";
  position: absolute;
  left: 0;
  top: 0.02rem;
  font-size: 0.6rem;
  color: var(--color-accent);
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.2rem;
}

.news-card {
  background: rgba(7, 12, 30, 0.98);
}

.news-meta {
  margin-top: 0.8rem;
  font-size: 0.78rem;
  color: rgba(163, 174, 208, 0.9);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.3rem;
  border-radius: var(--radius-pill);
  padding: 0.55rem 1.3rem;
  font-size: 0.9rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background var(--transition-fast), color var(--transition-fast),
    box-shadow var(--transition-fast), border-color var(--transition-fast), transform var(--transition-fast);
  text-decoration: none;
}

.btn-primary {
  background: linear-gradient(135deg, #00e6a8, #4b7bec);
  color: #050816;
  box-shadow: 0 14px 38px rgba(0, 0, 0, 0.7);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.85);
}

.btn-secondary {
  background: rgba(6, 12, 32, 0.9);
  color: var(--color-text);
  border-color: rgba(255, 255, 255, 0.12);
}

.btn-secondary:hover {
  background: rgba(13, 22, 52, 0.96);
  border-color: rgba(0, 230, 168, 0.9);
}

.btn-outline {
  background: transparent;
  color: var(--color-text);
  border-color: rgba(0, 230, 168, 0.7);
  box-shadow: 0 0 0 1px rgba(0, 230, 168, 0.3);
}

.btn-outline:hover {
  background: var(--color-accent-soft);
}

.link-inline {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.9rem;
  color: var(--color-accent);
}

.link-inline::after {
  content: "↗";
  font-size: 0.8rem;
}

.site-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 2.3rem 0 1.4rem;
  background: radial-gradient(circle at top, rgba(0, 230, 168, 0.12), #050816 65%);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 2fr;
  gap: 1.8rem;
  font-size: 0.86rem;
}

.footer-grid h3,
.footer-grid h4 {
  margin-top: 0;
  margin-bottom: 0.4rem;
}

.footer-grid ul {
  list-style: none;
  padding-left: 0;
}

.footer-grid a {
  color: var(--color-muted);
}

.footer-grid a:hover {
  color: var(--color-text);
}

.footer-seo {
  color: rgba(163, 174, 208, 0.9);
  font-size: 0.78rem;
}

.footer-bottom {
  text-align: center;
  margin-top: 1.5rem;
  font-size: 0.78rem;
  color: var(--color-muted);
}

.page-hero {
  padding: 2.6rem 0 1.8rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.page-hero h1 {
  font-size: 1.9rem;
  margin-bottom: 0.6rem;
}

.page-hero p {
  max-width: 40rem;
  color: var(--color-muted);
  font-size: 0.95rem;
}

.breadcrumbs {
  font-size: 0.78rem;
  color: rgba(163, 174, 208, 0.9);
  margin-bottom: 0.4rem;
}

.breadcrumbs a {
  color: var(--color-muted);
}

.breadcrumbs a:hover {
  color: var(--color-text);
}

.products-layout {
  padding: 2.2rem 0 1rem;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.3rem;
}

.products-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.4rem;
}

.filter-chip {
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  padding: 0.25rem 0.9rem;
  font-size: 0.78rem;
  cursor: pointer;
  background: rgba(7, 12, 30, 0.96);
  color: var(--color-muted);
  transition: background var(--transition-fast), color var(--transition-fast),
    border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.filter-chip.active {
  background: rgba(0, 230, 168, 0.12);
  color: var(--color-text);
  border-color: rgba(0, 230, 168, 0.9);
  box-shadow: 0 0 0 1px rgba(0, 230, 168, 0.5);
}

.product-meta {
  margin-top: 0.55rem;
  font-size: 0.78rem;
  color: rgba(163, 174, 208, 0.86);
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
}

.badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.1rem 0.6rem;
  border-radius: 999px;
  border: 1px solid rgba(0, 230, 168, 0.68);
  color: rgba(216, 253, 244, 0.9);
  font-size: 0.7rem;
}

.page-section {
  padding: 2.4rem 0 0.8rem;
}

.timeline {
  border-left: 2px solid rgba(0, 230, 168, 0.5);
  padding-left: 1.3rem;
  margin-top: 1.4rem;
}

.timeline-item {
  position: relative;
  margin-bottom: 1.2rem;
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: -1.45rem;
  top: 0.3rem;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #00e6a8;
  box-shadow: 0 0 0 4px rgba(0, 230, 168, 0.2);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.3rem;
  margin-top: 1.4rem;
}

.team-card img {
  height: 180px;
  width: 100%;
  object-fit: cover;
}

.team-name {
  font-weight: 600;
  margin-bottom: 0.1rem;
}

.team-role {
  font-size: 0.8rem;
  color: rgba(163, 174, 208, 0.9);
  margin-bottom: 0.4rem;
}

.contact-layout {
  padding: 2.4rem 0 1.4rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 2rem;
}

.contact-card {
  padding: 1.3rem 1.4rem;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  font-size: 0.85rem;
}

.form-field.full {
  grid-column: 1 / -1;
}

.form-field label {
  color: rgba(216, 222, 255, 0.9);
}

.form-field input,
.form-field select,
.form-field textarea {
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(5, 8, 22, 0.92);
  padding: 0.55rem 0.75rem;
  color: var(--color-text);
  font-size: 0.86rem;
  outline: none;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast),
    background var(--transition-fast);
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: rgba(0, 230, 168, 0.9);
  box-shadow: 0 0 0 1px rgba(0, 230, 168, 0.4);
  background: rgba(5, 8, 22, 0.98);
}

.form-hint {
  font-size: 0.75rem;
  color: rgba(163, 174, 208, 0.9);
}

.form-error {
  font-size: 0.75rem;
  color: #ff7b7b;
  margin-top: 0.1rem;
}

.status-message {
  margin-top: 0.6rem;
  font-size: 0.8rem;
  color: rgba(0, 230, 168, 0.95);
}

.map-placeholder {
  border-radius: 18px;
  border: 1px dashed rgba(255, 255, 255, 0.12);
  padding: 1rem;
  font-size: 0.82rem;
  color: var(--color-muted);
  background: radial-gradient(circle at top, rgba(0, 230, 168, 0.1), transparent 60%);
}

.map-placeholder strong {
  display: block;
  margin-bottom: 0.4rem;
}

.tagline-small {
  font-size: 0.8rem;
  color: rgba(163, 174, 208, 0.96);
}

.hidden-tail {
  font-size: 0;
  line-height: 0;
  height: 0;
  overflow: hidden;
}

.fade-in {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1.1fr);
  }

  .hero-section {
    padding-top: 2.6rem;
  }

  .cards-grid,
  .news-grid,
  .products-grid,
  .team-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .two-column,
  .contact-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .header-inner {
    padding-block: 0.5rem;
  }

  .main-nav {
    position: absolute;
    right: 1.25rem;
    top: 3.1rem;
    padding: 0.7rem 0.95rem;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(5, 8, 22, 0.98);
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.75);
    flex-direction: column;
    align-items: flex-start;
    min-width: 180px;
    transform-origin: top right;
    transform: scale(0.96);
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--transition-med), transform var(--transition-med),
      visibility var(--transition-med);
  }

  .main-nav.open {
    opacity: 1;
    transform: scale(1);
    visibility: visible;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .hero-cta {
    flex-direction: column;
    align-items: stretch;
  }

  .cards-grid,
  .news-grid,
  .products-grid,
  .team-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .footer-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .page-hero {
    padding-top: 2.1rem;
  }

  .form-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 480px) {
  .container {
    width: min(100% - 1.6rem, 520px);
  }

  .hero-text h1 {
    font-size: 2rem;
  }
}


