/* Eicma Trade — deep slate + teal accent (e‑commerce / logistics) */
:root {
  --ink: #0c1015;
  --slate: #141b24;
  --slate-mid: #1e2835;
  --slate-light: #2a3544;
  --teal: #2dd4bf;
  --teal-dim: #14b8a6;
  --mist: #e2e8f0;
  --muted: #94a3b8;
  --card: #1a222d;
  --max: 1200px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
  background: var(--ink);
  color: var(--mist);
  line-height: 1.65;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--teal);
  text-decoration: none;
}

a:hover {
  color: #5eead4;
}

.container {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
}

/* Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(12, 16, 21, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(45, 212, 191, 0.15);
}

.header-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0.85rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.logo img {
  height: 40px;
  width: auto;
}

.nav-menu {
  display: flex;
  gap: 2rem;
  list-style: none;
  align-items: center;
}

.nav-menu a {
  color: rgba(241, 245, 249, 0.88);
  font-weight: 500;
  font-size: 0.95rem;
}

.nav-menu a:hover,
.nav-menu a.active {
  color: var(--teal);
}

.menu-toggle {
  display: none;
  background: none;
  border: 1px solid rgba(45, 212, 191, 0.35);
  color: var(--mist);
  padding: 0.35rem 0.65rem;
  border-radius: 6px;
  cursor: pointer;
  font-size: 1.25rem;
}

/* Hero carousel */
.hero-full {
  min-height: 90vh;
  position: relative;
  display: flex;
  align-items: flex-end;
  padding: 6rem 1.25rem 4rem;
  overflow: hidden;
}

.hero-slides {
  position: absolute;
  inset: 0;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.9s ease;
  pointer-events: none;
}

.hero-slide.active {
  opacity: 1;
  pointer-events: auto;
}

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, rgba(12, 16, 21, 0.88) 0%, rgba(12, 16, 21, 0.45) 55%, rgba(12, 16, 21, 0.25) 100%);
  z-index: 1;
}

.hero-wave {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 2;
  line-height: 0;
  color: var(--ink);
}

.hero-content {
  position: relative;
  z-index: 3;
  max-width: var(--max);
  margin: 0 auto;
  width: 100%;
  padding-bottom: 2rem;
}

.hero-tag {
  display: inline-block;
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 0.75rem;
  font-weight: 600;
}

.hero-content h1 {
  font-size: clamp(2rem, 4.5vw, 3.25rem);
  font-weight: 700;
  line-height: 1.15;
  max-width: 18ch;
  margin-bottom: 1rem;
}

.hero-desc {
  max-width: 36ch;
  color: var(--muted);
  font-size: 1.05rem;
  margin-bottom: 1.5rem;
}

.hero-btn {
  display: inline-block;
  padding: 0.85rem 1.75rem;
  background: linear-gradient(135deg, var(--teal-dim), var(--teal));
  color: var(--ink) !important;
  font-weight: 600;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.15s;
}

.hero-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(45, 212, 191, 0.25);
}

.hero-dots {
  position: absolute;
  bottom: 5.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 4;
  display: flex;
  gap: 0.5rem;
}

.hero-dots span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}

.hero-dots span.active {
  background: var(--teal);
  transform: scale(1.15);
}

/* Sections */
.sect-tag {
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--teal);
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.sect-title {
  font-size: clamp(1.65rem, 3vw, 2.15rem);
  font-weight: 700;
  margin-bottom: 2rem;
  color: var(--mist);
}

/* Products — fixed 4-col grid, equal cards */
.products-section {
  padding: 4.5rem 0 5rem;
  background: var(--slate);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.prod-card {
  background: var(--card);
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.12);
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.prod-card .prod-img-wrap {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  flex-shrink: 0;
}

.prod-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.prod-caption {
  padding: 1.1rem 1.15rem 1.25rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.prod-caption h3 {
  font-size: 1.05rem;
  margin-bottom: 0.35rem;
  color: var(--mist);
}

.prod-caption p {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.5;
}

/* About strip on home */
.about-section {
  padding: 5rem 0;
  background: var(--ink);
}

.about-layout {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 3rem;
  align-items: center;
}

.about-text p {
  color: var(--muted);
  margin-bottom: 1rem;
}

.about-text p:last-of-type {
  margin-bottom: 1.5rem;
}

.about-collage {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 0.75rem;
}

.about-collage .big {
  grid-row: span 2;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(45, 212, 191, 0.2);
}

.about-collage .small {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.15);
  aspect-ratio: 16 / 10;
}

.about-collage img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Testimonials */
.testimonials-section {
  padding: 4.5rem 0;
  background: var(--slate-mid);
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.testimonial-box {
  background: var(--card);
  border-radius: 12px;
  padding: 1.5rem;
  border: 1px solid rgba(148, 163, 184, 0.1);
  border-left: 4px solid var(--teal);
}

.testimonial-stars {
  color: #fbbf24;
  letter-spacing: 0.05em;
  margin-bottom: 0.75rem;
  font-size: 0.95rem;
}

.testimonial-box > p {
  font-size: 0.92rem;
  color: var(--muted);
  margin-bottom: 1.25rem;
  line-height: 1.6;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.testimonial-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid rgba(45, 212, 191, 0.4);
  flex-shrink: 0;
}

.testimonial-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.testimonial-name {
  font-weight: 600;
  color: var(--mist);
  font-size: 0.95rem;
}

.testimonial-role {
  font-size: 0.8rem;
  color: var(--muted);
}

/* Message — left image, right form */
.message-section {
  padding: 5rem 0;
  background: var(--ink);
}

.message-head {
  text-align: center;
  margin-bottom: 2.5rem;
}

.message-wrap {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 2rem;
  align-items: stretch;
}

.message-img {
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(45, 212, 191, 0.2);
  min-height: 320px;
}

.message-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.message-form {
  background: var(--card);
  padding: 2rem;
  border-radius: 14px;
  border: 1px solid rgba(148, 163, 184, 0.12);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-group {
  margin-bottom: 1rem;
}

.form-group label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--mist);
  margin-bottom: 0.35rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 0.9rem;
  border-radius: 8px;
  border: 1px solid rgba(148, 163, 184, 0.25);
  background: var(--slate);
  color: var(--mist);
  font-family: inherit;
  font-size: 0.95rem;
}

.form-group textarea {
  min-height: 120px;
  resize: vertical;
}

.btn-send {
  margin-top: 0.5rem;
  padding: 0.85rem 1.75rem;
  background: linear-gradient(135deg, var(--teal-dim), var(--teal));
  color: var(--ink);
  font-weight: 600;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-size: 1rem;
}

.btn-send:hover {
  filter: brightness(1.08);
}

/* Footer */
.site-footer {
  background: var(--slate);
  border-top: 1px solid rgba(45, 212, 191, 0.12);
  padding: 3.5rem 1.25rem 1.5rem;
}

.footer-grid {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 0.7fr 1fr;
  gap: 2.5rem;
}

.footer-logo img {
  height: 44px;
  margin-bottom: 1rem;
}

.footer-desc {
  color: var(--muted);
  font-size: 0.92rem;
  max-width: 28ch;
  margin-bottom: 1.25rem;
}

.footer-nav h4,
.footer-contact h4,
.footer-social h4 {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--mist);
  margin-bottom: 1rem;
}

.footer-nav ul {
  list-style: none;
}

.footer-nav a {
  color: var(--muted);
  display: block;
  padding: 0.25rem 0;
}

.footer-nav a:hover {
  color: var(--teal);
}

.footer-contact p {
  color: var(--muted);
  font-size: 0.92rem;
  margin-bottom: 0.5rem;
}

.footer-social-links {
  display: flex;
  gap: 0.75rem;
}

.footer-social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: var(--slate-mid);
  color: var(--mist);
  border: 1px solid rgba(148, 163, 184, 0.2);
}

.footer-social-links a:hover {
  background: rgba(45, 212, 191, 0.15);
  color: var(--teal);
}

.footer-social-links svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.footer-copy {
  text-align: center;
  color: var(--muted);
  font-size: 0.82rem;
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(148, 163, 184, 0.1);
}

.back-top {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(45, 212, 191, 0.35);
  background: var(--slate-mid);
  color: var(--teal);
  font-size: 1.2rem;
  cursor: pointer;
  z-index: 50;
}

/* Inner pages */
.page-hero {
  padding: 7rem 1.25rem 3rem;
  background: var(--slate);
  text-align: center;
}

.page-hero h1 {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  margin-bottom: 0.5rem;
}

.page-hero p {
  color: var(--muted);
  max-width: 50ch;
  margin: 0 auto;
}

.about-page {
  padding: 3rem 0 5rem;
}

.about-page-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: start;
}

.about-page-visual {
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(45, 212, 191, 0.2);
}

.about-page-visual img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.about-page-copy h2 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.about-page-copy p {
  color: var(--muted);
  margin-bottom: 1rem;
}

.about-page-wide {
  margin-top: 2.5rem;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.15);
}

.about-page-wide img {
  width: 100%;
  max-height: 420px;
  object-fit: cover;
}

/* Contact page */
.contact-banner {
  width: 100%;
  max-height: 380px;
  overflow: hidden;
}

.contact-banner img {
  width: 100%;
  height: 380px;
  object-fit: cover;
}

.contact-body {
  padding: 3.5rem 0 5rem;
  background: var(--ink);
}

.contact-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: center;
}

.contact-split-img {
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(45, 212, 191, 0.2);
}

.contact-split-img img {
  width: 100%;
  min-height: 320px;
  object-fit: cover;
}

.contact-card {
  background: var(--card);
  padding: 2rem;
  border-radius: 14px;
  border: 1px solid rgba(148, 163, 184, 0.12);
}

.contact-card h2 {
  font-size: 1.35rem;
  margin-bottom: 1.25rem;
}

.contact-card .row {
  margin-bottom: 1rem;
}

.contact-card .label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--teal);
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.contact-card .value {
  color: var(--muted);
  font-size: 1rem;
}

/* Responsive */
@media (max-width: 1024px) {
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .testimonial-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-grid > div:first-child {
    grid-column: span 2;
  }
}

@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }

  .nav-menu {
    position: fixed;
    top: 60px;
    right: 1rem;
    background: var(--slate-mid);
    flex-direction: column;
    padding: 1.25rem 2rem;
    border-radius: 12px;
    border: 1px solid rgba(45, 212, 191, 0.2);
    display: none;
    gap: 1rem;
  }

  .nav-menu.open {
    display: flex;
  }

  .hero-dots {
    bottom: 4.5rem;
  }

  .about-layout,
  .message-wrap,
  .about-page-grid,
  .contact-split {
    grid-template-columns: 1fr;
  }

  .about-collage {
    grid-template-columns: 1fr 1fr;
  }

  .about-collage .big {
    grid-row: span 1;
    grid-column: span 2;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid > div:first-child {
    grid-column: span 1;
  }
}

@media (max-width: 520px) {
  .products-grid {
    grid-template-columns: 1fr;
  }
}
