/* Wagner Moisture - Microsite Styles */
/* Domain: wagnermoisture.com */
/* Target: Flooring Installers */

:root {
  --primary: #1a5276;
  --primary-dark: #0e3a54;
  --accent: #e67e22;
  --accent-hover: #d35400;
  --text: #2c3e50;
  --text-light: #5d6d7e;
  --bg: #ffffff;
  --bg-light: #f8f9fa;
  --bg-section: #eef2f5;
  --border: #dce1e5;
  --success: #27ae60;
  --white: #ffffff;
}

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

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--text);
  line-height: 1.6;
  font-size: 16px;
}

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

img { max-width: 100%; height: auto; }

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

/* HEADER */
.site-header {
  background: var(--primary-dark);
  color: var(--white);
  padding: 0;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.header-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100px;
}

.site-logo {
  font-size: 20px;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.5px;
}

.site-logo span { color: var(--accent); }

nav { display: flex; gap: 4px; }

nav a {
  color: rgba(255,255,255,0.85);
  padding: 8px 14px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.2s;
}

nav a:hover, nav a.active {
  color: var(--white);
  background: rgba(255,255,255,0.12);
}

/* HERO */
.hero {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
  color: var(--white);
  padding: 80px 0;
  text-align: center;
}

.hero h1 {
  font-size: 42px;
  font-weight: 800;
  margin-bottom: 16px;
  letter-spacing: -1px;
  line-height: 1.15;
}

.hero p {
  font-size: 20px;
  opacity: 0.9;
  max-width: 640px;
  margin: 0 auto 32px;
  line-height: 1.5;
}

.hero-small { padding: 48px 0; }
.hero-small h1 { font-size: 34px; margin-bottom: 10px; }
.hero-small p { font-size: 18px; margin-bottom: 0; }

/* BUTTONS */
.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.2s;
  border: none;
  text-align: center;
}

.btn-primary {
  background: var(--accent);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--accent-hover);
  color: var(--white);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(230,126,34,0.35);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.5);
}

.btn-outline:hover {
  border-color: var(--white);
  color: var(--white);
  background: rgba(255,255,255,0.08);
}

.btn-secondary {
  background: var(--primary);
  color: var(--white);
}

.btn-secondary:hover {
  background: var(--primary-dark);
  color: var(--white);
}

.hero-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* SECTIONS */
section { padding: 64px 0; }
section.alt { background: var(--bg-section); }

.section-title {
  font-size: 30px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 12px;
  color: var(--primary-dark);
}

.section-subtitle {
  text-align: center;
  color: var(--text-light);
  font-size: 18px;
  max-width: 640px;
  margin: 0 auto 48px;
}

/* CARDS */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 28px;
}

.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 32px;
  transition: box-shadow 0.2s;
}

.card:hover { box-shadow: 0 6px 20px rgba(0,0,0,0.08); }

.card-icon {
  width: 48px;
  height: 48px;
  background: var(--bg-section);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 16px;
}

.card h3 {
  font-size: 20px;
  margin-bottom: 10px;
  color: var(--primary-dark);
}

.card p { color: var(--text-light); font-size: 15px; line-height: 1.6; }

/* PRODUCT CARDS */
.product-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 32px;
  text-align: center;
}

.product-card .price {
  font-size: 28px;
  font-weight: 700;
  color: var(--accent);
  margin: 12px 0;
}

.product-card .price-note {
  font-size: 13px;
  color: var(--text-light);
  margin-top: -8px;
  margin-bottom: 12px;
}

.product-card h3 {
  font-size: 22px;
  color: var(--primary-dark);
  margin-bottom: 4px;
}

.product-card .tagline {
  color: var(--text-light);
  font-size: 14px;
  margin-bottom: 16px;
}

.product-card ul {
  list-style: none;
  text-align: left;
  margin: 16px 0 24px;
}

.product-card ul li {
  padding: 6px 0;
  font-size: 14px;
  color: var(--text);
  border-bottom: 1px solid var(--bg-section);
}

.product-card ul li:last-child { border-bottom: none; }

.product-card ul li::before {
  content: "\2713";
  color: var(--success);
  font-weight: 700;
  margin-right: 8px;
}

/* ARTICLE CONTENT */
.article-content {
  max-width: 740px;
  margin: 0 auto;
  padding: 48px 24px;
}

.article-content h2 {
  font-size: 24px;
  color: var(--primary-dark);
  margin: 40px 0 16px;
  padding-top: 16px;
}

.article-content h2:first-of-type { margin-top: 0; }

.article-content p {
  margin-bottom: 16px;
  line-height: 1.75;
  color: var(--text);
}

.article-content ul, .article-content ol {
  margin: 0 0 16px 24px;
  line-height: 1.75;
}

.article-content li { margin-bottom: 6px; }

.article-callout {
  background: var(--bg-section);
  border-left: 4px solid var(--accent);
  padding: 20px 24px;
  margin: 28px 0;
  border-radius: 0 8px 8px 0;
}

.article-callout p { margin-bottom: 0; font-size: 15px; }

.article-cta {
  background: var(--primary);
  color: var(--white);
  padding: 32px;
  border-radius: 12px;
  text-align: center;
  margin: 40px 0;
}

.article-cta h3 { font-size: 22px; margin-bottom: 10px; }
.article-cta p { color: rgba(255,255,255,0.85); margin-bottom: 20px; }

/* STATS */
.stat-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
  margin: 40px 0;
}

.stat {
  text-align: center;
  padding: 24px;
}

.stat .number {
  font-size: 40px;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
}

.stat .label {
  font-size: 14px;
  color: var(--text-light);
  margin-top: 8px;
}

/* CONTACT FORM */
.contact-section {
  background: var(--bg-section);
  padding: 64px 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.contact-info h2 {
  font-size: 28px;
  color: var(--primary-dark);
  margin-bottom: 16px;
}

.contact-info p {
  color: var(--text-light);
  margin-bottom: 24px;
  line-height: 1.6;
}

.contact-detail {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  font-size: 15px;
}

.contact-detail:last-child { border-bottom: none; }

.form-card {
  background: var(--white);
  padding: 32px;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}

.form-card h3 {
  font-size: 20px;
  margin-bottom: 20px;
  color: var(--primary-dark);
}

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

.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--text);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid var(--border);
  border-radius: 6px;
  font-size: 15px;
  font-family: inherit;
  transition: border-color 0.2s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(26,82,118,0.1);
}

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

/* FOOTER */
.site-footer {
  background: var(--primary-dark);
  color: rgba(255,255,255,0.7);
  padding: 40px 0 24px;
  font-size: 14px;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-links { display: flex; gap: 20px; }
.footer-links a { color: rgba(255,255,255,0.7); }
.footer-links a:hover { color: var(--white); }

/* RESPONSIVE */
@media (max-width: 768px) {
  .hero h1 { font-size: 30px; }
  .hero p { font-size: 17px; }
  .hero-buttons { flex-direction: column; align-items: center; }
  .contact-grid { grid-template-columns: 1fr; }
  .header-inner { height: auto; padding: 12px 24px; flex-wrap: wrap; gap: 8px; }
  nav { gap: 0; flex-wrap: wrap; }
  nav a { padding: 6px 10px; font-size: 13px; }
  .card-grid { grid-template-columns: 1fr; }
  .stat-row { grid-template-columns: 1fr 1fr; }
  section { padding: 48px 0; }
  .section-title { font-size: 26px; }
}
