/* Premier Support Services, Inc. — shared styles
   Warm, caring palette derived from the logo (forest green + warm orange). */

:root {
  --green-900: #1f4d22;
  --green-700: #2e7d32;
  --green-600: #3a8c3f;
  --green-500: #4caf50;
  --green-100: #e8f3e9;
  --green-50:  #f3f9f3;
  --orange:    #d4541e;
  --orange-light: #e8743f;
  --cream:     #fbf9f4;
  --ink:       #2c2f2a;
  --muted:     #5d6660;
  --line:      #e3e8e2;
  --white:     #ffffff;
  --shadow:    0 8px 30px rgba(31, 77, 34, 0.08);
  --shadow-sm: 0 2px 10px rgba(31, 77, 34, 0.06);
  --radius:    14px;
  --maxw:      1140px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.65;
  font-size: 17px;
}

h1, h2, h3, h4 {
  font-family: Georgia, "Times New Roman", serif;
  color: var(--green-900);
  line-height: 1.2;
  margin: 0 0 .5em;
}

h1 { font-size: clamp(2rem, 4vw, 3rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
h3 { font-size: 1.3rem; }

p { margin: 0 0 1em; }

a { color: var(--green-700); text-decoration: none; }
a:hover { text-decoration: underline; }

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

/* ---------- Header ---------- */
.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow-sm);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  max-width: var(--maxw);
  margin: 0 auto;
  gap: 20px;
}
.logo img { height: 52px; width: auto; display: block; }
.nav { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; }
.nav a {
  color: var(--ink);
  font-weight: 600;
  padding: 9px 14px;
  border-radius: 8px;
  font-size: .98rem;
}
.nav a:hover { background: var(--green-50); text-decoration: none; color: var(--green-700); }
.nav a.active { color: var(--green-700); background: var(--green-100); }
.nav a.nav-cta {
  background: var(--orange);
  color: #fff;
}
.nav a.nav-cta:hover { background: var(--orange-light); }

.menu-toggle { display: none; background: none; border: 0; font-size: 1.6rem; cursor: pointer; color: var(--green-900); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 13px 26px;
  border-radius: 30px;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: transform .15s ease, background .2s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn-primary { background: var(--orange); color: #fff; }
.btn-primary:hover { background: var(--orange-light); color: #fff; }
.btn-outline { background: transparent; color: var(--green-700); border-color: var(--green-600); }
.btn-outline:hover { background: var(--green-700); color: #fff; }
.btn-white { background: #fff; color: var(--green-900); }
.btn-white:hover { background: var(--green-50); color: var(--green-900); }

/* ---------- Hero ---------- */
.hero {
  background:
    linear-gradient(115deg, rgba(31,77,34,.92), rgba(46,125,50,.82)),
    url("hero-bg.svg");
  background-size: cover;
  background-position: center;
  color: #fff;
  padding: 90px 0 100px;
}
.hero h1 { color: #fff; max-width: 16ch; }
.hero .tagline {
  font-family: Georgia, serif;
  font-style: italic;
  font-size: 1.5rem;
  color: #ffe6c9;
  margin-bottom: 18px;
}
.hero p.lead { font-size: 1.2rem; max-width: 56ch; color: #eef6ee; }
.hero .btn-row { margin-top: 28px; display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- Sections ---------- */
.section { padding: 72px 0; }
.section.alt { background: var(--white); }
.section.green { background: var(--green-900); color: #fff; }
.section.green h2, .section.green h3 { color: #fff; }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 48px; }
.section-head .eyebrow {
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: .8rem;
  font-weight: 700;
  color: var(--orange);
  display: block;
  margin-bottom: 10px;
}
.section-head p { color: var(--muted); font-size: 1.1rem; }
.section.green .section-head p { color: #d6e6d7; }

/* ---------- Cards / grid ---------- */
.grid { display: grid; gap: 26px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 28px;
  box-shadow: var(--shadow-sm);
  transition: transform .18s ease, box-shadow .18s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card .icon {
  width: 56px; height: 56px;
  border-radius: 14px;
  background: var(--green-100);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
  font-size: 1.7rem;
}
.card h3 { margin-bottom: .4em; }
.card p { color: var(--muted); margin: 0; }

/* ---------- Feature split ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.split .media {
  background: var(--green-100);
  border-radius: var(--radius);
  min-height: 320px;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.split .media svg { width: 100%; height: 100%; }

.check-list { list-style: none; padding: 0; margin: 0; }
.check-list li {
  padding: 10px 0 10px 36px;
  position: relative;
  border-bottom: 1px solid var(--line);
}
.check-list li:before {
  content: "✓";
  position: absolute; left: 0; top: 9px;
  color: #fff; background: var(--green-600);
  width: 24px; height: 24px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: .85rem; font-weight: 700;
}

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(3,1fr); gap: 30px; text-align: center; }
.stat .num { font-family: Georgia, serif; font-size: 2.6rem; color: var(--orange-light); font-weight: 700; }
.stat .label { color: #d6e6d7; font-size: 1rem; }

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(115deg, var(--orange), var(--orange-light));
  color: #fff;
  text-align: center;
  padding: 64px 24px;
}
.cta-band h2 { color: #fff; }
.cta-band p { font-size: 1.15rem; max-width: 60ch; margin: 0 auto 26px; color: #fff6ef; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.info-row { display: flex; gap: 16px; align-items: flex-start; margin-bottom: 22px; }
.info-row .ico {
  flex: 0 0 44px; height: 44px; border-radius: 10px;
  background: var(--green-100); color: var(--green-700);
  display: flex; align-items: center; justify-content: center; font-size: 1.2rem;
}
.info-row .label { font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.info-row .val { font-weight: 600; color: var(--ink); }

form .field { margin-bottom: 18px; }
form label { display: block; font-weight: 600; margin-bottom: 6px; font-size: .95rem; }
form input, form select, form textarea {
  width: 100%; padding: 12px 14px;
  border: 1px solid var(--line); border-radius: 10px;
  font-family: inherit; font-size: 1rem; background: #fff;
}
form input:focus, form select:focus, form textarea:focus {
  outline: none; border-color: var(--green-500);
  box-shadow: 0 0 0 3px var(--green-100);
}
.form-card { background: #fff; border:1px solid var(--line); border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow-sm); }

/* ---------- Footer ---------- */
.site-footer { background: var(--green-900); color: #cfe0d0; padding: 56px 0 26px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1.4fr; gap: 40px; }
.site-footer h4 { color: #fff; font-family: inherit; font-size: 1rem; text-transform: uppercase; letter-spacing: .08em; }
.site-footer a { color: #cfe0d0; }
.site-footer a:hover { color: #fff; }
.footer-logo { background:#fff; padding:10px 14px; border-radius:10px; display:inline-block; }
.footer-logo img { height: 44px; display:block; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.15); margin-top: 36px; padding-top: 20px; font-size: .88rem; color: #a9c2ab; display:flex; justify-content:space-between; flex-wrap:wrap; gap:10px; }
.footer-note { font-size: .82rem; color: #8fb091; margin-top: 8px; line-height: 1.5; }

/* ---------- Page banner (interior pages) ---------- */
.page-banner {
  background: linear-gradient(115deg, rgba(31,77,34,.95), rgba(46,125,50,.85)), url("hero-bg.svg");
  background-size: cover; background-position: center;
  color:#fff; padding: 64px 0; text-align:center;
}
.page-banner h1 { color:#fff; }
.page-banner p { color:#eef6ee; max-width: 60ch; margin: 0 auto; font-size: 1.1rem; }
.breadcrumb { color:#cfe0d0; font-size:.9rem; margin-bottom: 8px; }
.breadcrumb a { color:#ffe6c9; }

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .split, .contact-grid, .footer-grid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr; gap: 18px; }
  .nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    background: #fff; flex-direction: column; align-items: stretch;
    padding: 12px 16px; box-shadow: var(--shadow); gap: 4px;
  }
  .nav.open { display: flex; }
  .nav a { padding: 12px; }
  .menu-toggle { display: block; }
}
@media (max-width: 560px) {
  .grid-3 { grid-template-columns: 1fr; }
}
