/* ===================================
   Hamilton Mold Pros — Styles
   Professional Authority aesthetic
   =================================== */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;600;700;800&display=swap');

:root {
  --primary:        #1c2f45;
  --primary-mid:    #0f6b46;
  --primary-light:  #ecfdf5;
  --accent:         #059669;
  --accent-hover:   #047857;
  --accent-light:   #d1fae5;
  --dark:           #0a1628;
  --text:           #1a202c;
  --muted:          #5a6a7a;
  --border:         #c6ddd3;
  --bg:             #ffffff;
  --bg-alt:         #f0fdf4;
  --white:          #ffffff;
  --radius:         6px;
  --radius-lg:      12px;
  --shadow:         0 2px 14px rgba(5,150,105,.10);
  --shadow-md:      0 4px 24px rgba(5,150,105,.16);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

.container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

h1, h2, h3, h4 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  line-height: 1.2;
}

/* ========================
   BUTTONS
   ======================== */
.btn {
  display: inline-block;
  padding: .75rem 1.5rem;
  border-radius: var(--radius);
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  text-align: center;
  text-decoration: none;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  letter-spacing: .01em;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); text-decoration: none; }
.btn:active { transform: translateY(0); }
.btn-accent  { background: var(--accent); color: var(--white); }
.btn-accent:hover { background: var(--accent-hover); }
.btn-outline { background: transparent; color: var(--white); border: 2px solid rgba(255,255,255,.65); }
.btn-outline:hover { border-color: var(--white); background: rgba(255,255,255,.08); }
.btn-large   { padding: 1rem 2.25rem; font-size: 1.1rem; }
.btn-header  { padding: .5rem 1.2rem; font-size: .9rem; background: var(--accent); color: var(--white); }
.btn-header:hover { background: var(--accent-hover); }

/* ========================
   SITE HEADER
   ======================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--dark);
  border-bottom: 3px solid var(--accent);
  padding: .9rem 0;
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.logo-text {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.2rem;
  font-weight: 800;
  color: #ffffff;
  text-decoration: none;
  letter-spacing: -.01em;
}
.logo-text:hover { text-decoration: none; color: var(--accent-light); }

/* ========================
   HERO
   ======================== */
.hero {
  background: linear-gradient(135deg, #1c2f45 0%, #0a1628 100%);
  color: var(--white);
  padding: 4.5rem 0 4rem;
}
.hero-inner { max-width: 700px; }
.hero-eyebrow {
  display: inline-block;
  font-size: .85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--accent);
  margin-bottom: 1rem;
}
.hero h1 {
  font-size: 2.6rem;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 1.1rem;
  color: var(--white);
}
.hero h1 em {
  font-style: normal;
  color: var(--accent);
}
.hero-sub {
  font-size: 1.1rem;
  line-height: 1.65;
  color: rgba(255,255,255,.85);
  margin-bottom: 1.75rem;
  max-width: 600px;
}
.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
  margin-bottom: 2rem;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 999px;
  padding: .3rem .85rem;
  font-size: .85rem;
  color: var(--white);
}
.hero-badge .check { color: var(--accent); font-weight: 700; }
.hero-cta { display: flex; flex-wrap: wrap; gap: .85rem; }

/* ========================
   STATS BAR
   ======================== */
.stats-bar {
  background: var(--primary);
  color: var(--white);
  padding: 1.5rem 0;
}
.stats-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  text-align: center;
}
.stat-num {
  font-size: 1.7rem;
  font-weight: 800;
  color: var(--accent);
  line-height: 1.1;
}
.stat-label {
  font-size: .8rem;
  color: rgba(255,255,255,.75);
  margin-top: .25rem;
  line-height: 1.4;
}

/* ========================
   SECTIONS
   ======================== */
.section { padding: 4rem 0; }
.section-alt { background: var(--bg-alt); padding: 4rem 0; }
.section-title {
  font-size: 1.9rem;
  font-weight: 800;
  margin-bottom: .5rem;
  color: var(--primary);
}
.section-sub {
  font-size: 1rem;
  color: var(--muted);
  margin-bottom: 2.5rem;
  max-width: 600px;
}

/* ========================
   URGENCY CARDS
   ======================== */
.urgency-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
}
.urgency-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow);
}
.urgency-card .u-icon { font-size: 1.8rem; margin-bottom: .6rem; }
.urgency-card h3 { font-size: 1rem; font-weight: 700; margin-bottom: .4rem; color: var(--primary); }
.urgency-card p { font-size: .88rem; color: var(--muted); line-height: 1.6; }

/* ========================
   SERVICES GRID
   ======================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.25rem;
}
.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow);
  transition: transform .2s, box-shadow .2s;
}
.service-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.service-icon { font-size: 2rem; margin-bottom: .8rem; }
.service-card h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: .4rem; color: var(--primary); }
.service-card p { font-size: .88rem; color: var(--muted); line-height: 1.6; }

/* ========================
   HOW IT WORKS
   ======================== */
.steps-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  text-align: center;
}
.step-num {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--white);
  font-size: 1.25rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
}
.step h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: .4rem; color: var(--primary); }
.step p { font-size: .9rem; color: var(--muted); line-height: 1.6; }

/* ========================
   WHY CHOOSE US
   ======================== */
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.25rem;
}
.why-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  padding: 1.5rem;
  text-align: center;
  box-shadow: var(--shadow);
}
.why-icon { font-size: 1.75rem; margin-bottom: .75rem; }
.why-card h3 { font-size: .95rem; font-weight: 700; margin-bottom: .35rem; color: var(--primary); }
.why-card p { font-size: .83rem; color: var(--muted); line-height: 1.55; }

/* ========================
   PRICING TABLE
   ======================== */
.pricing-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1.5rem;
  font-size: .92rem;
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.pricing-table th {
  background: var(--primary);
  color: var(--white);
  padding: .9rem 1.25rem;
  text-align: left;
  font-weight: 700;
}
.pricing-table td {
  padding: .8rem 1.25rem;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}
.pricing-table tr:last-child td { border-bottom: none; }
.pricing-table .price {
  font-weight: 700;
  color: var(--accent);
  white-space: nowrap;
}
.pricing-disclaimer {
  margin-top: 1rem;
  font-size: .83rem;
  color: var(--muted);
  line-height: 1.5;
}

/* ========================
   SERVICE AREA
   ======================== */
.area-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: .75rem;
  margin-top: 1.5rem;
}
.area-tag {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: .6rem 1rem;
  font-size: .88rem;
  font-weight: 600;
  color: var(--primary);
  text-align: center;
}

/* ========================
   RESOURCES / BLOG
   ======================== */
.resources-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.25rem;
}
.resource-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow);
  transition: transform .2s, box-shadow .2s;
}
.resource-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.resource-tag {
  display: inline-block;
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .07em;
  color: var(--accent);
  margin-bottom: .5rem;
}
.resource-card h3 { font-size: 1rem; font-weight: 700; margin-bottom: .4rem; color: var(--primary); }
.resource-card h3 a { color: var(--primary); text-decoration: none; }
.resource-card h3 a:hover { color: var(--accent); text-decoration: underline; }
.resource-card p { font-size: .875rem; color: var(--muted); line-height: 1.6; }

/* ========================
   QUOTE FORM
   ======================== */
.quote-form-wrap {
  max-width: 640px;
  margin: 0 auto;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.form-group { display: flex; flex-direction: column; gap: .35rem; }
.form-group.full { grid-column: 1 / -1; }
label { font-size: .875rem; font-weight: 600; color: var(--primary); }
input, textarea, select {
  padding: .7rem .9rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: .95rem;
  color: var(--text);
  background: var(--white);
  transition: border-color .15s;
}
input:focus, textarea:focus {
  outline: none;
  border-color: var(--accent);
}
textarea { resize: vertical; min-height: 100px; }
.consent-row {
  display: flex;
  align-items: flex-start;
  gap: .6rem;
  font-size: .85rem;
  color: var(--muted);
  line-height: 1.5;
}
.consent-row input[type="checkbox"] {
  width: 17px;
  height: 17px;
  margin-top: 2px;
  flex-shrink: 0;
  padding: 0;
}
.submit-btn {
  width: 100%;
  padding: 1rem;
  background: var(--accent);
  color: var(--white);
  border: none;
  border-radius: var(--radius);
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  cursor: pointer;
  transition: background .15s, transform .15s;
  margin-top: .5rem;
}
.submit-btn:hover { background: var(--accent-hover); transform: translateY(-2px); }

/* ========================
   FOOTER
   ======================== */
.site-footer {
  background: var(--dark);
  color: rgba(255,255,255,.65);
  padding: 2rem 0;
  text-align: center;
  font-size: .85rem;
}
.site-footer .container { display: flex; flex-direction: column; align-items: center; gap: .6rem; }
.footer-brand { font-weight: 700; font-size: .95rem; color: var(--white); }
.footer-links { display: flex; gap: 1.25rem; flex-wrap: wrap; justify-content: center; }
.footer-links a { color: rgba(255,255,255,.55); font-size: .82rem; text-decoration: none; }
.footer-links a:hover { color: var(--accent); text-decoration: underline; }

/* ========================
   MERISTEM DISCLOSURE BAR
   ======================== */
.meristem-bar {
  background: #071020;
  color: #6b7c8d;
  text-align: center;
  padding: 10px;
  font-size: 12px;
  border-top: 1px solid #1c2f45;
}
.meristem-bar a { color: #8899aa; text-decoration: underline; }

/* ========================
   RESPONSIVE
   ======================== */
@media (max-width: 768px) {
  .hero h1 { font-size: 1.9rem; }
  .stats-inner { grid-template-columns: repeat(2, 1fr); }
  .steps-row { grid-template-columns: 1fr; gap: 1.5rem; }
  .form-grid { grid-template-columns: 1fr; }
  .pricing-table { font-size: .82rem; }
  .pricing-table th, .pricing-table td { padding: .65rem .75rem; }
}
@media (max-width: 480px) {
  .hero { padding: 3rem 0 2.5rem; }
  .hero h1 { font-size: 1.65rem; }
  .stats-inner { grid-template-columns: 1fr 1fr; }
}
