:root {
  color-scheme: light;
  --ink: #181a1b;
  --ink-soft: #4c5152;
  --paper: #f7f3ec;
  --paper-2: #ebe3d4;
  --white: #ffffff;
  --line: #d7cec0;
  --steel: #2f6f73;
  --steel-dark: #1f4e51;
  --clay: #d86f34;
  --amber: #f1b857;
  --graphite: #202426;
  --shadow: 0 18px 50px rgba(24, 26, 27, 0.16);
  --max-width: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
}

body.nav-open {
  overflow: hidden;
}

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

img,
svg {
  display: block;
}

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

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(100% - 32px, var(--max-width));
  min-height: 72px;
  margin: 16px auto 0;
  padding: 10px 12px 10px 14px;
  border: 1px solid rgba(255, 255, 255, 0.38);
  border-radius: 8px;
  background: rgba(24, 26, 27, 0.62);
  color: var(--white);
  backdrop-filter: blur(18px);
  box-shadow: 0 16px 44px rgba(0, 0, 0, 0.18);
  transition: background 180ms ease, border-color 180ms ease;
}

.site-header.is-scrolled {
  background: rgba(24, 26, 27, 0.9);
  border-color: rgba(255, 255, 255, 0.18);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  flex: 0 0 auto;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 6px;
  background: var(--clay);
  color: var(--white);
  font-size: 1.2rem;
  font-weight: 800;
}

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

.brand strong {
  font-size: 1rem;
}

.brand small {
  margin-top: 3px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.78rem;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 3px;
  min-width: 0;
}

.site-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 10px;
  border-radius: 6px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.88rem;
  font-weight: 700;
  white-space: nowrap;
  transition: background 160ms ease, color 160ms ease;
}

.site-nav a:hover,
.site-nav a.is-active {
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
}

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 0;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.12);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 6px auto;
  border-radius: 999px;
  background: var(--white);
  transition: transform 160ms ease;
}

.nav-toggle[aria-expanded="true"] span:first-child {
  transform: translateY(4px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:last-child {
  transform: translateY(-4px) rotate(-45deg);
}

.hero {
  display: grid;
  align-items: center;
  min-height: 82vh;
  padding: 148px 0 76px;
  background-image:
    linear-gradient(90deg, rgba(10, 12, 13, 0.9) 0%, rgba(10, 12, 13, 0.72) 45%, rgba(10, 12, 13, 0.18) 80%),
    url("assets/mixxo-hero-renovacion.png");
  background-position: center right;
  background-size: cover;
  color: var(--white);
}

.hero-inner {
  width: min(100% - 40px, var(--max-width));
  margin: 0 auto;
}

.eyebrow,
.section-kicker {
  color: var(--clay);
  font-size: 0.82rem;
  font-weight: 850;
  line-height: 1.2;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: var(--amber);
}

.hero h1 {
  max-width: 780px;
  margin-top: 16px;
  font-size: 4.35rem;
  font-weight: 850;
  line-height: 0.98;
}

.hero-copy {
  max-width: 640px;
  margin-top: 22px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.26rem;
  line-height: 1.5;
}

.hero-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
  margin-top: 24px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 0.92rem;
  font-weight: 750;
}

.hero-facts span {
  position: relative;
  padding-left: 14px;
}

.hero-facts span::before {
  position: absolute;
  top: 0.58em;
  left: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--amber);
  content: "";
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-weight: 800;
  line-height: 1;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease, color 160ms ease;
}

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

.button-primary {
  background: var(--clay);
  color: var(--white);
}

.button-primary:hover {
  background: #c65d27;
}

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

.button-secondary:hover {
  border-color: rgba(255, 255, 255, 0.76);
  background: rgba(255, 255, 255, 0.18);
}

.section {
  width: min(100% - 40px, var(--max-width));
  margin: 0 auto;
  padding: 84px 0;
}

.section-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1fr);
  gap: 56px;
  align-items: start;
}

.section h2,
.trust-band h2,
.client-band h2,
.contact h2 {
  margin-top: 12px;
  font-size: 2.42rem;
  line-height: 1.08;
}

.section-lead,
.trust-copy p,
.contact p {
  color: var(--ink-soft);
  font-size: 1.08rem;
  line-height: 1.7;
}

.answer-grid,
.trust-points,
.work-grid,
.client-grid {
  display: grid;
  gap: 14px;
  margin-top: 44px;
}

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

.answer-grid article,
.work-grid article {
  min-height: 190px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.48);
}

.answer-grid span,
.work-grid span {
  color: var(--steel);
  font-size: 0.78rem;
  font-weight: 850;
  text-transform: uppercase;
}

.answer-grid h3,
.work-grid h3,
.trust-points h3,
.client-grid h3 {
  margin-top: 16px;
  font-size: 1.15rem;
  line-height: 1.25;
}

.answer-grid p,
.work-grid p,
.trust-points p,
.client-grid p,
.timeline p,
.site-footer {
  color: var(--ink-soft);
  line-height: 1.62;
}

.answer-grid p,
.work-grid p,
.trust-points p,
.client-grid p {
  margin-top: 10px;
}

.trust-band,
.client-band {
  width: 100%;
  padding: 86px max(20px, calc((100vw - var(--max-width)) / 2));
  background: var(--graphite);
  color: var(--white);
}

.trust-inner {
  display: grid;
  grid-template-columns: minmax(220px, 0.34fr) minmax(0, 1fr);
  gap: 42px;
  align-items: stretch;
}

.experience-card {
  display: grid;
  align-content: center;
  min-height: 260px;
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 8px;
  background: linear-gradient(145deg, rgba(216, 111, 52, 0.95), rgba(47, 111, 115, 0.88));
}

.experience-card strong {
  font-size: 7rem;
  line-height: 0.86;
}

.experience-card span {
  max-width: 180px;
  margin-top: 16px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.15rem;
  font-weight: 800;
  line-height: 1.2;
}

.trust-copy {
  align-self: center;
}

.trust-copy .section-kicker,
.client-band .section-kicker,
.contact .section-kicker {
  color: var(--amber);
}

.trust-copy p {
  max-width: 720px;
  margin-top: 18px;
  color: rgba(255, 255, 255, 0.74);
}

.trust-points {
  grid-template-columns: repeat(3, 1fr);
}

.trust-points article,
.client-grid article {
  min-height: 180px;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.055);
}

.trust-points p,
.client-grid p {
  color: rgba(255, 255, 255, 0.72);
}

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

.process {
  padding-bottom: 64px;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin: 48px 0 0;
  padding: 0;
  list-style: none;
  border-top: 2px solid var(--steel);
}

.timeline li {
  position: relative;
  min-height: 230px;
  padding: 34px 22px 0 0;
}

.timeline li::after {
  position: absolute;
  top: -2px;
  right: 22px;
  left: 0;
  height: 2px;
  background: var(--clay);
  content: "";
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 220ms ease;
}

.timeline li:hover::after {
  transform: scaleX(1);
}

.timeline span {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-top: -56px;
  border: 2px solid var(--paper);
  border-radius: 50%;
  background: var(--steel);
  color: var(--white);
  font-weight: 850;
}

.timeline h3 {
  margin-top: 26px;
  font-size: 1.12rem;
}

.timeline p {
  margin-top: 10px;
}

.works {
  padding-top: 54px;
}

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

.work-grid article {
  background: var(--white);
  box-shadow: 0 1px 0 rgba(24, 26, 27, 0.08);
}

.client-band {
  background: var(--steel-dark);
}

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

.client-grid h3 {
  margin-top: 0;
  font-size: 1.2rem;
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 0.35fr);
  gap: 28px;
  align-items: end;
  width: min(100% - 40px, var(--max-width));
  margin: 24px auto;
  padding: 42px;
  border-radius: 8px;
  background: var(--graphite);
  color: var(--white);
  box-shadow: var(--shadow);
}

.contact-content {
  max-width: 760px;
}

.contact p {
  margin-top: 16px;
  color: rgba(255, 255, 255, 0.78);
}

.budget-list {
  display: grid;
  gap: 8px;
  align-self: center;
}

.budget-list span {
  padding: 10px 0 10px 16px;
  border-left: 3px solid var(--amber);
  color: rgba(255, 255, 255, 0.86);
  font-weight: 750;
}

.contact-actions {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  width: min(100% - 40px, var(--max-width));
  margin: 0 auto;
  padding: 28px 0 36px;
  font-size: 0.92rem;
}

:focus-visible {
  outline: 3px solid var(--amber);
  outline-offset: 3px;
}

@media (max-width: 1080px) {
  .site-nav a {
    padding: 0 8px;
    font-size: 0.84rem;
  }

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

@media (max-width: 980px) {
  .answer-grid,
  .trust-points,
  .client-grid,
  .timeline {
    grid-template-columns: repeat(2, 1fr);
  }

  .timeline {
    row-gap: 40px;
  }

  .section-grid,
  .trust-inner,
  .contact {
    grid-template-columns: 1fr;
  }

  .experience-card {
    min-height: 210px;
  }
}

@media (max-width: 820px) {
  .site-header {
    width: min(100% - 24px, var(--max-width));
    min-height: 66px;
    margin-top: 12px;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    display: grid;
    gap: 4px;
    padding: 8px;
    border-radius: 8px;
    background: rgba(24, 26, 27, 0.96);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity 160ms ease, transform 160ms ease;
  }

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

  .site-nav a {
    justify-content: center;
    min-height: 48px;
    font-size: 0.94rem;
  }

  .hero {
    min-height: 76vh;
    padding: 122px 0 56px;
    background-image:
      linear-gradient(90deg, rgba(10, 12, 13, 0.91) 0%, rgba(10, 12, 13, 0.76) 62%, rgba(10, 12, 13, 0.34) 100%),
      url("assets/mixxo-hero-renovacion.png");
  }

  .hero-inner,
  .section,
  .contact,
  .site-footer {
    width: min(100% - 28px, var(--max-width));
  }

  .hero h1 {
    font-size: 3.25rem;
  }

  .hero-copy {
    font-size: 1.08rem;
  }

  .section {
    padding: 64px 0;
  }

  .section h2,
  .trust-band h2,
  .client-band h2,
  .contact h2 {
    font-size: 1.9rem;
  }

  .section-grid {
    gap: 22px;
  }

  .answer-grid,
  .trust-points,
  .work-grid,
  .client-grid,
  .timeline {
    grid-template-columns: 1fr;
  }

  .trust-band,
  .client-band {
    padding: 64px 14px;
  }

  .experience-card strong {
    font-size: 5.2rem;
  }

  .timeline {
    border-top: 0;
    border-left: 2px solid var(--steel);
    row-gap: 0;
    margin-left: 20px;
  }

  .timeline li {
    min-height: 0;
    padding: 0 0 34px 34px;
  }

  .timeline li::after {
    display: none;
  }

  .timeline span {
    position: absolute;
    top: 0;
    left: -22px;
    margin-top: 0;
  }

  .timeline h3 {
    margin-top: 0;
  }

  .contact {
    padding: 28px;
  }

  .site-footer {
    display: grid;
  }
}

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

  .hero h1 {
    font-size: 2.62rem;
  }

  .hero-actions,
  .contact-actions {
    display: grid;
  }

  .button {
    width: 100%;
  }
}
