:root {
  --black: #080808;
  --charcoal: #141414;
  --steel: #252525;
  --line: rgba(255, 255, 255, 0.14);
  --text: #f7f3ea;
  --muted: #d5cbb8;
  --yellow: #f5b400;
  --orange: #e66a14;
  --red: #bf241f;
  --white: #ffffff;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  font-family: "Inter", Arial, sans-serif;
  background: var(--black);
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 76px;
  padding: 14px clamp(18px, 5vw, 72px);
  background: rgba(8, 8, 8, 0.88);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 210px;
  text-transform: uppercase;
}

.brand-logo {
  width: 50px;
  height: 50px;
  object-fit: cover;
  background: var(--black);
}

.brand strong,
.brand small {
  display: block;
  line-height: 1;
}

.brand strong {
  font-size: 18px;
  letter-spacing: 0;
}

.brand small {
  margin-top: 5px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(14px, 3vw, 34px);
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
}

.site-nav a:hover,
.header-call:hover,
.contact-card a:hover {
  color: var(--yellow);
}

.header-call {
  color: var(--white);
  font-weight: 800;
  white-space: nowrap;
}

.hero {
  position: relative;
  display: grid;
  align-items: center;
  min-height: 92vh;
  overflow: hidden;
  padding: 130px clamp(20px, 7vw, 92px) 72px;
}

.hero-media,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-media {
  background-image: url("../images/hero/oficina-mecanica-pesada.jpg");
  background-size: cover;
  background-position: center right;
  transform: scale(1.02);
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(8, 8, 8, 0.98) 0%, rgba(8, 8, 8, 0.8) 38%, rgba(8, 8, 8, 0.18) 72%),
    linear-gradient(0deg, rgba(8, 8, 8, 0.88) 0%, rgba(8, 8, 8, 0) 42%);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(700px, 100%);
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--yellow);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1,
h2 {
  font-family: "Anton", Impact, sans-serif;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1 {
  max-width: 650px;
  margin-bottom: 18px;
  font-family: "Inter", Arial, sans-serif;
  font-size: clamp(46px, 7vw, 96px);
  font-weight: 900;
  line-height: 1.02;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(36px, 5vw, 64px);
  line-height: 1.16;
}

h3 {
  margin-bottom: 12px;
  font-size: 22px;
  line-height: 1.15;
  text-transform: uppercase;
}

.hero-subtitle {
  max-width: 590px;
  margin-bottom: 32px;
  color: var(--muted);
  font-size: clamp(18px, 2.4vw, 26px);
  line-height: 1.35;
  font-weight: 700;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border: 2px solid transparent;
  font-weight: 900;
  text-transform: uppercase;
}

.button-primary {
  color: var(--black);
  background: linear-gradient(135deg, var(--yellow), var(--orange));
}

.button-secondary {
  border-color: var(--yellow);
  color: var(--yellow);
  background: rgba(8, 8, 8, 0.4);
}

.button:hover {
  transform: translateY(-2px);
}

.alert-strip {
  display: flex;
  justify-content: center;
  gap: 12px;
  padding: 22px clamp(20px, 5vw, 72px);
  color: var(--black);
  background: var(--yellow);
  font-size: clamp(18px, 2.5vw, 28px);
  text-align: center;
  text-transform: uppercase;
}

.alert-strip strong {
  font-family: "Anton", Impact, sans-serif;
  font-weight: 400;
}

.section {
  padding: 84px clamp(20px, 6vw, 84px);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 34px;
}

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

.service-card {
  min-height: 0;
  overflow: hidden;
  padding: 28px;
  background: linear-gradient(180deg, #1b1b1b, #101010);
  border: 1px solid var(--line);
  border-top: 5px solid var(--orange);
}

.service-card img {
  display: block;
  width: calc(100% + 56px);
  height: 180px;
  margin: -28px -28px 24px;
  object-fit: cover;
}

.service-number {
  display: block;
  margin-bottom: 18px;
  color: var(--yellow);
  font-family: "Anton", Impact, sans-serif;
  font-size: 42px;
}

.service-card p,
.split p,
.contact-band p {
  color: var(--muted);
  line-height: 1.65;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.76fr);
  gap: clamp(28px, 6vw, 84px);
  align-items: center;
  background:
    linear-gradient(90deg, rgba(191, 36, 31, 0.16), transparent),
    var(--charcoal);
}

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

.feature-list div {
  padding: 22px;
  background: var(--black);
  border-left: 5px solid var(--yellow);
}

.feature-list strong,
.feature-list span {
  display: block;
}

.feature-list strong {
  margin-bottom: 8px;
  font-size: 18px;
  text-transform: uppercase;
}

.feature-list span {
  color: var(--muted);
}

.contact-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 500px);
  gap: 28px;
  align-items: center;
  padding: 76px clamp(20px, 6vw, 84px);
  background: linear-gradient(135deg, var(--orange), var(--red));
}

.contact-band .eyebrow,
.contact-band p {
  color: var(--white);
}

.contact-card {
  display: grid;
  gap: 14px;
  padding: 28px;
  background: rgba(8, 8, 8, 0.86);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.contact-card a,
.contact-card address {
  font-style: normal;
  font-weight: 800;
  overflow-wrap: anywhere;
}

@media (max-width: 860px) {
  .site-header {
    position: absolute;
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
  }

  .site-nav {
    order: 3;
    width: 100%;
    justify-content: space-between;
  }

  .hero {
    min-height: 820px;
    padding-top: 300px;
  }

  .hero-media {
    background-position: 68% center;
    background-repeat: no-repeat;
    background-size: cover;
    transform: none;
  }

  .hero-overlay {
    background:
      linear-gradient(180deg, rgba(8, 8, 8, 0.42) 0%, rgba(8, 8, 8, 0.18) 42%, rgba(8, 8, 8, 0.92) 78%),
      linear-gradient(90deg, rgba(8, 8, 8, 0.84), rgba(8, 8, 8, 0.16));
  }

  .alert-strip,
  .split,
  .contact-band {
    grid-template-columns: 1fr;
  }

  .alert-strip {
    display: grid;
    padding-block: 16px;
    font-size: 18px;
  }

  .service-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 540px) {
  .site-nav {
    gap: 10px;
    font-size: 12px;
  }

  h1 {
    font-size: 48px;
  }

  .hero {
    min-height: 760px;
    padding-top: 280px;
  }

  .hero-media {
    background-position: 63% center;
  }

  .hero-subtitle {
    display: none;
  }

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

  .alert-strip span {
    display: none;
  }

  .service-card {
    min-height: auto;
  }

  .service-card img {
    height: 190px;
  }

}
