/* ==========================================================================
   Stonewell Fulfillment — shared stylesheet
   ========================================================================== */

:root {
  /* Slate */
  --slate-dark: #181E21;
  --slate: #3D4A52;
  --slate-light: #71838C;

  /* Copper */
  --copper-dark: #5C2F06;
  --copper: #B5651D;
  --copper-light: #EEA05C;

  /* Stone */
  --stone-dark: #575349;
  --stone-light: #D6D1C2;

  /* Base */
  --bg: #FAF9F6;
  --bg-panel: #F1EFE8;
  --ink: #1D2124;
  --ink-soft: #4B5257;
  --line: #DEDACD;

  --radius: 10px;
  --measure: 62ch;

  --font-display: "Space Grotesk", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Inter", "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--slate-dark);
  line-height: 1.15;
  margin: 0 0 0.5em;
  font-weight: 600;
}

h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); font-weight: 700; letter-spacing: -0.01em; }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.2rem); }
h3 { font-size: 1.25rem; }

p {
  margin: 0 0 1.1em;
  max-width: var(--measure);
  color: var(--ink-soft);
}

a {
  color: var(--copper-dark);
  text-decoration-thickness: 1.5px;
  text-underline-offset: 2px;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 3px solid var(--copper);
  outline-offset: 2px;
}

img { max-width: 100%; display: block; }

.wrap {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

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

.site-header {
  background: var(--bg);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 20;
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  padding-bottom: 14px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.brand img {
  height: 34px;
  width: auto;
}

.brand-word {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.02em;
  color: var(--slate-dark);
}

.brand-word span {
  display: block;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.62rem;
  letter-spacing: 0.16em;
  color: var(--copper);
}

nav.main-nav ul {
  list-style: none;
  display: flex;
  gap: 28px;
  margin: 0;
  padding: 0;
}

nav.main-nav a {
  color: var(--slate);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  padding: 6px 2px;
  border-bottom: 2px solid transparent;
}

nav.main-nav a:hover,
nav.main-nav a[aria-current="page"] {
  border-bottom-color: var(--copper);
  color: var(--slate-dark);
}

.nav-cta {
  display: none;
}

@media (min-width: 720px) {
  .nav-cta {
    display: inline-flex;
  }
}

.nav-row {
  display: flex;
  align-items: center;
  gap: 32px;
}

.menu-toggle {
  display: inline-flex;
  background: none;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 8px 10px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--slate-dark);
  cursor: pointer;
}

@media (min-width: 720px) {
  .menu-toggle { display: none; }
}

.main-nav {
  display: none;
}

.main-nav.open {
  display: block;
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
  padding: 12px 24px 20px;
}

.main-nav.open ul {
  flex-direction: column;
  gap: 14px;
}

@media (min-width: 720px) {
  .main-nav {
    display: block;
    position: static;
    border: none;
    padding: 0;
    background: none;
  }
}

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

.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 13px 26px;
  border-radius: 6px;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
}

.btn-primary {
  background: var(--copper);
  color: #FFF7EE;
}

.btn-primary:hover { background: var(--copper-dark); }

.btn-ghost {
  background: transparent;
  border-color: var(--slate);
  color: var(--slate-dark);
}

.btn-ghost:hover {
  border-color: var(--copper);
  color: var(--copper-dark);
}

.btn-on-dark {
  background: var(--copper);
  color: var(--slate-dark);
}

.btn-on-dark:hover { background: var(--copper-light); }

/* ---------- Hero (stacked-block motif) ---------- */

.hero {
  padding: 72px 0 96px;
  position: relative;
  overflow: hidden;
}

.hero .wrap {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: center;
}

@media (min-width: 900px) {
  .hero .wrap {
    grid-template-columns: 1.1fr 0.9fr;
  }
}

.hero-eyebrow {
  font-weight: 600;
  color: var(--copper-dark);
  margin-bottom: 14px;
  font-size: 0.95rem;
}

.hero-actions {
  display: flex;
  gap: 14px;
  margin-top: 28px;
  flex-wrap: wrap;
}

.hero-blocks {
  position: relative;
  height: 340px;
}

.hero-blocks .block {
  position: absolute;
  border-radius: 12px;
}

.hero-blocks .block-1 {
  width: 46%;
  height: 46%;
  left: 4%;
  bottom: 6%;
  background: linear-gradient(135deg, var(--slate-light), var(--slate-dark));
}

.hero-blocks .block-2 {
  width: 46%;
  height: 46%;
  left: 27%;
  bottom: 30%;
  background: linear-gradient(135deg, var(--copper-light), var(--copper-dark));
}

.hero-blocks .block-3 {
  width: 46%;
  height: 46%;
  left: 50%;
  bottom: 54%;
  background: linear-gradient(135deg, var(--stone-light), var(--stone-dark));
}

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

section { padding: 72px 0; }

.section-alt {
  background: var(--bg-panel);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-dark {
  background: var(--slate-dark);
}

.section-dark h2,
.section-dark h3 {
  color: #FFFDF8;
}

.section-dark p {
  color: #C7CDD0;
}

.section-head {
  max-width: 640px;
  margin-bottom: 44px;
}

/* ---------- Stat / trust strip ---------- */

.trust-strip {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

@media (min-width: 720px) {
  .trust-strip { grid-template-columns: repeat(4, 1fr); }
}

.trust-item {
  border-left: 3px solid var(--copper);
  padding-left: 16px;
}

.trust-item strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--slate-dark);
}

.trust-item span {
  color: var(--ink-soft);
  font-size: 0.92rem;
}

.section-dark .trust-item strong { color: #FFFDF8; }
.section-dark .trust-item span { color: #A9B0B3; }

/* ---------- Offset block panels (services / who-we-serve) ---------- */

.panel-stack {
  display: grid;
  gap: 18px;
}

@media (min-width: 860px) {
  .panel-stack {
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
  }
  .panel-stack .panel:nth-child(1) { transform: translateY(0); }
  .panel-stack .panel:nth-child(2) { transform: translateY(28px); }
  .panel-stack .panel:nth-child(3) { transform: translateY(56px); }
}

.panel {
  background: var(--bg);
  border: 1px solid var(--line);
  border-left: 4px solid var(--copper);
  border-radius: var(--radius);
  padding: 30px 26px;
}

.panel:nth-child(2) { border-left-color: var(--slate); }
.panel:nth-child(3) { border-left-color: var(--stone-dark); }

.panel h3 { margin-bottom: 10px; }
.panel p { margin-bottom: 0; }

/* ---------- Two column feature rows ---------- */

.feature-row {
  display: grid;
  gap: 32px;
  align-items: center;
  padding: 40px 0;
  border-bottom: 1px solid var(--line);
}

.feature-row:last-child { border-bottom: none; }

@media (min-width: 860px) {
  .feature-row {
    grid-template-columns: 1fr 1fr;
  }
  .feature-row.reverse .feature-media { order: 2; }
}

.feature-media {
  background: var(--bg-panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  min-height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature-media .icon-block {
  width: 120px;
  height: 120px;
  border-radius: 16px;
}

/* ---------- Quote / testimonial ---------- */

.quote-block {
  border-left: 4px solid var(--copper);
  padding-left: 26px;
  max-width: 720px;
}

.quote-block p {
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--slate-dark);
  font-weight: 500;
  max-width: none;
}

.quote-block cite {
  font-style: normal;
  color: var(--ink-soft);
  font-size: 0.9rem;
}

/* ---------- CTA banner ---------- */

.cta-banner {
  background: var(--slate-dark);
  border-radius: var(--radius);
  padding: 48px;
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: center;
  justify-content: space-between;
}

.cta-banner h2 { color: #FFFDF8; margin-bottom: 6px; }
.cta-banner p { color: #C7CDD0; margin-bottom: 0; }

/* ---------- Forms ---------- */

.form-grid {
  display: grid;
  gap: 18px;
}

@media (min-width: 640px) {
  .form-grid.two-col {
    grid-template-columns: 1fr 1fr;
  }
}

label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--slate-dark);
  margin-bottom: 6px;
}

input, textarea, select {
  width: 100%;
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #FFFFFF;
  color: var(--ink);
}

textarea { min-height: 130px; resize: vertical; }

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

/* ---------- Contact info list ---------- */

.contact-info {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 20px;
}

.contact-info li {
  border-left: 3px solid var(--stone-dark);
  padding-left: 16px;
}

.contact-info strong {
  display: block;
  color: var(--slate-dark);
  font-family: var(--font-display);
  margin-bottom: 2px;
}

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

.site-footer {
  background: var(--slate-dark);
  color: #C7CDD0;
  padding: 48px 0 28px;
}

.site-footer .wrap {
  display: grid;
  gap: 32px;
}

@media (min-width: 720px) {
  .site-footer .wrap {
    grid-template-columns: 1.4fr 1fr 1fr;
  }
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.footer-brand img { height: 30px; }

.site-footer h4 {
  color: #FFFDF8;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  margin-bottom: 14px;
}

.site-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}

.site-footer a {
  color: #C7CDD0;
  text-decoration: none;
  font-size: 0.95rem;
}

.site-footer a:hover { color: var(--copper-light); }

.footer-bottom {
  max-width: 1120px;
  margin: 36px auto 0;
  padding: 20px 24px 0;
  border-top: 1px solid #33393C;
  font-size: 0.85rem;
  color: #8A9094;
}

/* ---------- Utility ---------- */

.eyebrow {
  color: var(--copper-dark);
  font-weight: 600;
  font-size: 0.92rem;
  margin-bottom: 10px;
}

.list-check {
  list-style: none;
  padding: 0;
  margin: 0 0 1.1em;
  display: grid;
  gap: 10px;
}

.list-check li {
  padding-left: 26px;
  position: relative;
  color: var(--ink-soft);
}

.list-check li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 10px;
  height: 10px;
  border-radius: 3px;
  background: var(--copper);
}

/* ---------- Pricing tiers ---------- */

.pricing-grid {
  display: grid;
  gap: 20px;
}

@media (min-width: 860px) {
  .pricing-grid {
    grid-template-columns: repeat(3, 1fr);
    align-items: start;
  }
}

.price-card {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 28px;
  position: relative;
}

.price-card.featured {
  border-color: var(--copper);
  border-width: 2px;
  box-shadow: 0 12px 32px rgba(24, 30, 33, 0.08);
}

@media (min-width: 860px) {
  .price-card.featured {
    transform: translateY(-14px);
    padding-top: 40px;
  }
}

.price-badge {
  position: absolute;
  top: -14px;
  left: 28px;
  background: var(--copper);
  color: #FFF7EE;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 5px 12px;
  border-radius: 999px;
  text-transform: uppercase;
}

.price-card h3 {
  margin-bottom: 4px;
}

.price-tagline {
  color: var(--ink-soft);
  font-size: 0.88rem;
  margin-bottom: 18px;
}

.price-amount {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--slate-dark);
  margin-bottom: 2px;
}

.price-amount span {
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--ink-soft);
}

.price-setup {
  font-size: 0.85rem;
  color: var(--ink-soft);
  margin-bottom: 20px;
}

.price-card .list-check {
  margin-bottom: 24px;
}

.price-card .btn {
  width: 100%;
  text-align: center;
}
