/* Pine Belt Tech — shared styles */

:root {
  --ink: #14211c;          /* deep pine */
  --ink-soft: #38463f;
  --paper: #f5f3ec;        /* warm off-white */
  --paper-2: #ebe7da;
  --bark: #2f5d50;         /* pine green */
  --bark-deep: #1f4339;
  --clay: #c4622d;         /* clay accent */
  --line: #d8d3c4;
  --white: #ffffff;
  --shadow: 0 10px 30px rgba(20, 33, 28, 0.08);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: "Georgia", "Times New Roman", serif;
  line-height: 1.15;
  letter-spacing: -0.01em;
  font-weight: 700;
}

a { color: inherit; }

.wrap { width: 100%; max-width: 1080px; margin: 0 auto; padding: 0 24px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(245, 243, 236, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: "Georgia", serif;
  font-weight: 700;
  font-size: 1.2rem;
  text-decoration: none;
  letter-spacing: -0.01em;
}
.brand .mark {
  width: 30px; height: 30px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--bark);
  color: var(--paper);
  border-radius: 7px;
  font-size: 0.95rem;
}
.nav-links { display: flex; gap: 28px; align-items: center; }
.nav-links a {
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--ink-soft);
  transition: color 0.15s;
}
.nav-links a:hover, .nav-links a.active { color: var(--bark); }
.nav-call {
  background: var(--bark);
  color: var(--paper) !important;
  padding: 9px 16px;
  border-radius: 8px;
  font-weight: 600 !important;
}
.nav-call:hover { background: var(--bark-deep); color: var(--paper) !important; }

.nav-toggle { display: none; background: none; border: 0; cursor: pointer; font-size: 1.5rem; color: var(--ink); }

/* ---------- Hero ---------- */
.hero {
  padding: 90px 0 80px;
  background:
    radial-gradient(1200px 400px at 80% -10%, rgba(47, 93, 80, 0.10), transparent),
    var(--paper);
}
.eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--clay);
  font-weight: 600;
  margin-bottom: 18px;
}
.hero h1 { font-size: clamp(2.3rem, 5vw, 3.6rem); max-width: 16ch; }
.hero p.lead {
  margin-top: 20px;
  font-size: 1.15rem;
  color: var(--ink-soft);
  max-width: 52ch;
}
.cta-row { margin-top: 32px; display: flex; gap: 14px; flex-wrap: wrap; }

.btn {
  display: inline-block;
  text-decoration: none;
  padding: 13px 24px;
  border-radius: 9px;
  font-weight: 600;
  font-size: 1rem;
  transition: transform 0.12s, background 0.15s;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--clay); color: var(--white); }
.btn-primary:hover { background: #a9501f; }
.btn-ghost { background: transparent; color: var(--ink); border: 1.5px solid var(--line); }
.btn-ghost:hover { border-color: var(--bark); color: var(--bark); }

/* ---------- Sections ---------- */
.section { padding: 70px 0; }
.section-head { max-width: 60ch; margin-bottom: 44px; }
.section-head .eyebrow { margin-bottom: 12px; }
.section-head h2 { font-size: clamp(1.8rem, 3.5vw, 2.5rem); }
.section-head p { margin-top: 14px; color: var(--ink-soft); font-size: 1.05rem; }
.section.alt { background: var(--paper-2); }

/* ---------- Cards ---------- */
.grid { display: grid; gap: 22px; grid-template-columns: repeat(3, 1fr); }
.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 28px;
  box-shadow: var(--shadow);
}
.card .ico {
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  background: var(--paper-2);
  border-radius: 10px;
  font-size: 1.4rem;
  margin-bottom: 16px;
}
.card h3 { font-size: 1.25rem; margin-bottom: 10px; }
.card p { color: var(--ink-soft); font-size: 0.97rem; }
.card ul { margin-top: 14px; padding-left: 18px; color: var(--ink-soft); font-size: 0.95rem; }
.card ul li { margin-bottom: 6px; }

/* ---------- Strip / CTA band ---------- */
.band {
  background: var(--bark-deep);
  color: var(--paper);
  border-radius: 18px;
  padding: 48px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
}
.band h2 { color: var(--paper); font-size: 1.8rem; max-width: 22ch; }
.band p { color: rgba(245, 243, 236, 0.78); margin-top: 8px; }
.band .btn-primary { background: var(--clay); }
.band .phone-big {
  font-family: "Georgia", serif;
  font-size: 1.6rem;
  font-weight: 700;
  white-space: nowrap;
}

/* ---------- Contact ---------- */
.contact-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 40px;
  box-shadow: var(--shadow);
  max-width: 560px;
}
.contact-line { display: flex; align-items: center; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.contact-line:last-child { border-bottom: 0; }
.contact-line .ico { font-size: 1.4rem; width: 40px; text-align: center; }
.contact-line .label { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--ink-soft); }
.contact-line .val { font-size: 1.2rem; font-weight: 600; }
.contact-line a { text-decoration: none; color: var(--bark); }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--ink);
  color: rgba(245, 243, 236, 0.72);
  padding: 40px 0;
  margin-top: 10px;
}
.site-footer .wrap { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
.site-footer .brand { color: var(--paper); }
.site-footer a { color: var(--paper); text-decoration: none; }
.site-footer .small { font-size: 0.85rem; }

/* ---------- Responsive ---------- */
@media (max-width: 820px) {
  .grid { grid-template-columns: 1fr; }
  .nav-links {
    position: absolute;
    top: 70px; left: 0; right: 0;
    background: var(--paper);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 8px 24px 18px;
    border-bottom: 1px solid var(--line);
    display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 0; width: 100%; }
  .nav-toggle { display: block; }
  .band { padding: 36px 26px; }
}
