:root {
  --bg: #0f1115;
  --bg-2: #171a21;
  --bg-3: #20242d;
  --accent: #f5b301;
  --accent-2: #ffd766;
  --text: #ffffff;
  --muted: #b8beca;
  --line: rgba(255, 255, 255, 0.12);
  --line-strong: rgba(245, 179, 1, 0.4);
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.42);
  --radius: 8px;
  --container: min(1120px, calc(100% - 32px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, Montserrat, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

body.nav-open {
  overflow: hidden;
}

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

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

button,
input,
select,
textarea {
  font: inherit;
}

.container {
  width: var(--container);
  margin: 0 auto;
}

.section {
  padding: 84px 0;
  scroll-margin-top: 84px;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 40;
  border-bottom: 1px solid transparent;
  background: rgba(15, 17, 21, 0.72);
  backdrop-filter: blur(16px);
  transition: border-color 180ms ease, background 180ms ease;
}

.site-header.is-scrolled {
  border-color: var(--line);
  background: rgba(15, 17, 21, 0.92);
}

.navbar {
  width: var(--container);
  min-height: 76px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand-image {
  width: min(235px, 54vw);
  padding: 6px 10px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.22);
}

.brand-image img {
  width: 100%;
  height: 38px;
  object-fit: contain;
}

.brand-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--accent), #a86f00);
  color: #121212;
  font-weight: 900;
  letter-spacing: 0;
}

.brand-copy {
  display: grid;
  line-height: 1.05;
}

.brand-copy strong {
  font-size: 1rem;
  letter-spacing: 0;
}

.brand-copy small {
  color: var(--muted);
  font-size: 0.76rem;
}

.nav-panel {
  display: flex;
  align-items: center;
  gap: 22px;
  color: var(--muted);
  font-size: 0.95rem;
}

.nav-panel a {
  transition: color 180ms ease;
}

.nav-panel a:hover {
  color: var(--text);
}

.nav-cta {
  padding: 10px 16px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  color: var(--text) !important;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  border-radius: 2px;
  background: currentColor;
}

.hero {
  min-height: 92svh;
  padding-top: 128px;
  padding-bottom: 58px;
  display: grid;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(110deg, rgba(15, 17, 21, 0.98) 0%, rgba(15, 17, 21, 0.9) 43%, rgba(15, 17, 21, 0.46) 100%),
    radial-gradient(circle at 18% 22%, rgba(245, 179, 1, 0.16), transparent 30%),
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: auto, auto, 42px 42px, 42px 42px;
}

.hero-grid {
  position: static;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 720px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0;
}

.eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  background: var(--accent);
}

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

h1 {
  max-width: 820px;
  margin-bottom: 22px;
  font-size: clamp(2.45rem, 7vw, 5.75rem);
  line-height: 0.96;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(1.75rem, 4vw, 3rem);
  line-height: 1.08;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.05rem;
  line-height: 1.25;
}

p {
  color: var(--muted);
}

.hero-content p {
  max-width: 660px;
  font-size: 1.08rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 28px 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 800;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

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

.btn-primary {
  background: var(--accent);
  color: #151515;
}

.btn-secondary {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.05);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  max-width: 620px;
  margin: 34px 0 0;
}

.hero-stats div {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.05);
}

.hero-stats dt {
  color: var(--text);
  font-size: 1.35rem;
  font-weight: 900;
}

.hero-stats dd {
  margin: 0;
  color: var(--muted);
  font-size: 0.85rem;
}

.hero-visual {
  position: absolute;
  inset: 0;
  z-index: 0;
  min-height: 100%;
  overflow: hidden;
  pointer-events: none;
}

.hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 62% center;
}

.hero-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 48%, rgba(15, 17, 21, 0.88));
}

.floating-card {
  position: absolute;
  z-index: 2;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(15, 17, 21, 0.82);
  color: var(--text);
  font-size: 0.86rem;
  font-weight: 800;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.34);
}

.card-one {
  top: 18%;
  right: min(9vw, 130px);
}

.card-two {
  right: min(5vw, 80px);
  bottom: 30%;
}

.card-three {
  right: min(15vw, 210px);
  bottom: 16%;
}

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

.service-grid,
.benefit-grid,
.project-grid {
  display: grid;
  gap: 16px;
}

.service-grid {
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
}

.service-card,
.benefit,
.project-card,
.about-panel,
.values,
.quote-form,
.contact-band {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.065), rgba(255, 255, 255, 0.025));
  box-shadow: 0 20px 70px rgba(0, 0, 0, 0.2);
}

.service-card,
.benefit {
  padding: 22px;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.service-card:hover,
.benefit:hover,
.project-card:hover {
  transform: translateY(-4px);
  border-color: var(--line-strong);
}

.text-link {
  display: inline-flex;
  margin-top: 8px;
  color: var(--accent);
  font-size: 0.88rem;
  font-weight: 800;
}

.icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 18px;
  border-radius: var(--radius);
  background: rgba(245, 179, 1, 0.14);
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 900;
}

.split {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 30px;
  align-items: start;
}

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

.projects,
.about,
.contact {
  background: var(--bg-2);
}

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

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

.project-gallery .project-photo {
  height: 220px;
  padding: 16px;
  object-fit: contain;
  background:
    radial-gradient(circle at 78% 18%, rgba(245, 179, 1, 0.28), transparent 24%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.02)),
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    #151922;
  background-size: auto, auto, 26px 26px, 26px 26px, auto;
  border-bottom: 1px solid var(--line);
}

.project-card {
  overflow: hidden;
  transition: transform 180ms ease, border-color 180ms ease;
}

.project-card:nth-child(1),
.project-card:nth-child(2),
.project-card:nth-child(3),
.project-card:nth-child(4) {
  grid-column: span 2;
}

.project-wide {
  grid-column: span 4;
}

.project-image {
  min-height: 220px;
  background:
    radial-gradient(circle at 70% 25%, rgba(255, 255, 255, 0.18), transparent 22%),
    linear-gradient(135deg, rgba(245, 179, 1, 0.9), rgba(245, 179, 1, 0.12)),
    linear-gradient(90deg, rgba(255, 255, 255, 0.12) 1px, transparent 1px),
    linear-gradient(rgba(255, 255, 255, 0.12) 1px, transparent 1px),
    var(--bg-3);
  background-size: auto, 28px 28px, 28px 28px, auto;
  position: relative;
  overflow: hidden;
}

.project-photo {
  width: 100%;
  height: 280px;
  object-fit: cover;
  object-position: center;
  background: var(--bg-3);
}

#proyectos .project-photo {
  height: 210px;
  padding: 14px;
  object-fit: contain;
  background:
    radial-gradient(circle at 78% 18%, rgba(245, 179, 1, 0.28), transparent 24%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.02)),
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    #151922;
  background-size: auto, auto, 26px 26px, 26px 26px, auto;
  border-bottom: 1px solid var(--line);
}

#proyectos .project-wide .project-photo {
  height: 240px;
}

.project-image::before {
  content: "";
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  background: rgba(15, 17, 21, 0.42);
  box-shadow: inset 0 0 0 1px rgba(245, 179, 1, 0.18);
}

.mockup-label,
.mockup-sign,
.mockup-directory,
.mockup-vehicle-brand {
  position: absolute;
  z-index: 2;
  border-radius: var(--radius);
  font-weight: 950;
  letter-spacing: 0;
}

.mockup-label {
  left: 34px;
  bottom: 34px;
  padding: 13px 16px;
  background: var(--accent);
  color: #141414;
}

.mockup-strip {
  position: absolute;
  z-index: 2;
  left: 34px;
  right: 34px;
  top: 44px;
  height: 16px;
  background: repeating-linear-gradient(135deg, #141414 0 12px, var(--accent) 12px 24px);
  border-radius: 999px;
}

.mockup-sign {
  left: 34px;
  right: 34px;
  top: 56px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.92);
  color: #171a21;
  text-align: center;
  font-size: 1.4rem;
}

.mockup-line {
  position: absolute;
  z-index: 2;
  left: 70px;
  right: 70px;
  bottom: 54px;
  height: 4px;
  background: var(--accent);
  border-radius: 999px;
}

.mockup-window {
  position: absolute;
  z-index: 2;
  left: 34px;
  top: 34px;
  width: 42%;
  height: 64%;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.28), rgba(255, 255, 255, 0.04));
}

.mockup-window.small {
  left: auto;
  right: 34px;
  width: 34%;
  top: 58px;
  height: 52%;
}

.mockup-directory {
  left: 34px;
  top: 48px;
  padding: 12px 16px;
  background: rgba(15, 17, 21, 0.86);
  border: 1px solid var(--line);
}

.mockup-directory.alt {
  top: 106px;
  background: var(--accent);
  color: #141414;
}

.mockup-vehicle {
  position: absolute;
  z-index: 2;
  left: 48px;
  right: 48px;
  bottom: 44px;
  height: 72px;
  border-radius: 34px 48px 12px 12px;
  background: linear-gradient(135deg, #e9edf4, #777f8f);
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.3);
}

.mockup-vehicle::before,
.mockup-vehicle::after {
  content: "";
  position: absolute;
  bottom: -16px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #111318;
  border: 5px solid #424854;
}

.mockup-vehicle::before {
  left: 13%;
}

.mockup-vehicle::after {
  right: 13%;
}

.mockup-vehicle-brand {
  left: 64px;
  top: 44px;
  padding: 10px 12px;
  background: rgba(15, 17, 21, 0.82);
  border: 1px solid var(--line);
}

.project-body {
  padding: 22px;
}

.project-body span {
  display: inline-flex;
  margin-bottom: 12px;
  padding: 5px 9px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  color: var(--accent);
  font-size: 0.76rem;
  font-weight: 800;
}

.process-line {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.process-line li {
  position: relative;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.04);
}

.process-line li::before {
  content: "";
  position: absolute;
  top: 42px;
  left: 0;
  right: -16px;
  height: 1px;
  background: linear-gradient(90deg, var(--accent), transparent);
  transform: translateX(40px);
}

.process-line li:last-child::before {
  display: none;
}

.process-line span {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 22px;
  border-radius: 50%;
  background: var(--accent);
  color: #141414;
  font-weight: 900;
}

.faq {
  background: var(--bg);
}

.client-types {
  background: var(--bg);
}

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

.client-card {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.065), rgba(255, 255, 255, 0.025));
  transition: transform 180ms ease, border-color 180ms ease;
}

.client-card:hover {
  transform: translateY(-4px);
  border-color: var(--line-strong);
}

.client-card span {
  display: inline-flex;
  margin-bottom: 18px;
  color: var(--accent);
  font-weight: 950;
}

.faq-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 28px;
  align-items: start;
}

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

.faq-item {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.045);
  overflow: hidden;
}

.faq-item summary {
  cursor: pointer;
  padding: 18px 20px;
  color: var(--text);
  font-weight: 850;
}

.faq-item p {
  margin: 0;
  padding: 0 20px 20px;
}

.page-hero {
  padding-top: 132px;
  background:
    linear-gradient(110deg, rgba(15, 17, 21, 0.98), rgba(23, 26, 33, 0.86)),
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: auto, 42px 42px, 42px 42px;
}

.service-detail-section {
  background: var(--bg-2);
}

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

.service-detail {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.065), rgba(255, 255, 255, 0.025));
}

.service-detail h2 {
  font-size: 1.45rem;
}

.service-detail ul {
  margin: 16px 0 0;
  padding-left: 18px;
  color: var(--muted);
}

.service-detail li + li {
  margin-top: 8px;
}

.about-grid,
.quote-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 28px;
  align-items: start;
}

.about-panel,
.values,
.quote-form {
  padding: 26px;
}

.values {
  display: grid;
  gap: 14px;
}

.values div {
  padding: 18px;
  border-left: 3px solid var(--accent);
  background: rgba(255, 255, 255, 0.04);
}

.values strong,
.values span {
  display: block;
}

.values span {
  margin-top: 4px;
  color: var(--muted);
}

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

.quote-form label {
  display: grid;
  gap: 7px;
  color: var(--text);
  font-size: 0.9rem;
  font-weight: 800;
}

.quote-form .full {
  grid-column: 1 / -1;
}

.privacy-check {
  align-items: start;
  grid-template-columns: auto 1fr;
  color: var(--muted) !important;
  font-size: 0.84rem !important;
  font-weight: 600 !important;
}

.privacy-check input {
  width: 18px;
  min-height: 18px;
  margin-top: 2px;
  accent-color: var(--accent);
}

.privacy-check a {
  color: var(--accent);
  font-weight: 800;
}

.quote-form input,
.quote-form select,
.quote-form textarea {
  width: 100%;
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(15, 17, 21, 0.86);
  color: var(--text);
  padding: 11px 12px;
  outline: none;
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.quote-form textarea {
  resize: vertical;
}

.quote-form input:focus,
.quote-form select:focus,
.quote-form textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(245, 179, 1, 0.14);
}

.form-note {
  grid-column: 1 / -1;
  min-height: 20px;
  margin: 0;
  font-size: 0.88rem;
}

.contact-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 28px;
}

.contact-band h2 {
  max-width: 760px;
  margin-bottom: 10px;
}

.contact-highlight {
  margin: 12px 0 0;
  color: var(--text);
  font-weight: 850;
}

.contact-highlight a {
  color: var(--accent);
  white-space: nowrap;
}

.contact-options {
  display: grid;
  gap: 10px;
  margin-top: 16px;
}

.site-footer {
  padding: 52px 0 0;
  background: #0a0c10;
  border-top: 1px solid var(--line);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 1fr;
  gap: 28px;
}

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

.footer-grid ul {
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--muted);
}

.footer-grid li + li {
  margin-top: 8px;
}

.footer-bottom {
  margin-top: 36px;
  padding: 18px 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
  text-align: center;
  font-size: 0.9rem;
}

.call-float {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 30;
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--accent);
  color: #151515;
  font-weight: 950;
  box-shadow: 0 16px 50px rgba(245, 179, 1, 0.35);
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 600ms ease var(--delay, 0ms), transform 600ms ease var(--delay, 0ms);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 900px) {
  .section {
    padding: 66px 0;
  }

  .nav-toggle {
    display: inline-block;
  }

  .nav-panel {
    position: fixed;
    inset: 76px 16px auto;
    display: grid;
    gap: 4px;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(15, 17, 21, 0.98);
    box-shadow: var(--shadow);
    transform: translateY(-16px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 180ms ease, transform 180ms ease;
  }

  .nav-panel.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .nav-panel a {
    padding: 12px;
  }

  .nav-cta {
    text-align: center;
  }

  .split,
  .about-grid,
  .quote-grid,
  .faq-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

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

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

  .process-line li::before {
    display: none;
  }

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

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

  .project-card:nth-child(1),
  .project-card:nth-child(2),
  .project-card:nth-child(3),
  .project-card:nth-child(4),
  .project-wide {
    grid-column: auto;
  }
}

@media (max-width: 620px) {
  .navbar {
    min-height: 70px;
  }

  .hero {
    padding-top: 108px;
    min-height: auto;
  }

  .brand-copy small {
    font-size: 0.7rem;
  }

  .hero-actions,
  .contact-band {
    align-items: stretch;
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .hero-stats,
  .benefit-grid,
  .process-line,
  .project-gallery,
  .client-grid,
  .quote-form {
    grid-template-columns: 1fr;
  }

  .quote-form .full {
    grid-column: auto;
  }

  .floating-card {
    font-size: 0.76rem;
  }

  .card-one,
  .card-two,
  .card-three {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}
