/*
  Palette: West Virginia meets Palestine.
  Deep pine green + WV old gold (hills and the state flag),
  olive greens and a muted red (olive branches and the keffiyeh),
  on warm cream instead of stark white.
*/
:root {
  --pine: #14382a;
  --pine-2: #1c4a35;
  --olive: #55682e;
  --olive-bright: #6e8a3a;
  --gold: #eab54a;
  --gold-dark: #c98f1e;
  --red: #b8432f;
  --bg: #f7f5ed;
  --text: #232a20;
  --muted: #5d6657;
  --white: #ffffff;
  --line: #e3e0d0;
  --shadow: 0 16px 40px rgba(20, 56, 42, 0.12);
  --shadow-sm: 0 6px 18px rgba(20, 56, 42, 0.08);
  --radius: 18px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(247, 245, 237, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

.navbar {
  max-width: 1160px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 1.25rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--pine);
  font-weight: 800;
  text-decoration: none;
  line-height: 1.15;
}

.brand-logo {
  display: block;
  flex: none;
  width: 40px;
  height: 40px;
  border-radius: 11px;
}

.brand-name em {
  display: block;
  font-style: normal;
  font-weight: 600;
  font-size: 0.78rem;
  color: var(--olive);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 1.4rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-menu a {
  color: var(--pine);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  transition: color 0.15s ease;
}

.nav-menu a:hover,
.nav-menu a:focus-visible {
  color: var(--olive-bright);
}

.nav-cta {
  display: inline-block;
  background: var(--gold);
  border-radius: 999px;
  padding: 0.55rem 1.1rem;
  box-shadow: var(--shadow-sm);
}

.nav-menu a.nav-cta:hover,
.nav-menu a.nav-cta:focus-visible {
  color: var(--pine);
  background: #f4c463;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: none;
  border: 0;
  padding: 0.4rem;
  cursor: pointer;
}

.nav-toggle span:not(.sr-only) {
  display: block;
  width: 24px;
  height: 3px;
  background: var(--pine);
  border-radius: 999px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

/* ---------- Hero ---------- */

.hero {
  background:
    radial-gradient(900px 420px at 85% -10%, rgba(234, 181, 74, 0.28), transparent 65%),
    radial-gradient(700px 380px at -5% 100%, rgba(184, 67, 47, 0.16), transparent 60%),
    linear-gradient(160deg, var(--pine) 0%, var(--pine-2) 55%, #2a5638 100%);
  color: var(--white);
}

.hero-inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 5rem 1.25rem 3.5rem;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(300px, 0.65fr);
  gap: 3rem;
  align-items: center;
}

.hero-ridge {
  display: block;
  width: 100%;
  height: 72px;
}

.hero h1 {
  font-size: clamp(2.1rem, 4.6vw, 3.4rem);
  line-height: 1.12;
  margin: 0.6rem 0 1rem;
  letter-spacing: -0.02em;
}

.hero-copy {
  max-width: 620px;
  color: #cdd9c8;
  font-size: 1.1rem;
  margin: 0;
}

.eyebrow {
  color: var(--gold);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin: 0;
}

.section .eyebrow {
  color: var(--olive-bright);
}

.eyebrow.light {
  color: var(--gold);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 1.8rem;
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  list-style: none;
  margin: 2rem 0 0;
  padding: 0;
  color: #a9bba2;
  font-size: 0.92rem;
  font-weight: 600;
}

.hero-points li::before {
  content: "✓";
  color: var(--gold);
  margin-right: 0.45rem;
}

.hero-card {
  background: var(--white);
  color: var(--text);
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: 0 24px 60px rgba(7, 22, 15, 0.45);
}

.hero-card-tag {
  display: inline-block;
  margin: 0 0 0.6rem;
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  background: #eaf2e1;
  color: #2c6a33;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-card h2 {
  margin: 0 0 0.25rem;
  color: var(--pine);
  font-size: 1.35rem;
}

.hero-card-price {
  margin: 0 0 0.9rem;
  color: var(--muted);
}

.hero-card-price strong {
  color: var(--olive);
  font-size: 2rem;
  font-weight: 900;
}

.hero-card ul {
  margin: 0 0 1.25rem;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.45rem;
  font-size: 0.95rem;
}

.hero-card li::before {
  content: "•";
  color: var(--gold-dark);
  font-weight: 900;
  margin-right: 0.5rem;
}

/* ---------- Buttons ---------- */

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 999px;
  padding: 0.8rem 1.5rem;
  cursor: pointer;
  font: inherit;
  font-weight: 800;
  text-decoration: none;
  transition: transform 0.12s ease, box-shadow 0.12s ease, background 0.12s ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.button:active {
  transform: translateY(0);
}

.button.primary {
  background: var(--pine-2);
  color: var(--white);
}

.button.primary:hover {
  background: #276044;
}

.button.secondary {
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.35);
}

.button.gold {
  background: var(--gold);
  color: var(--pine);
}

.button.gold:hover {
  background: #f4c463;
}

.button.big {
  padding: 1rem 2rem;
  font-size: 1.05rem;
}

.button[disabled] {
  opacity: 0.6;
  cursor: wait;
  transform: none;
}

/* ---------- Sections ---------- */

.section {
  max-width: 1160px;
  margin: 0 auto;
  padding: 4.5rem 1.25rem;
}

.section-heading {
  max-width: 720px;
  margin-bottom: 2.5rem;
}

.section-heading.centered {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section h2 {
  margin: 0.4rem 0 0.9rem;
  color: var(--pine);
  font-size: clamp(1.7rem, 3.4vw, 2.4rem);
  line-height: 1.15;
  letter-spacing: -0.015em;
}

.section-heading p:not(.eyebrow) {
  color: var(--muted);
  margin: 0;
}

.section-heading a {
  color: var(--olive);
  font-weight: 700;
}

/* Light band with a faint keffiyeh-style crosshatch */
.section-band {
  background-color: #edf1e0;
  background-image:
    repeating-linear-gradient(45deg, rgba(20, 56, 42, 0.05) 0 1.5px, transparent 1.5px 13px),
    repeating-linear-gradient(-45deg, rgba(20, 56, 42, 0.05) 0 1.5px, transparent 1.5px 13px);
}

.section-band.dark {
  background:
    radial-gradient(800px 400px at 90% 0%, rgba(234, 181, 74, 0.22), transparent 60%),
    radial-gradient(600px 300px at 0% 100%, rgba(184, 67, 47, 0.18), transparent 60%),
    linear-gradient(160deg, var(--pine) 0%, var(--pine-2) 100%);
}

.section-band.dark h2 {
  color: var(--white);
}

.section-band.dark .section-heading p:not(.eyebrow) {
  color: #cdd9c8;
}

/* ---------- Cards ---------- */

.cards {
  display: grid;
  gap: 1.25rem;
}

.three-column {
  grid-template-columns: repeat(3, 1fr);
}

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
}

.card h3 {
  margin: 0.9rem 0 0.4rem;
  color: var(--pine);
  font-size: 1.15rem;
}

.card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.97rem;
}

.card-icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 11px;
  background: linear-gradient(135deg, var(--olive-bright), var(--pine-2));
  color: var(--white);
}

.card-icon svg {
  width: 22px;
  height: 22px;
}

.card-link {
  color: inherit;
  text-decoration: none;
}

.card-link:hover,
.card-link:focus-visible {
  color: var(--olive-bright);
  text-decoration: underline;
}

/* Center a lone card when the grid ends with one item in its own row */
.cards.three-column > .card:last-child:nth-child(3n + 1) {
  grid-column: 2 / span 1;
}

/* ---------- Split sections ---------- */

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.split-text p:not(.eyebrow) {
  color: var(--muted);
}

.feature-list {
  display: grid;
  gap: 0.9rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.feature-list li {
  padding: 1rem 1.15rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-left: 4px solid var(--gold);
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
  font-size: 0.98rem;
}

.feature-list.on-band li {
  border-left-color: var(--red);
}

/* ---------- Products ---------- */

.product-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  max-width: 860px;
  margin: 0 auto 3rem;
}

.product-card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2rem 1.75rem 1.75rem;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
}

.product-badge {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
  background: #eaf2e1;
  color: #2c6a33;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.product-card h3 {
  margin: 0 0 0.9rem;
  color: var(--pine);
  font-size: 1.3rem;
  padding-right: 5.5rem;
}

.product-specs {
  margin: 0 0 1.25rem;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.4rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.product-specs li::before {
  content: "✓";
  color: var(--olive-bright);
  font-weight: 800;
  margin-right: 0.5rem;
}

.product-price {
  margin: auto 0 1rem;
  color: var(--pine);
  font-size: 2.1rem;
  font-weight: 900;
}

.product-price span {
  font-size: 1rem;
  font-weight: 600;
  color: var(--muted);
}

/* ---------- Order panel & forms ---------- */

.order-panel {
  max-width: 860px;
  margin: 0 auto;
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 5px solid var(--gold);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 2.25rem;
  scroll-margin-top: 90px;
}

.order-panel-head h3 {
  margin: 0 0 0.4rem;
  color: var(--pine);
  font-size: 1.5rem;
}

.order-panel-head p {
  margin: 0 0 1.75rem;
  color: var(--muted);
  font-size: 0.97rem;
}

.quote-form {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.1rem;
}

.form-row {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.full {
  grid-column: 1 / -1;
}

label {
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--pine);
}

.optional {
  font-weight: 500;
  color: var(--muted);
}

input,
select,
textarea {
  width: 100%;
  padding: 0.8rem 0.9rem;
  border: 1px solid #cfd2bd;
  border-radius: 10px;
  font: inherit;
  background: var(--white);
  color: var(--text);
  transition: border-color 0.12s ease, box-shadow 0.12s ease;
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: var(--olive-bright);
  box-shadow: 0 0 0 3px rgba(110, 138, 58, 0.2);
}

textarea {
  resize: vertical;
}

.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.order-total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 1.1rem;
  background: #f4f6ea;
  border: 1px dashed #c4cba8;
  border-radius: 12px;
  font-weight: 700;
  color: var(--muted);
}

.order-total strong {
  color: var(--pine);
  font-size: 1.5rem;
  font-weight: 900;
}

.form-response {
  grid-column: 1 / -1;
  margin: 0;
  font-weight: 700;
  min-height: 1.4em;
}

.form-response.success {
  color: #2c6a33;
}

.form-response.error {
  color: var(--red);
}

/* ---------- Request service on dark band ---------- */

.contact-details {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  max-width: 860px;
  margin: 0 auto 2.5rem;
}

.contact-detail {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  padding: 1.1rem 1.25rem;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 14px;
  text-decoration: none;
  text-align: center;
}

a.contact-detail:hover,
a.contact-detail:focus-visible {
  background: rgba(255, 255, 255, 0.12);
}

.contact-detail-label {
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.contact-detail-value {
  color: var(--white);
  font-weight: 700;
  font-size: 0.98rem;
  overflow-wrap: anywhere;
}

.contact-form {
  max-width: 720px;
  margin: 0 auto;
  background: var(--white);
  border-radius: var(--radius);
  padding: 2.25rem;
  box-shadow: 0 24px 60px rgba(7, 22, 15, 0.45);
}

.contact .section-heading {
  margin-bottom: 2.5rem;
}

/* ---------- Teasers (e.g. laptops teaser on the homepage) ---------- */

.teaser-actions {
  display: flex;
  justify-content: center;
  margin-top: 0.5rem;
}

/* ---------- Quick-ask widget ---------- */

.quick-ask-toggle {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 30;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: var(--gold);
  color: var(--pine);
  border: 0;
  border-radius: 999px;
  padding: 0.85rem 1.25rem 0.85rem 0.85rem;
  font: inherit;
  font-weight: 800;
  box-shadow: var(--shadow);
  cursor: pointer;
  transition: transform 0.12s ease, box-shadow 0.12s ease, background 0.12s ease;
}

.quick-ask-toggle:hover,
.quick-ask-toggle:focus-visible {
  background: #f4c463;
  transform: translateY(-2px);
}

.quick-ask-icon {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--pine);
  color: var(--white);
  font-size: 0.85rem;
  font-weight: 900;
  flex: none;
}

.quick-ask-overlay {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  background: rgba(20, 56, 42, 0.55);
}

.quick-ask-overlay[hidden] {
  display: none;
}

.quick-ask-modal {
  position: relative;
  width: 100%;
  max-width: 420px;
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem 1.75rem 1.75rem;
  box-shadow: var(--shadow);
}

.quick-ask-modal h3 {
  margin: 0 0 0.4rem;
  color: var(--pine);
  font-size: 1.3rem;
}

.quick-ask-modal > p {
  margin: 0 0 1.25rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.quick-ask-close {
  position: absolute;
  top: 0.9rem;
  right: 0.9rem;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 0;
  background: var(--bg);
  color: var(--pine);
  font-size: 1.3rem;
  line-height: 1;
  cursor: pointer;
}

.quick-ask-close:hover,
.quick-ask-close:focus-visible {
  background: var(--line);
}

.quick-ask-form {
  grid-template-columns: 1fr;
}

/* ---------- Footer ---------- */

.site-footer {
  padding: 2.5rem 1.25rem;
  background: var(--pine);
  border-top: 4px solid var(--gold);
  color: #a9bba2;
}

.footer-inner {
  max-width: 1160px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: 0.92rem;
}

.footer-brand,
.footer-brand .brand-name em {
  color: var(--white);
}

.footer-brand .brand-name em {
  color: var(--gold);
}

.footer-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.5rem;
}

.footer-contact a {
  color: var(--white);
  font-weight: 600;
  text-decoration: none;
}

.footer-contact a:hover,
.footer-contact a:focus-visible {
  color: var(--gold);
}

/* ---------- Responsive ---------- */

@media (max-width: 900px) {
  .nav-toggle {
    display: flex;
  }

  .nav-menu {
    position: absolute;
    top: 66px;
    left: 1rem;
    right: 1rem;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0.25rem;
    padding: 0.75rem;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
  }

  .nav-menu.open {
    display: flex;
  }

  .nav-menu a {
    display: block;
    padding: 0.65rem 0.75rem;
    border-radius: 10px;
  }

  .nav-menu a:hover {
    background: var(--bg);
  }

  .nav-cta {
    text-align: center;
    margin-top: 0.25rem;
  }

  .hero-inner,
  .split,
  .three-column,
  .product-grid,
  .contact-details,
  .quote-form {
    grid-template-columns: 1fr;
  }

  .hero-inner {
    padding: 3.5rem 1.25rem 2.5rem;
    gap: 2.25rem;
  }

  .hero-ridge {
    height: 44px;
  }

  .section {
    padding: 3.25rem 1.25rem;
  }

  .split {
    gap: 1.75rem;
  }

  .full {
    grid-column: auto;
  }

  .order-panel,
  .contact-form {
    padding: 1.5rem;
  }

  .cards.three-column > .card:last-child:nth-child(3n + 1) {
    grid-column: auto;
  }

  .quick-ask-toggle span:not(.quick-ask-icon) {
    display: none;
  }

  .quick-ask-toggle {
    padding: 0.85rem;
  }
}
