*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background: #0d0d0d;
  color: #e8e8e8;
  min-height: 100vh;
  padding: 3rem 1.5rem;
}

.container {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

/* Nav */
.nav { display: flex; gap: 1.2rem; flex-wrap: wrap; padding-bottom: 1.5rem; margin-bottom: 1.5rem; border-bottom: 1px solid #1a1a1a; }
.nav a { font-size: 0.8rem; color: #555; text-decoration: none; transition: color 0.15s; }
.nav a:hover { color: #5b8dd9; text-decoration: none; }
.nav a.active { color: #e8e8e8; }

/* Hero */
.hero { text-align: center; padding: 2rem 0 1rem; }
.hero h1 { font-size: 2rem; font-weight: 700; margin-bottom: 0.75rem; line-height: 1.2; }
.hero-sub { color: #888; font-size: 0.95rem; }

/* Carousel */
.carousel { position: relative; overflow: hidden; border-radius: 12px; border: 1px solid #222; }
.carousel-track { display: flex; transition: transform 0.4s ease; }
.carousel-slide { min-width: 100%; }
.carousel-slide.active { display: block; }
.carousel-slide img { width: 100%; height: 300px; object-fit: cover; display: block; }
.carousel-controls { position: absolute; top: 50%; width: 100%; display: flex; justify-content: space-between; padding: 0 0.5rem; transform: translateY(-50%); pointer-events: none; }
.carousel-btn { pointer-events: all; background: rgba(0,0,0,0.5); border: 1px solid #333; color: #e8e8e8; width: 40px; height: 40px; border-radius: 50%; cursor: pointer; font-size: 1.2rem; transition: background 0.15s, border-color 0.15s; }
.carousel-btn:hover { border-color: #5b8dd9; background: rgba(0,0,0,0.7); }
.carousel-dots { display: flex; justify-content: center; gap: 0.5rem; padding: 0.75rem 0; background: #141414; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: #333; cursor: pointer; transition: background 0.15s; }
.dot.active { background: #5b8dd9; }

/* Services */
.services { display: flex; flex-direction: column; gap: 1rem; }
.service-card {
  display: block; padding: 1.5rem; border-radius: 12px;
  border: 1px solid #222; background: #141414;
  transition: border-color 0.15s, background 0.15s;
}
.service-card:hover { border-color: #444; background: #1a1a1a; }
.service-card h2 { font-size: 1.1rem; font-weight: 600; margin-bottom: 0.4rem; color: #e8e8e8; }
.service-card p { font-size: 0.9rem; color: #888; line-height: 1.5; }

/* Products section */
.products-section { text-align: center; padding: 1rem 0; }
.products-section h2 { font-size: 1.5rem; font-weight: 600; margin-bottom: 0.75rem; }
.products-section p { color: #888; font-size: 0.95rem; line-height: 1.6; margin-bottom: 1.5rem; max-width: 500px; margin-left: auto; margin-right: auto; }

/* Contact */
.contact { text-align: center; }
.contact-box { padding: 2.5rem 1.5rem; border-radius: 12px; border: 1px solid #222; background: #141414; }
.contact-box h2 { font-size: 1.3rem; font-weight: 600; margin-bottom: 0.5rem; }
.contact-box p { color: #888; font-size: 0.9rem; margin-bottom: 1.5rem; }

/* Buttons */
.btn {
  display: inline-block; padding: 0.6rem 1.5rem; border-radius: 8px;
  font-size: 0.9rem; font-weight: 500; text-decoration: none;
  transition: all 0.15s;
}
.btn-primary { background: #5b8dd9; color: #0d0d0d; }
.btn-primary:hover { background: #7aa8e8; }
.btn-outline {
  border: 1px solid #333; color: #ccc; background: none;
}
.btn-outline:hover { border-color: #5b8dd9; color: #fff; }

/* Footer */
.footer-nav {
  display: flex; gap: 3rem; margin-top: 3rem; padding-top: 2rem;
  border-top: 1px solid #1a1a1a;
}
.footer-col { display: flex; flex-direction: column; gap: 0.4rem; }
.footer-col h3 { font-size: 0.7rem; font-weight: 600; color: #555; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 0.3rem; }
.footer-col a { font-size: 0.8rem; color: #666; text-decoration: none; transition: color 0.15s; }
.footer-col a:hover { color: #5b8dd9; }

/* Breakdown (whatitis page) */
.breakdown { display: flex; flex-direction: column; gap: 2rem; padding: 1rem 0; }
.breakdown-item h2 { font-size: 1.3rem; font-weight: 600; margin-bottom: 0.5rem; color: #e8e8e8; }
.breakdown-item p { color: #888; font-size: 0.95rem; line-height: 1.6; margin-bottom: 0.75rem; }
.breakdown-item ul { padding-left: 1.5rem; }
.breakdown-item li { color: #aaa; font-size: 0.9rem; line-height: 1.6; margin-bottom: 0.4rem; }

/* Image cards (whatitis page) */
.image-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.img-card { border-radius: 12px; border: 1px solid #222; overflow: hidden; background: #141414; transition: border-color 0.15s; }
.img-card:hover { border-color: #444; }
.img-card img { width: 100%; height: 160px; object-fit: cover; display: block; }
.img-card-link { display: block; text-align: center; padding: 0.75rem; color: #5b8dd9; font-size: 0.85rem; font-weight: 500; text-decoration: none; transition: color 0.15s; }
.img-card-link:hover { color: #7aa8e8; }

@media (max-width: 500px) {
  .footer-nav { flex-direction: column; gap: 1.5rem; }
  .carousel-slide img { height: 200px; }
  .image-cards { grid-template-columns: repeat(2, 1fr); }
  .img-card img { height: 120px; }
}
