/*
Theme Name: TRIPLEXC Official
Theme URI: https://triplexc.com/
Author: TRIPLEXC
Description: Custom official website theme for TRIPLEXC.COM transport, towing, hauling, grading, and heavy equipment transport.
Version: 1.0.0
Text Domain: triplexc
*/

:root {
  --ink: #171614;
  --coal: #28241f;
  --steel: #52626c;
  --fog: #f4f1eb;
  --paper: #fffdf8;
  --line: #d9d2c6;
  --gold: #f0b64b;
  --amber: #d98a22;
  --green: #35584d;
  --red: #b94135;
  --blue: #2d638f;
  --white: #ffffff;
  --shadow: 0 20px 54px rgba(23, 22, 20, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.5;
}

body.triplexc-app-body {
  background: #171614;
}

a {
  color: inherit;
}

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

.site-shell {
  min-height: 100vh;
  overflow: hidden;
}

.site-header {
  position: fixed;
  z-index: 30;
  inset: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px clamp(18px, 4vw, 56px);
  color: var(--white);
  background: rgba(20, 19, 17, 0.74);
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(14px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  color: var(--ink);
  background: var(--gold);
  border-radius: 7px;
  font-weight: 900;
}

.brand-name {
  display: block;
  color: var(--white);
  font-size: 1rem;
  font-weight: 900;
  line-height: 1.1;
}

.brand-line {
  display: block;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.78rem;
  white-space: nowrap;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.93rem;
}

.nav-links a {
  text-decoration: none;
}

.nav-links a:hover,
.nav-links .is-active {
  color: var(--white);
}

.nav-cta {
  min-height: 38px;
  padding: 10px 13px;
  color: var(--ink);
  background: var(--gold);
  border-radius: 7px;
  font-weight: 800;
}

.hero {
  min-height: 80svh;
  display: flex;
  align-items: center;
  padding: 116px clamp(18px, 5vw, 70px) 56px;
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(16, 15, 13, 0.96) 0%, rgba(16, 15, 13, 0.74) 38%, rgba(16, 15, 13, 0.18) 72%),
    var(--hero-image) center / cover no-repeat;
}

.hero.is-page {
  min-height: 58svh;
  align-items: end;
}

.hero-content {
  width: min(720px, 100%);
}

.hero-wide {
  width: min(960px, 100%);
}

.eyebrow-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 22px;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  min-height: 34px;
  padding: 7px 12px;
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 6px;
  color: rgba(255, 255, 255, 0.9);
  background: rgba(255, 255, 255, 0.08);
  font-size: 0.88rem;
}

.dot {
  width: 8px;
  height: 8px;
  flex: 0 0 auto;
  border-radius: 999px;
  background: var(--gold);
  box-shadow: 0 0 0 4px rgba(240, 182, 75, 0.2);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 780px;
  margin-bottom: 20px;
  color: var(--white);
  font-size: clamp(2.35rem, 5.3vw, 4.75rem);
  line-height: 0.96;
  letter-spacing: 0;
}

.hero.is-page h1 {
  max-width: 980px;
}

.hero-copy {
  max-width: 660px;
  margin-bottom: 28px;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(1.02rem, 1.55vw, 1.22rem);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.button,
button.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 13px 18px;
  border: 1px solid transparent;
  border-radius: 7px;
  color: inherit;
  font: inherit;
  font-weight: 900;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
}

.button-primary {
  color: var(--ink);
  background: var(--gold);
  box-shadow: 0 12px 30px rgba(217, 138, 34, 0.24);
}

.button-secondary {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.34);
  background: rgba(255, 255, 255, 0.08);
}

.button-dark {
  color: var(--white);
  background: var(--coal);
}

.button-outline {
  color: var(--ink);
  border-color: var(--line);
  background: transparent;
}

.quick-specs-band {
  position: relative;
  z-index: 2;
  margin-top: -34px;
  padding: 0 clamp(18px, 5vw, 70px) clamp(42px, 6vw, 74px);
}

.quick-specs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  width: min(1160px, 100%);
  margin: 0 auto;
}

.quick-spec {
  min-height: 120px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 12px 34px rgba(24, 23, 21, 0.11);
}

.quick-spec strong {
  display: block;
  margin-bottom: 5px;
  font-size: 0.95rem;
}

.quick-spec span {
  color: #686258;
  font-size: 0.86rem;
}

.section {
  padding: clamp(58px, 7vw, 96px) clamp(18px, 5vw, 70px);
}

.section-inner {
  width: min(1160px, 100%);
  margin: 0 auto;
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 0.62fr);
  gap: clamp(24px, 5vw, 64px);
  align-items: end;
  margin-bottom: 34px;
}

.kicker {
  margin-bottom: 10px;
  color: var(--amber);
  font-size: 0.84rem;
  font-weight: 900;
  text-transform: uppercase;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(2rem, 4vw, 3.55rem);
  line-height: 1.05;
  letter-spacing: 0;
}

h3 {
  line-height: 1.16;
}

.section-head p,
.lead {
  color: #5f5a50;
  font-size: 1.04rem;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(18px, 4vw, 42px);
}

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

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

.card {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 10px 28px rgba(24, 23, 21, 0.06);
}

.service-card {
  display: flex;
  flex-direction: column;
  min-height: 300px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 12px 34px rgba(24, 23, 21, 0.08);
}

.service-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.service-card-body {
  flex: 1;
  padding: 20px;
}

.service-card-body p {
  color: #686258;
}

.tag {
  display: inline-flex;
  width: fit-content;
  margin-top: 10px;
  padding: 6px 9px;
  border-radius: 5px;
  color: var(--green);
  background: #e7eee9;
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  margin-top: 12px;
}

.text-link {
  color: var(--blue);
  font-weight: 900;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.dark-band .text-link {
  color: var(--gold);
}

.plain-list {
  display: grid;
  gap: 10px;
  margin: 16px 0 0;
  padding-left: 18px;
  color: #5f5a50;
}

.faq-list {
  display: grid;
  gap: 10px;
}

.faq-item {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 10px 28px rgba(24, 23, 21, 0.06);
}

.faq-item summary {
  padding: 17px 18px;
  cursor: pointer;
  font-weight: 900;
}

.faq-item p {
  margin: 0;
  padding: 0 18px 18px;
  color: #5f5a50;
}

.area-card {
  min-height: 160px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 10px 28px rgba(24, 23, 21, 0.06);
}

.area-card p {
  color: #5f5a50;
}

.dark-band .area-card {
  color: var(--ink);
}

.dark-band .area-card p {
  color: #5f5a50;
}

.service-link-card {
  display: grid;
  align-content: start;
  gap: 10px;
}

.dark-band {
  color: var(--white);
  background: var(--coal);
}

.dark-band .lead,
.dark-band p {
  color: rgba(255, 255, 255, 0.74);
}

.dark-band .card {
  color: var(--ink);
}

.dark-band .card p {
  color: #5f5a50;
}

.feature-media {
  min-height: 420px;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.feature-media img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
}

.check-list {
  display: grid;
  gap: 12px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 14px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.check-list.light li {
  border-color: var(--line);
}

.check {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
  color: var(--ink);
  background: var(--gold);
  border-radius: 5px;
  font-size: 0.86rem;
  font-weight: 900;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.process-step {
  min-height: 196px;
  padding: 22px;
  border-right: 1px solid var(--line);
}

.process-step:last-child {
  border-right: 0;
}

.process-step span {
  display: block;
  margin-bottom: 24px;
  color: var(--amber);
  font-weight: 900;
}

.testimonial {
  position: relative;
  padding: clamp(28px, 5vw, 52px);
  border-radius: 8px;
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(23, 22, 20, 0.95), rgba(23, 22, 20, 0.72)),
    var(--quote-image) center / cover no-repeat;
}

.testimonial blockquote {
  max-width: 740px;
  margin: 0 0 18px;
  font-size: clamp(1.45rem, 3vw, 2.5rem);
  font-weight: 800;
  line-height: 1.12;
}

.form-panel {
  padding: clamp(22px, 4vw, 36px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.field {
  display: grid;
  gap: 7px;
}

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

label {
  font-size: 0.84rem;
  font-weight: 900;
}

input,
select,
textarea {
  width: 100%;
  min-height: 46px;
  padding: 11px 12px;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #fff;
  font: inherit;
}

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

.notice {
  margin: 0 0 18px;
  padding: 12px 14px;
  border-left: 4px solid var(--green);
  background: #e9f1ec;
  color: var(--green);
  font-weight: 800;
}

.contact-list {
  display: grid;
  gap: 12px;
}

.contact-item {
  padding: 17px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
}

.contact-item span {
  display: block;
  margin-bottom: 5px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.contact-item strong {
  color: var(--white);
}

.footer {
  padding: 44px clamp(18px, 5vw, 70px);
  color: rgba(255, 255, 255, 0.74);
  background: var(--ink);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.8fr 0.9fr 0.8fr;
  gap: 30px;
  width: min(1160px, 100%);
  margin: 0 auto;
}

.footer a {
  color: rgba(255, 255, 255, 0.82);
  text-decoration: none;
}

.footer-links {
  display: grid;
  gap: 8px;
}

.footer-headquarters {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  margin-top: 12px;
  padding: 10px 14px;
  border-radius: 7px;
  color: var(--ink) !important;
  background: #4aa16f;
  font-weight: 900;
  letter-spacing: 0.04em;
  box-shadow: 0 0 24px rgba(74, 161, 111, 0.3);
}

.footer h3 {
  color: var(--white);
}

.floating-ctas {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 35;
  display: grid;
  gap: 10px;
}

.float-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 11px 14px;
  border-radius: 7px;
  color: #000;
  font-weight: 900;
  text-decoration: none;
  box-shadow: 0 0 24px rgba(240, 182, 75, 0.38);
}

.float-link.employee {
  background: #ff9f2e;
}

.float-link.portal {
  background: #ef5b4f;
}

@media print {
  .site-header,
  .footer,
  .floating-ctas {
    display: none !important;
  }
}

@media (max-width: 1050px) {
  .quick-specs,
  .grid-4,
  .process-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .grid-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .process-step:nth-child(2) {
    border-right: 0;
  }

  .process-step:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }
}

@media (max-width: 820px) {
  .site-header {
    position: absolute;
  }

  .nav-links {
    display: none;
  }

  .hero {
    min-height: 78svh;
    align-items: end;
    padding-top: 104px;
    padding-bottom: 34px;
    background:
      linear-gradient(0deg, rgba(16, 15, 13, 0.94) 0%, rgba(16, 15, 13, 0.72) 48%, rgba(16, 15, 13, 0.18) 100%),
      var(--hero-image) 58% center / cover no-repeat;
  }

  .quick-specs-band {
    margin-top: 0;
    padding-top: 18px;
  }

  .section-head,
  .grid-2,
  .form-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .section-head {
    gap: 16px;
  }
}

@media (max-width: 620px) {
  .brand-line {
    display: none;
  }

  .actions,
  .button {
    width: 100%;
  }

  .quick-specs,
  .grid-3,
  .grid-4,
  .process-grid {
    grid-template-columns: 1fr;
  }

  .process-step,
  .process-step:nth-child(2) {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .process-step:last-child {
    border-bottom: 0;
  }

  .floating-ctas {
    right: 14px;
    bottom: 14px;
    grid-template-columns: 1fr;
  }
}
