/* =========================================================
   Bedrock Facility Solutions — Site Styles
   Premium, clean, operational. Orange / white / off-white / charcoal.
   ========================================================= */

/* Skip link (a11y) */
.skip-link {
  position: absolute;
  top: -100%;
  left: 0;
  padding: 10px 16px;
  background: var(--orange);
  color: #fff;
  font-weight: 600;
  font-size: 0.9rem;
  z-index: 9999;
  border-radius: 0 0 6px 0;
  text-decoration: none;
  transition: top 0.15s;
}
.skip-link:focus { top: 0; }

:root {
  --orange: #EA6A1F;
  --orange-soft: #FFF1E6;
  --orange-tint: #FFF8F2;
  --orange-line: #F4C9A7;
  --charcoal: #1F2430;
  --charcoal-soft: #2C313D;
  --ink: #2A2F3A;
  --muted: #5B6473;
  --muted-soft: #8A92A0;
  --line: #E6E4DF;
  --line-soft: #EFEDE7;
  --white: #FFFFFF;
  --off-white: #FAF7F2;
  --bg: #FFFFFF;
  --shadow-sm: 0 1px 2px rgba(31, 36, 48, 0.04), 0 1px 3px rgba(31, 36, 48, 0.05);
  --shadow-md: 0 4px 12px rgba(31, 36, 48, 0.06), 0 2px 4px rgba(31, 36, 48, 0.04);
  --shadow-lg: 0 12px 32px rgba(31, 36, 48, 0.08), 0 4px 8px rgba(31, 36, 48, 0.04);
  --radius-sm: 6px;
  --radius: 10px;
  --radius-lg: 14px;
  --radius-xl: 20px;
  --max: 1200px;
  --max-narrow: 920px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* =====================  Base  ===================== */

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "IBM Plex Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  color: var(--charcoal);
  text-decoration: none;
  transition: color 0.18s var(--ease);
}

a:hover { color: var(--orange); }

h1, h2, h3, h4, h5 {
  margin: 0 0 0.4em;
  color: var(--charcoal);
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.18;
}

h1 { font-size: clamp(2.1rem, 4.4vw, 3.4rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); letter-spacing: -0.015em; }
h3 { font-size: 1.25rem; }
h4 { font-size: 1.05rem; }

p { margin: 0 0 1em; color: var(--ink); }

ul, ol { padding-left: 1.2em; margin: 0 0 1em; }
li { margin-bottom: 0.35em; }

.lead {
  font-size: 1.12rem;
  color: var(--muted);
  line-height: 1.65;
}

.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 0.85rem;
}

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

section { padding: 84px 0; }
section.tight { padding: 56px 0; }

@media (max-width: 720px) {
  section { padding: 56px 0; }
  section.tight { padding: 40px 0; }
}

/* =====================  Buttons  ===================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 22px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.005em;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.2s var(--ease);
  white-space: nowrap;
  font-family: inherit;
}

.btn-primary {
  background: var(--orange);
  color: var(--white);
  border-color: var(--orange);
}
.btn-primary:hover {
  background: #D55E16;
  border-color: #D55E16;
  color: var(--white);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn-secondary {
  background: var(--white);
  color: var(--charcoal);
  border: 1px solid var(--line);
}
.btn-secondary:hover {
  border-color: var(--orange);
  color: var(--orange);
  background: var(--orange-tint);
}

.btn-ghost {
  background: transparent;
  color: var(--charcoal);
  border: 1px solid transparent;
}
.btn-ghost:hover { color: var(--orange); }

.btn-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  color: var(--orange);
  font-size: 0.95rem;
  padding: 0.5rem 0;
  min-height: 44px;
  background: transparent;
  border: 0;
  cursor: pointer;
  font-family: inherit;
}
.btn-link::after {
  content: "→";
  transition: transform 0.2s var(--ease);
}
.btn-link:hover { color: #D55E16; }
.btn-link:hover::after { transform: translateX(3px); }

/* =====================  Header / Nav  ===================== */

header {
    background: oklch(100% 0.002 60);
    padding: 1.5rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 1px 3px rgba(0,0,0,0.06);
    border-bottom: 1px solid rgba(234, 106, 31, 0.08);
    transition: box-shadow 0.2s ease, padding 0.2s ease;
}
header.scrolled {
    padding: 0.85rem 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}
header nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: inherit;
}
.logo-icon {
    width: 45px;
    height: 51px;
    flex-shrink: 0;
}
.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}
.logo-text .main {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1a1a1a;
    letter-spacing: 0.5px;
}
.logo-text .sub {
    font-size: 0.65rem;
    font-weight: 600;
    color: #555;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}
.nav-links {
    display: flex;
    align-items: center;
    gap: 2.25rem;
    list-style: none;
    margin: 0;
    padding: 0;
}
.nav-links a {
    font-weight: 500;
    font-size: 0.95rem;
    padding: 0.5rem 0;
    border-bottom: 2px solid transparent;
    letter-spacing: 0.3px;
    text-decoration: none;
    color: #1a1a1a;
    transition: color 0.18s ease, border-color 0.18s ease;
}
.nav-links a:hover,
.nav-links a.active {
    color: #EA6A1F;
    border-bottom-color: #EA6A1F;
}
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}
.mobile-menu-toggle svg {
    width: 28px;
    height: 28px;
    stroke: #1a1a1a;
    stroke-width: 2;
    stroke-linecap: round;
}
/* Page content offset for fixed header */
body > *:not(header):first-of-type,
.page-header,
main > section:first-child,
section.hero { margin-top: 0; }
body { padding-top: 88px; }
@media (max-width: 768px) {
    .mobile-menu-toggle { display: flex; }
    .nav-links {
        display: none;
        position: fixed;
        top: 0;
        left: 0; right: 0;
        bottom: 0;
        background: white;
        flex-direction: column;
        gap: 0;
        padding: 100px 0 1.5rem;
        border-bottom: 1px solid #eee;
        z-index: -1;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        overscroll-behavior: contain;
    }
    .nav-links.open { display: flex; }
    .nav-links li { width: 100%; }
    html.nav-open,
    body.nav-open { overflow: hidden; height: 100%; }
    .nav-links a {
        display: block;
        padding: 0.75rem 1.5rem;
        border-bottom: none;
    }
}

/* =====================  Hero (Home)  ===================== */

.hero {
  position: relative;
  background: linear-gradient(180deg, var(--off-white) 0%, var(--white) 100%);
  overflow: hidden;
  padding: 72px 0 84px;
}

/* =====================  Page Header (interior pages)  ===================== */

.page-header {
  background: var(--off-white);
  padding: 64px 0 56px;
  border-bottom: 1px solid var(--line-soft);
}

.page-header .eyebrow { color: var(--orange); }
.page-header h1 { margin-bottom: 14px; }
.page-header p.lead { max-width: 680px; margin: 0; }

/* =====================  Cards / Generic Tiles  ===================== */

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 26px;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease), transform 0.2s var(--ease);
}

.card:hover {
  border-color: var(--orange-line);
  box-shadow: var(--shadow-md);
}

.card h3 { font-size: 1.1rem; margin-bottom: 8px; }
.card p { font-size: 0.95rem; color: var(--muted); margin-bottom: 0; }

.card-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--orange-soft);
  color: var(--orange);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

/* =====================  Section utilities  ===================== */

.section-head {
  max-width: 720px;
  margin: 0 auto 44px;
  text-align: center;
}

.section-head h2 { margin-bottom: 14px; }
.section-head p { color: var(--muted); margin: 0; font-size: 1.05rem; }

.section-head.left {
  text-align: left;
  margin-left: 0;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

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

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

@media (max-width: 920px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .grid-3, .grid-2, .grid-4 { grid-template-columns: 1fr; }
}

/* =====================  Services page (master/detail)  ===================== */

.services-layout {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 36px;
  align-items: start;
}

.services-list {
  position: sticky;
  top: 90px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 8px;
  background: var(--white);
}

.services-list button {
  text-align: left;
  background: transparent;
  border: 0;
  border-radius: var(--radius);
  padding: 12px 14px;
  cursor: pointer;
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--charcoal-soft);
  display: flex;
  align-items: center;
  gap: 10px;
  transition: background 0.18s var(--ease), color 0.18s var(--ease);
}

.services-list button .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--line);
  flex-shrink: 0;
  transition: background 0.18s var(--ease);
}

.services-list button:hover {
  background: var(--orange-tint);
  color: var(--charcoal);
}
.services-list button:hover .dot { background: var(--orange-line); }

.services-list button.active {
  background: var(--orange-soft);
  color: var(--charcoal);
  font-weight: 600;
}
.services-list button.active .dot { background: var(--orange); }

.service-detail {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 36px;
  min-height: 480px;
}

.service-detail .pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--orange-soft);
  color: var(--orange);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 5px 10px;
  border-radius: 999px;
  margin-bottom: 14px;
}

.service-detail h2 {
  font-size: 1.7rem;
  margin-bottom: 10px;
}

.service-detail .summary {
  color: var(--muted);
  font-size: 1.02rem;
  margin-bottom: 26px;
  max-width: 100%;
}

.service-detail .panels {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  margin-bottom: 26px;
}

.service-detail .panel {
  background: var(--off-white);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 18px;
}
.service-detail .panel h4 {
  margin: 0 0 10px;
  font-size: 0.92rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--orange);
  font-weight: 600;
}
.service-detail .panel ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.service-detail .panel li {
  font-size: 0.94rem;
  color: var(--ink);
  padding: 4px 0;
  display: flex;
  align-items: flex-start;
  gap: 8px;
}
.service-detail .panel li::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--orange);
  margin-top: 9px;
  flex-shrink: 0;
}

.service-detail .footnote {
  margin-top: 8px;
  padding-top: 22px;
  border-top: 1px solid var(--line-soft);
  font-size: 0.95rem;
  color: var(--muted);
}
.service-detail .footnote strong {
  color: var(--charcoal);
  font-weight: 600;
}

@media (max-width: 920px) {
  .services-layout {
    grid-template-columns: 1fr;
    gap: 22px;
  }
  .services-list {
    position: static;
    flex-direction: row;
    overflow-x: auto;
    flex-wrap: nowrap;
    padding: 6px;
    gap: 4px;
  }
  .services-list button {
    flex: 0 0 auto;
    white-space: nowrap;
  }
  .service-detail { padding: 24px; }
  .service-detail .panels { grid-template-columns: 1fr; }
}

/* =====================  Industries page  ===================== */

.industry-group {
  margin-bottom: 56px;
}
.industry-group:last-child { margin-bottom: 0; }

.industry-group-head {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 32px;
  align-items: start;
  margin-bottom: 22px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line-soft);
}

.industry-group-head h2 {
  font-size: 1.5rem;
  margin: 0;
}

.industry-group-head .label {
  font-size: 0.78rem;
  color: var(--orange);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 6px;
}

.industry-group-head p {
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
}

.industry-tiles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.industry-tile {
  display: block;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 26px;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease), transform 0.2s var(--ease);
}
.industry-tile:hover {
  border-color: var(--orange-line);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.industry-tile .tile-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.industry-tile .tile-icon {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  background: var(--orange-soft);
  color: var(--orange);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.industry-tile h3 {
  font-size: 1.05rem;
  margin: 0;
  color: var(--charcoal);
}

.industry-tile p {
  font-size: 0.94rem;
  color: var(--muted);
  margin: 0 0 14px;
  max-width: 100%;
}

.industry-tile .pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.industry-tile .pills span,
.industry-tile .pills a.pill-link {
  font-size: 0.75rem;
  color: var(--charcoal-soft);
  background: var(--off-white);
  border: 1px solid var(--line-soft);
  border-radius: 999px;
  padding: 3px 9px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  min-height: 28px;
}
@media (max-width: 768px) {
  .industry-tile .pills a.pill-link { padding: 7px 12px; min-height: 36px; }
}
.industry-tile .pills a.pill-link:hover {
  background: var(--orange-tint);
  border-color: var(--orange-line);
  color: var(--orange);
}

@media (max-width: 920px) {
  .industry-group-head { grid-template-columns: 1fr; gap: 12px; }
  .industry-tiles { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .industry-tiles { grid-template-columns: 1fr; }
}

/* =====================  How It Works  ===================== */

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.step {
  background: var(--white);
  border: 1px solid var(--orange-line);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  transition: background 0.22s var(--ease), border-color 0.22s var(--ease), transform 0.22s var(--ease);
  position: relative;
}

.step:hover {
  background: var(--orange-tint);
  border-color: var(--orange);
  transform: translateY(-2px);
}

.step-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--white);
  border: 1.5px solid var(--orange-line);
  color: var(--orange);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  transition: background 0.22s var(--ease), border-color 0.22s var(--ease);
}

.step:hover .step-icon {
  border-color: var(--orange);
  background: var(--orange-soft);
}

.step-number {
  position: absolute;
  top: 22px;
  right: 24px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--orange);
}

.step h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}

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

@media (max-width: 920px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .steps { grid-template-columns: 1fr; } }

/* =====================  About page  ===================== */

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

.about-hero p { color: var(--muted); font-size: 1.05rem; }

.about-side {
  background: var(--off-white);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  padding: 26px;
}

.about-side h4 {
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 14px;
  font-weight: 600;
}

.about-side ul { list-style: none; padding: 0; margin: 0; }
.about-side li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 8px 0;
  border-bottom: 1px solid var(--line-soft);
  font-size: 0.95rem;
  color: var(--charcoal-soft);
}
.about-side li:last-child { border-bottom: 0; }
.about-side li::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--orange);
  margin-top: 9px;
  flex-shrink: 0;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.value-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 24px;
  background: var(--white);
}

.value-card h3 {
  font-size: 1.05rem;
  margin-bottom: 8px;
}
.value-card p {
  margin: 0;
  font-size: 0.94rem;
  color: var(--muted);
}
.value-card .num {
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--orange);
  font-weight: 600;
  margin-bottom: 10px;
}

@media (max-width: 920px) {
  .about-hero { grid-template-columns: 1fr; gap: 28px; }
  .values-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 540px) {
  .values-grid { grid-template-columns: 1fr; }
}

/* =====================  Contact page  ===================== */

.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 48px;
  align-items: start;
}

.contact-info h2 { margin-bottom: 16px; }
.contact-info p { color: var(--muted); }

.contact-meta {
  margin-top: 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-meta .row {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 16px;
  background: var(--off-white);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
}

.contact-meta .row .ic {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: var(--white);
  border: 1px solid var(--orange-line);
  color: var(--orange);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-meta .row strong {
  display: block;
  font-size: 0.92rem;
  color: var(--charcoal);
  margin-bottom: 2px;
}

.contact-meta .row span {
  font-size: 0.92rem;
  color: var(--muted);
}

.contact-form-wrap {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  position: relative;
}

.contact-form-wrap::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--orange);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.contact-form-wrap h3 {
  font-size: 1.15rem;
  margin-bottom: 6px;
}
.contact-form-wrap p {
  font-size: 0.94rem;
  color: var(--muted);
  margin-bottom: 18px;
}

@media (max-width: 920px) {
  .contact-grid { grid-template-columns: 1fr; gap: 28px; }
}

/* =====================  CTA Banner  ===================== */

.cta-banner {
  background: var(--charcoal);
  color: var(--white);
  border-radius: var(--radius-xl);
  padding: 52px 48px;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 32px;
  align-items: center;
}

.cta-banner h2 {
  color: var(--white);
  margin-bottom: 8px;
  font-size: 1.7rem;
}

.cta-banner p {
  color: rgba(255, 255, 255, 0.78);
  margin: 0;
  font-size: 1rem;
}

.cta-banner .actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.cta-banner .btn-secondary {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.22);
}
.cta-banner .btn-secondary:hover {
  background: rgba(255, 255, 255, 0.06);
  color: var(--white);
  border-color: var(--white);
}

@media (max-width: 720px) {
  .cta-banner {
    grid-template-columns: 1fr;
    padding: 36px 28px;
  }
  .cta-banner .actions { justify-content: flex-start; }
}

/* =====================  Footer  ===================== */

.site-footer {
  background: #1a1d26;
  border-top: none;
  padding: 48px 0 24px;
  margin-top: 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 36px;
}

.footer-grid h5 {
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  margin-bottom: 14px;
  font-weight: 600;
}

.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { margin-bottom: 8px; }
.footer-grid a {
  font-size: 0.94rem;
  color: rgba(255,255,255,0.65);
  transition: color 0.15s ease;
}
.footer-grid a:hover { color: #EA6A1F; }

.footer-brand p {
  font-size: 0.92rem;
  color: rgba(255,255,255,0.5);
  margin: 14px 0 0;
  max-width: 320px;
}

.footer-brand .logo { margin-bottom: 12px; }
.footer-brand .logo-text .main { font-size: 1.2rem; color: #fff; }
.footer-brand .logo-text .sub { font-size: 0.6rem; color: rgba(255,255,255,0.5); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 22px;
  border-top: 1px solid rgba(255,255,255,0.08);
  font-size: 0.85rem;
  color: rgba(255,255,255,0.35);
  flex-wrap: wrap;
  gap: 12px;
}

.social-links { display: flex; gap: 12px; align-items: center; }
.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.5);
  transition: background 0.18s, color 0.18s;
}
.social-links a:hover { background: rgba(255,255,255,0.16); color: #fff; }
.social-links svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

@media (max-width: 920px) {
  .footer-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-brand {
    grid-column: 1 / -1;
    padding-bottom: 24px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    margin-bottom: 4px;
  }
}
@media (max-width: 600px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 400px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* =====================  Contact page — What to include / Next  ===================== */

.contact-block {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 22px 24px;
  margin-bottom: 16px;
}

.contact-block h3 {
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--orange);
  font-weight: 600;
  margin-bottom: 12px;
}

.contact-block ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.contact-block li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 8px 0;
  border-bottom: 1px solid var(--line-soft);
  font-size: 0.95rem;
  color: var(--charcoal-soft);
}

.contact-block li:last-child { border-bottom: 0; }

.contact-block li::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--orange);
  margin-top: 10px;
  flex-shrink: 0;
}

.contact-block p {
  font-size: 0.95rem;
  color: var(--ink);
  margin: 0;
  line-height: 1.6;
}

/* HubSpot form — light styling so the embed reads as part of the site */

.hs-form-frame {
  font-family: inherit;
  min-height: 380px;
}

.hs-form-frame input[type="text"],
.hs-form-frame input[type="email"],
.hs-form-frame input[type="tel"],
.hs-form-frame textarea,
.hs-form-frame select {
  border: 1px solid var(--line) !important;
  border-radius: var(--radius-sm) !important;
  padding: 10px 12px !important;
  font-family: inherit !important;
  font-size: 0.95rem !important;
  width: 100% !important;
}

.hs-form-frame input[type="submit"],
.hs-form-frame button[type="submit"] {
  background: var(--orange) !important;
  color: var(--white) !important;
  border: 0 !important;
  border-radius: var(--radius) !important;
  padding: 12px 22px !important;
  font-weight: 600 !important;
  font-family: inherit !important;
  cursor: pointer !important;
}

/* =====================  Misc  ===================== */

.bg-off { background: var(--off-white); }
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }

.divider {
  height: 1px;
  background: var(--line-soft);
  border: 0;
}

/* ===== Nav dropdowns ===== */
.nav-link--dd {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}
.nav-chevron {
    flex-shrink: 0;
    opacity: 0.55;
    transition: transform 0.2s ease, opacity 0.2s;
}
.nav-dropdown:hover .nav-chevron,
.nav-dropdown:focus-within .nav-chevron {
    transform: rotate(180deg);
    opacity: 1;
}
.nav-dropdown { position: relative; }

.nav-panel {
    position: absolute;
    top: 100%;
    padding-top: 10px;
    left: 50%;
    transform: translateX(-50%) translateY(-6px);
    background: transparent;
    z-index: 1001;
    min-width: 280px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.16s ease, transform 0.16s ease, visibility 0s 0.16s;
}
.nav-panel--wide {
    min-width: 460px;
    left: 0;
    transform: translateY(-6px);
}
.nav-dropdown:hover .nav-panel,
.nav-dropdown:focus-within .nav-panel {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
    transition: opacity 0.16s ease, transform 0.16s ease, visibility 0s 0s;
}
.nav-dropdown:hover .nav-panel--wide,
.nav-dropdown:focus-within .nav-panel--wide {
    transform: translateY(0);
}
.nav-panel-inner {
    padding: 20px;
    background: #fff;
    border: 1px solid rgba(0,0,0,0.07);
    border-radius: 14px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04), 0 16px 40px rgba(0,0,0,0.10);
}
.nav-panel-label {
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #aaa;
    margin: 0 0 12px 2px;
}

/* 2-col grid for Services */
.nav-panel-grid {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1px;
}
.nav-panel-grid li { margin: 0; }
.nav-panel-grid a {
    display: block;
    padding: 9px 14px;
    font-size: 0.875rem;
    font-weight: 500;
    color: #2c2c2c;
    border-radius: 7px;
    border-bottom: none;
    white-space: nowrap;
    text-decoration: none;
    transition: background 0.12s ease, color 0.12s ease;
}
.nav-panel-grid a:hover {
    background: oklch(96% 0.03 45);
    color: #EA6A1F;
}

/* List with subtitle rows for Industries/Company */
.nav-panel-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.nav-panel-list li { margin: 0; }
.nav-panel-list a {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 11px 14px;
    border-radius: 9px;
    border-bottom: none;
    text-decoration: none;
    transition: background 0.12s ease;
}
.nav-panel-list a:hover { background: oklch(96% 0.03 45); }
.nav-panel-list strong {
    font-size: 0.9rem;
    font-weight: 600;
    color: #1a1a1a;
    transition: color 0.12s;
}
.nav-panel-list a:hover strong { color: #EA6A1F; }
.nav-panel-list span {
    font-size: 0.78rem;
    color: #999;
    font-weight: 400;
}

/* Log In button */
a.nav-btn-login,
.nav-links a.nav-btn-login {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 22px !important;
    background: #EA6A1F;
    color: #fff !important;
    border-radius: 999px;
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: 0.01em;
    text-decoration: none;
    border-bottom: none !important;
    white-space: nowrap;
    line-height: 1;
    transition: background 0.15s ease;
}
a.nav-btn-login:hover,
.nav-links a.nav-btn-login:hover {
    background: #d45c18;
    color: #fff !important;
}

/* Mobile */
@media (max-width: 768px) {
    .nav-chevron {
        display: inline-block;
        margin-left: auto;
        transition: transform 0.2s ease;
        opacity: 0.6;
    }
    .nav-link--dd {
        display: flex !important;
        align-items: center;
        justify-content: space-between;
        width: 100%;
    }
    .nav-dropdown.open > .nav-link--dd .nav-chevron {
        transform: rotate(180deg);
        opacity: 1;
    }
    .nav-panel,
    .nav-dropdown:hover > .nav-panel,
    .nav-dropdown:focus-within > .nav-panel {
        position: static;
        transform: none;
        background: transparent;
        min-width: 0;
        transition: none;
        padding-top: 0;
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        max-height: 0;
        overflow: hidden;
    }
    .nav-dropdown.open > .nav-panel {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        max-height: none;
        overflow: visible;
    }
    .nav-link--dd { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
    .nav-panel--wide { min-width: 0; left: 0; }
    .nav-panel-inner {
        background: #f6f3ee;
        border: none;
        border-radius: 0;
        box-shadow: none;
        padding: 4px 0 8px;
    }
    .nav-panel-label { display: none; }
    .nav-panel-grid { grid-template-columns: 1fr; }
    .nav-panel-grid a,
    .nav-panel-list a { padding: 9px 28px; border-radius: 0; }
    .nav-panel-list span { display: none; }
    .nav-btn-login {
        border-radius: 50px;
        margin: 8px 16px 4px;
        justify-content: center;
        display: block;
        width: calc(100% - 32px);
        text-align: center;
        min-height: 44px;
        line-height: 44px;
        padding-top: 0;
        padding-bottom: 0;
    }
}

[hidden] { display: none !important; }
