/* ============================================================
   SADDLIN DIESEL — brand-first. Black, tan, double rules,
   condensed display type. No gradients, no glows, no cards.
   ============================================================ */

:root {
  --bg: #000000;
  --line: #1c1c1c;
  --line-strong: #333333;
  --text: #ececec;
  --muted: #939393;
  --faint: #4f4f4f;
  --tan: #c2a367;
  --error: #c0574a;
  --display: 'Archivo', 'Inter', sans-serif;
  --body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

::selection {
  background: var(--tan);
  color: #000;
}

img { display: block; max-width: 100%; }
ul { list-style: none; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; background: none; border: none; color: inherit; }

:focus-visible {
  outline: 1px solid var(--tan);
  outline-offset: 3px;
}

.container {
  width: min(1200px, calc(100% - 80px));
  margin-inline: auto;
}

/* ---------- Double rule (matches the logo's badge ring) ---------- */
.rule-double {
  border-top: 1px solid var(--line);
  position: relative;
}
.rule-double::before {
  content: "";
  position: absolute;
  top: 3px;
  left: 0;
  right: 0;
  border-top: 1px solid var(--line);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 16px 34px;
  font-family: var(--display);
  font-size: 14px;
  font-weight: 650;
  font-stretch: 90%;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-radius: 0;
  transition: background 0.25s var(--ease), color 0.25s var(--ease);
}
.btn-primary {
  background: var(--tan);
  color: #000;
}
.btn-primary:hover {
  background: var(--text);
  color: #000;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 500;
  padding-bottom: 3px;
  border-bottom: 1px solid var(--line-strong);
  transition: border-color 0.25s var(--ease), color 0.25s var(--ease);
}
.text-link:hover {
  color: var(--tan);
  border-color: var(--tan);
}

.inline-link {
  color: var(--text);
  border-bottom: 1px solid var(--line-strong);
  transition: color 0.25s var(--ease), border-color 0.25s var(--ease);
}
.inline-link:hover {
  color: var(--tan);
  border-color: var(--tan);
}

/* ---------- Nav ---------- */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease);
}
.nav.scrolled {
  background: #000;
  border-bottom-color: var(--line);
}
.nav-inner {
  width: min(1200px, calc(100% - 80px));
  margin-inline: auto;
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  position: relative;
  z-index: 110;
}
.brand-logo {
  width: 36px;
  height: 36px;
  object-fit: contain;
}
.brand-name {
  font-family: var(--display);
  font-size: 15px;
  font-weight: 700;
  font-stretch: 85%;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 40px;
}
.nav-link {
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color 0.25s var(--ease);
}
.nav-link:hover {
  color: var(--text);
}
.nav-phone {
  font-family: var(--display);
  font-size: 14px;
  font-weight: 700;
  font-stretch: 85%;
  letter-spacing: 0.1em;
  color: var(--tan);
  padding-left: 40px;
  border-left: 1px solid var(--line-strong);
  transition: color 0.25s var(--ease);
}
.nav-phone:hover {
  color: var(--text);
}
.nav-toggle {
  display: none;
  position: relative;
  z-index: 110;
  width: 40px;
  height: 40px;
}
.nav-toggle span {
  position: absolute;
  left: 9px;
  width: 22px;
  height: 1.5px;
  background: var(--text);
  transition: transform 0.3s var(--ease), top 0.3s var(--ease);
}
.nav-toggle span:nth-child(1) { top: 16px; }
.nav-toggle span:nth-child(2) { top: 23px; }
.nav-toggle.active span:nth-child(1) { top: 19px; transform: rotate(45deg); }
.nav-toggle.active span:nth-child(2) { top: 19px; transform: rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding-top: 76px;
}
.hero-inner {
  padding: 64px 0;
}
.hero-kicker {
  font-family: var(--display);
  font-size: 13px;
  font-weight: 600;
  font-stretch: 85%;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--tan);
  margin-bottom: 28px;
}
.hero-title {
  font-family: var(--display);
  font-size: clamp(4rem, 11vw, 10rem);
  font-weight: 850;
  font-stretch: 72%;
  letter-spacing: -0.01em;
  line-height: 0.92;
  text-transform: uppercase;
}
.hero-foot {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 48px;
  margin-top: 72px;
  padding-top: 28px;
  border-top: 1px solid var(--line-strong);
}
.hero-sub {
  max-width: 44ch;
  font-size: 16px;
  color: var(--muted);
}
.hero-foot .btn {
  flex-shrink: 0;
}

/* ---------- Section scaffolding ---------- */
.section {
  padding: 120px 0;
  border-top: 1px solid var(--line);
}
.label {
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: var(--display);
  font-size: 12px;
  font-weight: 600;
  font-stretch: 85%;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 56px;
}
.label::after {
  content: "";
  width: 48px;
  border-top: 1px solid var(--tan);
}

/* ---------- Services ---------- */
.service-intro {
  max-width: 52ch;
  font-size: 17px;
  color: var(--muted);
  margin: -24px 0 48px;
}
.service-list {
  border-bottom: 1px solid var(--line);
}
.service-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
  align-items: baseline;
  gap: 24px;
  padding: 26px 0;
  border-top: 1px solid var(--line);
}
.service-row h3 {
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.01em;
  transition: color 0.25s var(--ease);
}
.service-row p {
  font-size: 15px;
  color: var(--muted);
}
.service-row:hover h3 {
  color: var(--tan);
}
.service-note {
  margin-top: 40px;
  font-size: 14px;
  color: var(--muted);
}

/* ---------- About ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 96px;
  align-items: start;
}
.about-title {
  font-family: var(--display);
  font-size: clamp(2.4rem, 4.6vw, 3.9rem);
  font-weight: 800;
  font-stretch: 75%;
  letter-spacing: 0;
  line-height: 1.02;
  text-transform: uppercase;
}
.about-title .tan {
  color: var(--tan);
}
.about-copy {
  padding-top: 12px;
}
.about-copy p {
  font-size: 16px;
  color: var(--muted);
  margin-bottom: 24px;
}
.about-copy .text-link {
  margin-top: 12px;
}

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 96px;
  align-items: start;
}
.contact-info h2 {
  font-family: var(--display);
  font-size: clamp(2.6rem, 5vw, 4.2rem);
  font-weight: 800;
  font-stretch: 75%;
  line-height: 1;
  text-transform: uppercase;
}
.contact-note {
  margin-top: 28px;
  max-width: 36ch;
  font-size: 15px;
  color: var(--muted);
}
.contact-rows {
  margin-top: 56px;
  border-bottom: 1px solid var(--line);
}
.contact-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 24px;
  padding: 18px 0;
  border-top: 1px solid var(--line);
}
.contact-row dt {
  font-family: var(--display);
  font-size: 12px;
  font-weight: 600;
  font-stretch: 85%;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
}
.contact-row dd {
  font-size: 15px;
}
.contact-row a {
  transition: color 0.25s var(--ease);
}
.contact-row a:hover {
  color: var(--tan);
}

/* ---------- Form ---------- */
.service-form {
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}
.field label,
.field-label {
  display: block;
  font-family: var(--display);
  font-size: 12px;
  font-weight: 600;
  font-stretch: 85%;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 4px;
}
.field .optional {
  text-transform: none;
  letter-spacing: 0;
  color: var(--faint);
}
.field input,
.field select,
.field textarea {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--line-strong);
  border-radius: 0;
  padding: 12px 0 14px;
  font-family: var(--body);
  font-size: 16px;
  color: var(--text);
  transition: border-color 0.3s var(--ease);
}
.field input::placeholder,
.field textarea::placeholder {
  color: var(--faint);
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-bottom-color: var(--tan);
}
.field textarea {
  resize: vertical;
  min-height: 96px;
}
/* ---------- Custom dropdown ---------- */
.dropdown {
  position: relative;
}
.dropdown-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  padding: 12px 0 14px;
  border: none;
  border-bottom: 1px solid var(--line-strong);
  border-radius: 0;
  background: transparent;
  font-family: var(--body);
  font-size: 16px;
  color: var(--text);
  text-align: left;
  transition: border-color 0.3s var(--ease);
}
.dropdown-trigger:hover,
.dropdown.open .dropdown-trigger {
  border-bottom-color: var(--tan);
}
.dropdown-chevron {
  width: 10px;
  height: 6px;
  flex-shrink: 0;
  color: var(--muted);
  transition: transform 0.3s var(--ease), color 0.3s var(--ease);
}
.dropdown.open .dropdown-chevron {
  transform: rotate(180deg);
  color: var(--tan);
}
.dropdown-menu {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  z-index: 50;
  background: #0a0a0a;
  border: 1px solid var(--line-strong);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 0.2s var(--ease), transform 0.2s var(--ease), visibility 0.2s;
}
.dropdown.open .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: none;
}
.dropdown-menu li {
  padding: 13px 16px;
  font-size: 15px;
  color: var(--muted);
  cursor: pointer;
  transition: background 0.15s var(--ease), color 0.15s var(--ease);
}
.dropdown-menu li + li {
  border-top: 1px solid var(--line);
}
.dropdown-menu li:hover,
.dropdown-menu li.focused {
  background: #141414;
  color: var(--text);
}
.dropdown-menu li[aria-selected="true"] {
  color: var(--tan);
}
.field-error {
  display: none;
  margin-top: 8px;
  font-size: 12px;
  color: var(--error);
}
.field.error .field-error {
  display: block;
}
.field.error input,
.field.error select {
  border-bottom-color: var(--error);
}
.btn-submit {
  width: 100%;
  padding: 19px;
  margin-top: 8px;
}
.btn-submit.loading {
  opacity: 0.55;
  pointer-events: none;
}

/* ---------- Form success ---------- */
.form-success:not([hidden]) {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  padding: 48px 0;
}
.success-icon {
  width: 56px;
  height: 56px;
  color: var(--tan);
}
.form-success h3 {
  font-family: var(--display);
  font-size: 30px;
  font-weight: 750;
  font-stretch: 80%;
  text-transform: uppercase;
}
.form-success p {
  font-size: 15px;
  color: var(--muted);
  max-width: 40ch;
}

/* ---------- Footer ---------- */
.footer {
  border-top: 1px solid var(--line);
  padding: 80px 0 36px;
}
.footer-top {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding-bottom: 64px;
}
.footer-logo {
  width: 120px;
  height: auto;
}
.footer-phone {
  font-family: var(--display);
  font-size: clamp(2rem, 4.5vw, 3.4rem);
  font-weight: 800;
  font-stretch: 74%;
  letter-spacing: 0.01em;
  line-height: 1;
  color: var(--text);
  transition: color 0.25s var(--ease);
}
.footer-phone:hover {
  color: var(--tan);
}
.footer-tag {
  font-size: 14px;
  color: var(--muted);
}
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: var(--muted);
}
.footer-links {
  display: flex;
  gap: 32px;
}
.footer-links a {
  color: var(--muted);
  transition: color 0.25s var(--ease);
}
.footer-links a:hover {
  color: var(--text);
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .section {
    padding: 88px 0;
  }
  .hero-foot {
    flex-direction: column;
    align-items: flex-start;
    gap: 32px;
  }
  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 56px;
  }
  .service-row {
    grid-template-columns: 1fr;
    gap: 4px;
  }
}

@media (max-width: 860px) {
  .nav-links {
    position: fixed;
    inset: 0;
    z-index: 105;
    background: #000;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 32px;
    padding: 0 8vw;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s var(--ease), visibility 0.35s;
  }
  .nav-links.open {
    opacity: 1;
    visibility: visible;
  }
  .nav-link {
    font-family: var(--display);
    font-size: 40px;
    font-weight: 800;
    font-stretch: 76%;
    letter-spacing: 0;
    color: var(--text);
  }
  .nav-phone {
    padding-left: 0;
    border-left: none;
    margin-top: 24px;
    font-size: 20px;
  }
  .nav-toggle {
    display: block;
  }
}

@media (max-width: 560px) {
  .container,
  .nav-inner {
    width: calc(100% - 48px);
  }
  .hero-title {
    font-size: clamp(3.2rem, 16vw, 5rem);
  }
  .form-row {
    grid-template-columns: 1fr;
  }
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
  }
}
