/* Lifeforms Printing - Modern rebuild keeping original style */
:root {
  --bg: #f5ede0;
  --bg-alt: #faf6f0;
  --text: #333333;
  --text-light: #555555;
  --accent: #98c22a;
  --accent-dark: #7aa017;
  --blue: #3182e6;
  --header-bg: #ffffff;
  --border: #e0d8cc;
  --max-width: 1100px;
}

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

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  font-size: 16px;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
header {
  background: var(--header-bg);
  border-bottom: 3px solid var(--accent);
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  position: sticky;
  top: 0;
  z-index: 100;
}

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

.logo img {
  height: 155px;
  width: auto;
  display: block;
}

nav ul {
  display: flex;
  list-style: none;
  gap: 8px;
  flex-wrap: wrap;
}

nav a {
  text-decoration: none;
  color: var(--text);
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 4px;
  transition: background 0.2s, color 0.2s;
}

nav a:hover,
nav a.active {
  background: var(--accent);
  color: #fff;
}

/* Hero / sections */
.hero {
  background: linear-gradient(135deg, #f8f4ed 0%, #f0e6d6 100%);
  padding: 50px 0 40px;
  text-align: center;
  border-bottom: 1px solid var(--border);
}

.hero h1 {
  font-size: 2.2rem;
  margin-bottom: 10px;
  color: #222;
  letter-spacing: -0.5px;
}

.hero p.lead {
  font-size: 1.15rem;
  color: var(--text-light);
  max-width: 700px;
  margin: 0 auto 25px;
}

.section {
  padding: 50px 0;
}

.section h2 {
  font-size: 1.8rem;
  margin-bottom: 20px;
  color: #222;
  text-align: center;
  position: relative;
  padding-bottom: 10px;
}

.section h2::after {
  content: "";
  display: block;
  width: 60px;
  height: 3px;
  background: var(--accent);
  margin: 10px auto 0;
}

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 25px;
}

.card {
  background: #fff;
  border-radius: 8px;
  padding: 25px;
  box-shadow: 0 3px 12px rgba(0,0,0,0.06);
  border: 1px solid var(--border);
}

.card h3 {
  color: var(--accent-dark);
  margin-bottom: 10px;
  font-size: 1.2rem;
}

.card img {
  width: 100%;
  height: auto;
  border-radius: 6px;
  margin-bottom: 15px;
}

.highlight {
  background: #fff;
  border-left: 5px solid var(--accent);
  padding: 20px 25px;
  margin: 25px 0;
  border-radius: 0 8px 8px 0;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

ul.features {
  list-style: none;
  columns: 2;
  gap: 30px;
}

ul.features li {
  padding: 8px 0 8px 22px;
  position: relative;
}

ul.features li::before {
  content: "✓";
  color: var(--accent);
  font-weight: bold;
  position: absolute;
  left: 0;
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.contact-info p {
  margin-bottom: 12px;
  font-size: 1.05rem;
}

.contact-info strong {
  color: var(--accent-dark);
  display: inline-block;
  min-width: 90px;
}

.form-group {
  margin-bottom: 16px;
}

.form-group label {
  display: block;
  margin-bottom: 5px;
  font-weight: 600;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-family: inherit;
  font-size: 1rem;
}

.form-group textarea { min-height: 120px; resize: vertical; }

button, .btn {
  background: var(--accent);
  color: #fff;
  border: none;
  padding: 12px 28px;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.2s;
}

button:hover, .btn:hover { background: var(--accent-dark); }

/* Footer */
footer {
  background: #2c2c2c;
  color: #ddd;
  padding: 30px 0;
  margin-top: 40px;
  text-align: center;
  font-size: 0.9rem;
}

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

/* Responsive */
@media (max-width: 900px) {
  .logo img { height: 110px; }
  .header-inner { gap: 10px; }
}

@media (max-width: 768px) {
  .header-inner { 
    flex-direction: column; 
    text-align: center; 
    padding: 15px 0 10px;
  }
  .logo img { height: 90px; }
  nav ul { 
    justify-content: center; 
    gap: 6px;
    margin-top: 8px;
  }
  nav a { 
    padding: 10px 14px; 
    font-size: 0.95rem;
  }
  .grid-2, .contact-grid { 
    grid-template-columns: 1fr; 
    gap: 25px;
  }
  ul.features { columns: 1; }
  .hero { padding: 35px 0 25px; }
  .hero h1 { font-size: 1.7rem; }
  .hero p.lead { font-size: 1.05rem; }
  .section { padding: 30px 0; }
  .container { padding: 0 16px; }
}

@media (max-width: 480px) {
  .logo img { height: 75px; }
  nav a { padding: 8px 12px; font-size: 0.9rem; }
  .hero h1 { font-size: 1.5rem; }
  .section h2 { font-size: 1.5rem; }
  .card { padding: 18px; }
}
