/* ═══════════════════════════════════════════════════
   MAIN.CSS — Solid Mix Core Design System
   Source of Truth: index.html
   ═══════════════════════════════════════════════════ */

:root {
  /* Colors */
  --sm-orange: #EE7623;
  --sm-amber: #C45E0F;
  --sm-ink: #0F0F0E;
  --sm-charcoal: #1A1A18;
  --sm-warm: #252523;
  --sm-surface: #2C2C2A;
  --sm-ash: #6B6762;
  --sm-mist: #A8A5A0;
  --sm-sand: #E5E2DC;

  /* Typography */
  --font-headline: 'Fraunces', serif;
  --font-body: 'Inter', sans-serif;

  /* Layout */
  --max-site: 1280px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  background: var(--sm-ink);
  color: var(--sm-sand);
  font-family: var(--font-body);
  overflow-x: hidden;
  margin: 0;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-headline);
  font-weight: 300;
  margin: 0;
}

/* ── Layout Utilities ── */
.wrap {
  max-width: var(--max-site);
  margin-left: auto;
  margin-right: auto;
}

.gutter {
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

@media (min-width: 768px) {
  .gutter {
    padding-left: 2.5rem;
    padding-right: 2.5rem;
  }
}

@media (min-width: 1024px) {
  .gutter {
    padding-left: 4rem;
    padding-right: 4rem;
  }
}

.sec {
  padding-top: 6rem;
  padding-bottom: 6rem;
}

@media (min-width: 768px) {
  .sec {
    padding-top: 8rem;
    padding-bottom: 8rem;
  }
}

/* ── Typography ── */
.overline {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.45em;
  color: var(--sm-orange);
  text-decoration: none !important;
}

.bg-sm-orange {
  --tw-bg-opacity: 1;
  background-color: rgb(238 118 35 / var(--tw-bg-opacity, 1));
}

.bg-sm-warm {
  --tw-bg-opacity: 1;
  background-color: rgb(37 37 35 / var(--tw-bg-opacity, 1));
}

.text-sm-mist {
  --tw-text-opacity: 1;
  color: rgb(168 165 160 / var(--tw-text-opacity, 1));
}

.text-sm-orange {
  --tw-text-opacity: 1;
  color: rgb(238 118 35 / var(--tw-text-opacity, 1));
}

.bg-white\/10 {
  background-color: rgb(255 255 255 / 0.1);
}

.transition-colors {
  transition-property: color, background-color, border-color, fill, stroke, -webkit-text-decoration-color;
  transition-property: color, background-color, border-color, text-decoration-color, fill, stroke;
  transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, -webkit-text-decoration-color;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}

.duration-300 {
  transition-duration: 300ms;
}

.bg-sm-ink {
  --tw-bg-opacity: 1;
  background-color: rgb(15 15 14 / var(--tw-bg-opacity, 1));
}

.text-sm-ash {
  --tw-text-opacity: 1;
  color: rgb(107 103 98 / var(--tw-text-opacity, 1));
}

.hover\:bg-sm-surface:hover {
  --tw-bg-opacity: 1;
  background-color: rgb(44 44 42 / var(--tw-bg-opacity, 1));
}

.text-sm-orange\/15 {
  color: rgb(238 118 35 / 0.15);
}

.why-card {
  display: flex;
  min-height: 10rem;
  flex-direction: column;
  justify-content: space-between;
  border-top-width: 1px;
  border-color: transparent;
  --tw-bg-opacity: 1;
  background-color: rgb(15 15 14 / var(--tw-bg-opacity, 1));
  padding: 2.5rem;
  transition-property: all;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 300ms;
}

.text-sm-orange\/20 {
  color: rgb(238 118 35 / 0.2);
}

.sec-label {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
}

.sec-label::before {
  content: "";
  display: block;
  width: 2.5rem;
  height: 1px;
  background: var(--sm-orange);
  flex-shrink: 0;
}

.font-headline {
  font-family: Fraunces, serif;
}

.text-sm-ink {
  -tw-text-opacity: 1;
  color: rgb(15 15 14 / var(--tw-text-opacity, 1));
}

/* ── Navigation ── */
#site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  transition: background 0.35s ease, border-color 0.35s ease;
  border-bottom: 1px solid transparent;
}

#site-nav.nav-solid {
  background: rgba(15, 15, 14, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom-color: rgba(255, 255, 255, 0.06);
}

.nav-link {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-weight: 600;
  color: var(--sm-mist);
  transition: color 0.2s ease;
  text-decoration: none;
}

.nav-link:hover {
  color: var(--sm-orange);
}

.nav-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.625rem 1.5rem;
  border: 1px solid var(--sm-orange);
  color: var(--sm-orange);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.2s ease;
}

.nav-pill:hover {
  background: var(--sm-orange);
  color: var(--sm-ink);
}

/* ── Floating Contact Sidebar ── */
.floating-contact {
  position: fixed;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  z-index: 999;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.floating-contact__btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 68px;
  padding: 16px 0;
  background: rgba(15, 15, 14, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-right: none;
  color: var(--sm-orange);
  text-decoration: none;
  transition: all 0.25s ease;
  cursor: pointer;
}

.floating-contact__btn:first-child {
  border-radius: 10px 0 0 0;
}

.floating-contact__btn:last-child {
  border-radius: 0 0 0 10px;
}

.floating-contact__btn:hover {
  background: var(--sm-orange);
  color: var(--sm-ink);
  transform: translateX(-4px);
}

.floating-contact__btn svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
  flex-shrink: 0;
}

.floating-contact__label {
  font-family: var(--font-body);
  font-size: 8px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  line-height: 1;
}

@media (max-width: 767px) {
  .floating-contact__btn {
    width: 54px;
    padding: 12px 0;
  }

  .floating-contact__btn svg {
    width: 20px;
    height: 20px;
  }

  .floating-contact__label {
    font-size: 7px;
  }
}

/* ── Nav active state ── */
.nav-link-active {
  color: var(--sm-orange) !important;
}

/* ── Products dropdown ── */
.nav-dropdown-wrap {
  position: relative;
}

#products-dropdown {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%);
  background: rgba(15, 15, 14, 0.97);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  min-width: 220px;
  padding: 0.5rem 0;
  transition: opacity 0.18s ease, transform 0.18s ease;
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

#products-dropdown.dropdown-hidden {
  opacity: 0;
  pointer-events: none;
  transform: translateX(-50%) translateY(-6px);
}

#products-dropdown a {
  display: block;
  padding: 0.65rem 1.25rem;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-weight: 600;
  color: var(--sm-mist);
  text-decoration: none;
  transition: color 0.15s, background 0.15s;
}

#products-dropdown a:hover {
  color: var(--sm-orange);
  background: rgba(238, 118, 35, 0.06);
}

/* Dropdown chevron */
.nav-chevron {
  display: inline-block;
  margin-left: 4px;
  transition: transform 0.2s ease;
  vertical-align: middle;
  font-size: 9px;
}

#products-trigger[aria-expanded="true"] .nav-chevron {
  transform: rotate(180deg);
}

/* ── Mobile sticky CTA bar ── */
.mob-cta-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 60;
  display: flex;
  background: var(--sm-charcoal);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

@media (min-width: 1024px) {
  .mob-cta-bar {
    display: none;
  }
}

.mob-cta-bar a {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 0.875rem 0.5rem;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-weight: 700;
  text-decoration: none;
  color: var(--sm-mist);
  transition: background 0.15s, color 0.15s;
}

.mob-cta-bar a:hover {
  background: rgba(255, 255, 255, 0.05);
}

.mob-cta-bar a.cta-quote {
  background: var(--sm-orange);
  color: var(--sm-ink);
}

.mob-cta-bar a.cta-quote:hover {
  background: var(--sm-amber);
}

/* Add bottom padding to body so content isn't hidden behind sticky bar on mobile */
@media (max-width: 1023px) {
  body {
    padding-bottom: 56px;
  }
}