/* =========================================================
   Selkirk Bin Solutions — styles.css
   Mobile-first. Brand palette from the logo.
   ========================================================= */

:root {
  --navy:  #0F2233;
  --green: #2C5331;
  --green-dark: #224127;
  --slate: #526270;
  --mist:  #EEF1F2;
  --steel: #88909A;
  --white: #FFFFFF;

  --radius: 14px;
  --radius-sm: 10px;
  --shadow-sm: 0 1px 3px rgba(15, 34, 51, 0.08);
  --shadow:    0 6px 20px rgba(15, 34, 51, 0.08);
  --shadow-lg: 0 14px 40px rgba(15, 34, 51, 0.12);
  --maxw: 1120px;
  --header-h: 76px;

  --font: 'Inter', system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--slate);
  background: var(--white);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--green); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3, h4 { color: var(--navy); line-height: 1.2; margin: 0 0 .4em; font-weight: 800; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.6rem, 4vw, 2.3rem); }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0 0 1rem; }

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

/* Accessibility */
.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 1000;
  background: var(--navy); color: #fff; padding: 12px 18px; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }
:focus-visible { outline: 3px solid var(--green); outline-offset: 2px; border-radius: 4px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  font-family: inherit; font-weight: 700; font-size: 1rem; line-height: 1;
  padding: 14px 22px; border-radius: 999px; border: 2px solid transparent;
  cursor: pointer; text-align: center; transition: background-color .15s ease, color .15s ease, transform .05s ease, box-shadow .15s ease;
  text-decoration: none; white-space: nowrap;
}
.btn:hover { text-decoration: none; }
.btn:active { transform: translateY(1px); }
.btn-sm { padding: 10px 16px; font-size: .92rem; }
.btn-lg { padding: 16px 28px; font-size: 1.05rem; }
.btn-block { width: 100%; }

.btn-primary { background: var(--green); color: #fff; box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--green-dark); color: #fff; }

.btn-outline { background: transparent; color: var(--green); border-color: var(--green); }
.btn-outline:hover { background: var(--green); color: #fff; }

.btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.55); }
.btn-ghost:hover { background: rgba(255,255,255,.12); color: #fff; }

.btn-ghost-dark { background: transparent; color: var(--navy); border-color: var(--steel); }
.btn-ghost-dark:hover { background: var(--mist); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.96);
  backdrop-filter: saturate(180%) blur(8px);
  border-bottom: 1px solid var(--mist);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; min-height: var(--header-h);
}
.brand img { height: 54px; width: auto; }
.primary-nav { display: none; }
.header-cta { display: none; align-items: center; gap: 14px; }

.phone-link {
  display: inline-flex; align-items: center; gap: 7px;
  color: var(--navy); font-weight: 700; font-size: .95rem;
}
.phone-link:hover { color: var(--green); text-decoration: none; }
.phone-link svg { color: var(--green); }

/* Hamburger */
.menu-toggle {
  display: inline-flex; flex-direction: column; justify-content: center; gap: 5px;
  width: 44px; height: 44px; padding: 10px; background: transparent; border: 0; cursor: pointer;
}
.menu-toggle span { display: block; height: 2.5px; width: 100%; background: var(--navy); border-radius: 2px; transition: transform .2s ease, opacity .2s ease; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

.mobile-menu {
  display: flex; flex-direction: column; gap: 4px;
  padding: 12px 20px 22px; border-bottom: 1px solid var(--mist); background: #fff;
}
.mobile-menu[hidden] { display: none; }
.mobile-menu a { color: var(--navy); font-weight: 600; padding: 12px 8px; border-radius: 8px; }
.mobile-menu a:hover { background: var(--mist); text-decoration: none; }
.mobile-menu .mobile-phone { color: var(--green); font-weight: 700; }
.mobile-menu .btn { margin-top: 8px; }

/* ---------- Sections ---------- */
.section { padding: 64px 0; }
.section-mist { background: var(--mist); }
.section-head { max-width: 720px; margin: 0 auto 40px; text-align: center; }
.eyebrow {
  text-transform: uppercase; letter-spacing: .12em; font-size: .78rem; font-weight: 700;
  color: var(--green); margin: 0 0 .6rem;
}
.section-lead { font-size: 1.08rem; color: var(--slate); margin: 0; }
.section-lead-center { text-align: center; max-width: 620px; margin: 0 auto 24px; }
.section-head em, .section-lead em { font-style: normal; color: var(--green); font-weight: 600; }

/* ---------- Hero ---------- */
.hero {
  background:
    radial-gradient(1100px 460px at 80% -10%, rgba(44,83,49,.35), transparent 60%),
    var(--navy);
  color: #fff;
  padding: 64px 0 72px;
}
.hero-inner { max-width: 760px; }
.hero h1 {
  color: #fff; font-size: clamp(2.1rem, 6vw, 3.4rem); font-weight: 800;
  letter-spacing: -0.03em; margin-bottom: .35em;
}
.hero-sub { color: #d8dee3; font-size: clamp(1.05rem, 2.4vw, 1.25rem); max-width: 600px; margin-bottom: 1.8rem; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 1.6rem; }
.trust-line { color: var(--steel); font-size: .92rem; margin: 0; font-weight: 500; }

/* ---------- Service cards ---------- */
.cards-2 { display: grid; gap: 22px; }
.card {
  background: #fff; border: 1px solid var(--mist); border-radius: var(--radius);
  padding: 28px; box-shadow: var(--shadow-sm);
}
.section-mist .card { border-color: #e2e6e8; }
.service-card h3 { font-size: 1.35rem; }
.benefits { list-style: none; margin: 18px 0 24px; padding: 0; display: grid; gap: 10px; }
.benefits li { position: relative; padding-left: 30px; color: var(--navy); font-weight: 500; }
.benefits li::before {
  content: ""; position: absolute; left: 0; top: .35em;
  width: 18px; height: 18px; border-radius: 50%;
  background: var(--green)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E")
    center / 12px no-repeat;
}

/* ---------- Benefit grid ---------- */
.benefit-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; grid-template-columns: 1fr; }
.benefit {
  background: #fff; border: 1px solid #e2e6e8; border-radius: var(--radius);
  padding: 24px; box-shadow: var(--shadow-sm);
}
.benefit-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 50px; height: 50px; border-radius: 12px; background: var(--mist);
  font-size: 1.5rem; margin-bottom: 14px;
}
.section-mist .benefit-icon { background: var(--white); }
.benefit h3 { margin-bottom: .3em; }
.benefit p { margin: 0; font-size: .98rem; }

/* ---------- Steps ---------- */
.steps {
  list-style: none; margin: 0; padding: 0;
  display: grid; gap: 22px; counter-reset: step; grid-template-columns: 1fr;
}
.step {
  background: #fff; border: 1px solid var(--mist); border-radius: var(--radius);
  padding: 28px 24px; text-align: center; box-shadow: var(--shadow-sm);
}
.step-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--green); color: #fff; font-weight: 800; font-size: 1.25rem; margin-bottom: 14px;
}
.step h3 { margin-bottom: .35em; }
.step p { margin: 0; }

/* ---------- Pricing ---------- */
.pricing-subhead { text-align: center; font-size: 1.35rem; margin: 8px 0 24px; }
.pricing-subhead-commercial { margin-top: 56px; }
.pricing-grid { display: grid; gap: 18px; grid-template-columns: 1fr; }
.price-card {
  position: relative; background: #fff; border: 1px solid #e2e6e8; border-radius: var(--radius);
  padding: 28px 24px; text-align: center; box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column;
}
.price-card.is-popular { border-color: var(--green); }
.price-card.is-best { border-color: var(--navy); box-shadow: var(--shadow); }
.price-card h4 { font-size: 1.1rem; color: var(--navy); text-transform: uppercase; letter-spacing: .04em; font-weight: 700; margin-bottom: 12px; }
.price { margin: 0 0 8px; }
.price .amount { font-size: 2.4rem; font-weight: 800; color: var(--navy); }
.price .per { color: var(--slate); font-weight: 500; font-size: .95rem; }
.price-note { color: var(--slate); font-size: .92rem; margin-bottom: 20px; min-height: 2.6em; }
.price-card .btn { margin-top: auto; }
.badge {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em;
  padding: 5px 14px; border-radius: 999px; white-space: nowrap;
}
.badge-popular { background: var(--green); color: #fff; }
.badge-best { background: var(--navy); color: #fff; }

/* Commercial table */
.table-wrap { overflow-x: auto; border-radius: var(--radius); box-shadow: var(--shadow-sm); border: 1px solid #e2e6e8; background:#fff; }
.price-table { width: 100%; border-collapse: collapse; min-width: 420px; }
.price-table th, .price-table td { padding: 16px 20px; text-align: left; }
.price-table thead th { background: var(--navy); color: #fff; font-weight: 700; font-size: .95rem; }
.price-table thead th:not(:first-child) { text-align: center; }
.price-table tbody th { color: var(--navy); font-weight: 700; }
.price-table tbody td { text-align: center; color: var(--navy); font-weight: 600; }
.price-table tbody tr:nth-child(even) { background: var(--mist); }
.table-note { text-align: center; color: var(--slate); font-size: .92rem; margin-top: 16px; }

/* ---------- Service area ---------- */
.area-list {
  list-style: none; margin: 0 auto 24px; padding: 0; max-width: 760px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 12px;
}
.area-list li {
  background: var(--mist); border-radius: var(--radius-sm); padding: 16px 18px;
  text-align: center; color: var(--navy); font-weight: 600;
}
.area-cta { text-align: center; color: var(--slate); }

/* ---------- CTA band ---------- */
.cta-band {
  background:
    radial-gradient(800px 300px at 20% 120%, rgba(44,83,49,.4), transparent 60%),
    var(--navy);
  color: #fff; padding: 56px 0; text-align: center;
}
.cta-band h2 { color: #fff; margin-bottom: .15em; }
.cta-inner p { color: #d8dee3; font-size: 1.1rem; margin-bottom: 1.4rem; }

/* ---------- Quote form ---------- */
.quote-wrap { display: grid; gap: 36px; }
.quote-intro .eyebrow { text-align: left; }
.quote-points { list-style: none; margin: 18px 0; padding: 0; display: grid; gap: 10px; }
.quote-points li { position: relative; padding-left: 28px; color: var(--navy); font-weight: 500; }
.quote-points li::before {
  content: ""; position: absolute; left: 0; top: .35em; width: 18px; height: 18px; border-radius: 50%;
  background: var(--green)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E")
    center / 12px no-repeat;
}
.quote-call { color: var(--slate); }

.quote-form {
  background: #fff; border: 1px solid #e2e6e8; border-radius: var(--radius);
  padding: 28px; box-shadow: var(--shadow);
}
.field { margin-bottom: 18px; }
.field-row { display: grid; gap: 18px; grid-template-columns: 1fr; }
.field label { display: block; font-weight: 600; color: var(--navy); margin-bottom: 7px; font-size: .95rem; }
.field .optional { color: var(--steel); font-weight: 400; }
.field input, .field select, .field textarea {
  width: 100%; font-family: inherit; font-size: 1rem; color: var(--navy);
  padding: 13px 14px; border: 1.5px solid #d7dce0; border-radius: var(--radius-sm);
  background: #fff; transition: border-color .15s ease, box-shadow .15s ease;
}
.field input::placeholder, .field textarea::placeholder { color: var(--steel); }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--green); box-shadow: 0 0 0 3px rgba(44,83,49,.15);
}
.field textarea { resize: vertical; }
.hp-field { position: absolute; left: -9999px; }
.form-fineprint { text-align: center; color: var(--steel); font-size: .85rem; margin: 12px 0 0; }

.form-success {
  margin-top: 18px; padding: 20px; border-radius: var(--radius-sm);
  background: #eaf2eb; border: 1px solid #bcd4bf; color: var(--green-dark);
}
.form-success strong { display: block; font-size: 1.1rem; color: var(--green-dark); margin-bottom: 4px; }
.form-success p { margin: 0; color: #36502f; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: #c6ced5; }
.footer-inner {
  display: grid; gap: 32px; grid-template-columns: 1fr; padding: 52px 20px 36px;
}
.footer-logo { width: 60px; height: 60px; border-radius: 12px; }
.footer-tagline { margin-top: 12px; color: #fff; font-weight: 600; font-style: italic; }
.footer-heading { color: #fff; font-size: .85rem; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 14px; }
.footer-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer-list a { color: #c6ced5; }
.footer-list a:hover { color: #fff; }
.social { display: flex; gap: 12px; }
.social-link {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 10px; background: rgba(255,255,255,.08); color: #fff;
  transition: background-color .15s ease;
}
.social-link:hover { background: var(--green); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 20px 0; }
.footer-bottom p { margin: 0; font-size: .85rem; color: var(--steel); text-align: center; }

/* ---------- Sticky mobile call/quote bar ---------- */
.mobile-bar {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 90;
  display: grid; grid-template-columns: 1fr 1fr; gap: 10px;
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
  background: rgba(255,255,255,.97); backdrop-filter: blur(8px);
  border-top: 1px solid var(--mist); box-shadow: 0 -4px 18px rgba(15,34,51,.08);
}
.mobile-bar .btn { width: 100%; }
body { padding-bottom: 76px; } /* room for mobile bar */

/* =========================================================
   Responsive — tablet & up
   ========================================================= */
@media (min-width: 560px) {
  .field-row { grid-template-columns: 1fr 1fr; }
  .benefit-grid { grid-template-columns: 1fr 1fr; }
  .pricing-grid { grid-template-columns: 1fr 1fr; }
  .area-list { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 768px) {
  .section { padding: 84px 0; }
  .cards-2 { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .footer-inner { grid-template-columns: 1.4fr 1fr 1fr 1fr; }
  .quote-wrap { grid-template-columns: 0.85fr 1.15fr; align-items: start; }
  .quote-intro { position: sticky; top: calc(var(--header-h) + 24px); }
}

@media (min-width: 940px) {
  /* Desktop header: show nav + CTA, hide hamburger & mobile bar */
  .menu-toggle { display: none; }
  .mobile-menu { display: none !important; }
  .primary-nav { display: flex; gap: 28px; }
  .primary-nav a { color: var(--navy); font-weight: 600; font-size: .98rem; }
  .primary-nav a:hover { color: var(--green); text-decoration: none; }
  .header-cta { display: flex; }
  .benefit-grid { grid-template-columns: repeat(3, 1fr); }
  .pricing-grid { grid-template-columns: repeat(4, 1fr); }
  .mobile-bar { display: none; }
  body { padding-bottom: 0; }
}

@media (min-width: 1040px) {
  .brand img { height: 62px; }
}
