:root {
  --bg: #f9fafb;
  --text: #1f2937;
  --muted: #6b7280;
  --brand: #0f766e;
  --accent: #ea580c;
  --nav-bg: #111827;
  --hero-start: #334155;
  --hero-end: #94a3b8;
  --card: #ffffff;
  --border: #e5e7eb;
  --footer-bg: #111827;
}

* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: system-ui, -apple-system, Segoe UI, Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif;
  line-height: 1.6;
}

a {
  color: var(--brand);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 16px;
}

/* Header and navigation */
header {
  background: var(--nav-bg);
  color: #fff;
  border-bottom: 1px solid #0b1220;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  padding: 14px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand img.logo {
  height: 56px;
  width: auto;
}

.brand .title {
  display: flex;
  flex-direction: column;
}

.brand .title .name {
  font-weight: 700;
  font-size: 1.1rem;
}

.brand .title .sub {
  font-size: 0.78rem;
  color: #93c5fd;
  letter-spacing: 1px;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 18px;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
}

nav a {
  color: #e5e7eb;
  font-weight: 500;
  padding: 8px 10px;
  border-radius: 6px;
}

nav a.active,
nav a:hover {
  background: #1f2937;
  color: #fff;
}

/* Hero */
.hero {
  background: linear-gradient(90deg, var(--hero-start), var(--hero-end));
  color: #fff;
  padding: 80px 0;
  text-align: center;
}

.hero h1 {
  margin: 0 0 10px;
  font-size: 2.2rem;
}

.hero p {
  margin: 0;
  font-size: 1.05rem;
  color: #e5e7eb;
}

/* Sections */
section.page {
  padding: 40px 0 56px;
}

.page h2 {
  font-size: 1.8rem;
  margin: 0 0 16px;
}

.page p.lead {
  color: var(--muted);
  font-size: 1.02rem;
}

/* Cards / grid */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  margin-top: 14px;
}

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 3px 10px rgba(0,0,0,0.06);
}

.card img {
  width: 100%;
  height: auto;
  border-bottom: 1px solid var(--border);
}

.card .card-body {
  padding: 14px;
}

.card .card-body h3 {
  margin: 0 0 6px;
  font-size: 1.1rem;
}

.card .card-body p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

/* Contact form */
.form {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 18px;
  max-width: 720px;
  box-shadow: 0 3px 10px rgba(0,0,0,0.06);
}

.form .row {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.form .row .col {
  flex: 1;
  min-width: 240px;
}

label {
  display: block;
  font-weight: 600;
  margin-bottom: 6px;
}

input[type="text"],
input[type="email"],
textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 0.98rem;
  background: #fff;
  color: var(--text);
}

textarea {
  min-height: 140px;
  resize: vertical;
}

button.btn {
  background: var(--brand);
  color: #fff;
  border: none;
  padding: 10px 14px;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
}

button.btn:hover {
  background: #0b5e58;
}

/* Contact info */
.contact-info {
  margin-top: 22px;
  display: grid;
  gap: 8px;
}

.contact-info .item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--muted);
}

.contact-info .item .label {
  font-weight: 700;
  color: var(--text);
}

/* Footer */
footer {
  background: var(--footer-bg);
  color: #e5e7eb;
  padding: 20px 0;
  text-align: center;
  margin-top: 20px;
  border-top: 1px solid #0b1220;
}

/* Utilities */
.mt-20 { margin-top: 20px; }
.center { text-align: center; }

/* Responsive tweaks */
@media (max-width: 640px) {
  .hero {
    padding: 56px 0;
  }

  .hero h1 {
    font-size: 1.6rem;
  }

  .hero p {
    font-size: 0.95rem;
  }

  .header-inner {
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }

  nav ul {
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }

  .brand img.logo {
    height: 48px;
  }

  .brand .title .name {
    font-size: 1rem;
  }

  .form .row {
    flex-direction: column;
  }

  .product-grid {
    grid-template-columns: 1fr;
  }
}
