:root {
  --red: #e50914;
  --red-dark: #8b060d;
  --black: #020202;
  --paper: #f7f7f5;
  --ink: #080808;
  --soft-ink: #3c3c3c;
  --panel: #0a0a0a;
  --panel-soft: #111;
  --white: #fff;
  --muted: #b8b8b8;
  --line: rgba(255, 255, 255, 0.12);
  --serif: "Libre Bodoni", Georgia, serif;
  --sans: "Montserrat", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--black);
  color: var(--white);
  font-family: var(--sans);
  line-height: 1.5;
}

body.is-locked {
  overflow: hidden;
}

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

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

.about-header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: 210px 1fr 154px;
  align-items: center;
  width: 100%;
  padding: 20px 45px 12px;
  background: transparent;
  transition: background 0.25s ease, padding 0.25s ease;
}

.about-header.is-scrolled {
  padding-top: 12px;
  padding-bottom: 10px;
  background: rgba(0, 0, 0, 0.88);
  backdrop-filter: blur(14px);
}

.about-brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: max-content;
}

.about-brand img {
  display: block;
  width: 138px;
  height: 64px;
  object-fit: contain;
}

.about-nav {
  display: flex;
  justify-content: center;
  gap: 43px;
  color: var(--white);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.about-nav a {
  position: relative;
  opacity: 0.95;
}

.about-nav a::after {
  position: absolute;
  left: 0;
  bottom: -12px;
  width: 0;
  height: 2px;
  background: var(--red);
  content: "";
  transition: width 0.2s ease;
}

.about-nav a:hover::after,
.about-nav a.is-active::after {
  width: 100%;
}

.about-menu {
  justify-self: end;
  display: grid;
  gap: 5px;
  width: 34px;
  border: 0;
  padding: 6px;
  background: transparent;
  cursor: pointer;
}

.about-menu span {
  display: block;
  height: 2px;
  background: var(--white);
}

.about-hero {
  position: relative;
  display: grid;
  place-items: center;
  min-height: clamp(320px, 32vw, 430px);
  overflow: hidden;
  text-align: center;
}

.about-hero-bg,
.final-bg {
  position: absolute;
  inset: 0;
  background-image: url("../img/contacto.jpeg");
  background-size: cover;
  background-position: center;
  transform: scale(1.05);
}

.about-shade {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 45%, rgba(229, 9, 20, 0.16), transparent 35%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.88)),
    rgba(0, 0, 0, 0.28);
}

.about-hero-copy {
  position: relative;
  z-index: 2;
  width: min(920px, calc(100% - 40px));
  padding-top: 34px;
}

.about-hero h1 {
  margin: 0 0 8px;
  font-family: var(--serif);
  font-size: clamp(38px, 4.4vw, 60px);
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1;
  text-transform: uppercase;
}

.about-hero p {
  margin: 0 auto 18px;
  max-width: 720px;
  color: #f0f0f0;
  font-size: clamp(13px, 1.2vw, 16px);
  font-weight: 600;
}

.about-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  min-height: 34px;
  padding: 0 20px;
  border: 1px solid var(--red);
  background: rgba(229, 9, 20, 0.08);
  color: var(--white);
  font-size: 9px;
  font-weight: 900;
  text-transform: uppercase;
  transition: transform 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}

.about-btn:hover {
  transform: translateY(-2px);
  background: var(--red);
  box-shadow: 0 18px 42px rgba(229, 9, 20, 0.25);
}

.about-btn-ghost {
  margin-top: 18px;
  background: transparent;
}

.scroll-cue {
  position: absolute;
  bottom: 16px;
  left: 50%;
  z-index: 2;
  width: 15px;
  height: 28px;
  transform: translateX(-50%);
  border: 1px solid rgba(255, 255, 255, 0.75);
  border-radius: 20px;
}

.scroll-cue span {
  position: absolute;
  top: 7px;
  left: 50%;
  width: 4px;
  height: 7px;
  transform: translateX(-50%);
  border-radius: 999px;
  background: var(--white);
  animation: scroll-dot 1.5s ease-in-out infinite;
}

.about-band {
  position: relative;
  scroll-margin-top: 86px;
  padding: 24px clamp(28px, 7vw, 82px);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  background:
    radial-gradient(circle at 20% 10%, rgba(229, 9, 20, 0.08), transparent 28%),
    linear-gradient(90deg, #040404, #0a0a0a 48%, #050505);
}

.essence,
.clients-strip,
.process,
.commitment,
.team {
  border-top-color: rgba(0, 0, 0, 0.08);
  background:
    radial-gradient(circle at 12% 0%, rgba(229, 9, 20, 0.08), transparent 25%),
    linear-gradient(135deg, #fff, var(--paper) 48%, #efefed);
  color: var(--ink);
}

.essence::after,
.clients-strip::after,
.process::after,
.commitment::after,
.team::after {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(229, 9, 20, 0.08), transparent 20%, transparent 82%, rgba(0, 0, 0, 0.04));
  content: "";
}

.essence > *,
.clients-strip > *,
.process > *,
.commitment > *,
.team > * {
  position: relative;
  z-index: 1;
}

.essence,
.culture,
.commitment,
.manifesto {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.25fr);
  align-items: center;
  gap: 34px;
}

.section-copy {
  max-width: 620px;
}

.eyebrow {
  display: block;
  margin-bottom: 8px;
  color: var(--red);
  font-size: 9px;
  font-weight: 900;
  text-transform: uppercase;
}

.section-copy h2,
.history h2,
.process h2,
.difference h2,
.team h2,
.manifesto h2,
.final-cta h2 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1.1;
}

.section-copy h2,
.difference h2,
.manifesto h2 {
  font-size: clamp(23px, 2.35vw, 31px);
}

.section-copy strong,
.difference strong,
.manifesto strong,
.final-cta strong {
  color: var(--red);
  font-weight: inherit;
}

.section-copy p {
  margin: 10px 0 0;
  color: #d3d3d3;
  font-size: 10px;
  line-height: 1.55;
}

.essence .section-copy p,
.commitment .section-copy p {
  color: var(--soft-ink);
}

.essence .about-btn,
.commitment .about-btn {
  color: var(--ink);
}

.essence .about-btn:hover,
.commitment .about-btn:hover {
  color: var(--white);
}

.company-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 14px;
}

.company-facts article {
  padding: 12px 14px;
  border: 1px solid rgba(229, 9, 20, 0.42);
  background: #fff;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.07), inset 0 0 18px rgba(229, 9, 20, 0.06);
}

.company-facts span {
  display: block;
  margin-bottom: 4px;
  color: var(--red);
  font-size: 8px;
  font-weight: 900;
  text-transform: uppercase;
}

.company-facts strong {
  color: var(--ink);
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 900;
  line-height: 1.25;
  text-transform: uppercase;
}

.essence-photo,
.commitment figure,
.manifesto figure {
  overflow: hidden;
  margin: 0;
  height: 230px;
  min-height: 0;
  background: #111;
  box-shadow: 0 20px 44px rgba(0, 0, 0, 0.18);
}

.essence-photo img,
.commitment img,
.manifesto img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}

.essence-photo:hover img,
.commitment figure:hover img,
.manifesto figure:hover img,
.culture-grid img:hover {
  transform: scale(1.06);
}

.history,
.process,
.team {
  text-align: center;
}

.clients-strip {
  display: grid;
  grid-template-columns: 0.72fr 1.6fr;
  align-items: center;
  gap: 28px;
  padding-block: 24px;
}

.clients-heading h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(22px, 2.1vw, 30px);
  font-weight: 500;
  line-height: 1.12;
}

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

.client-groups article {
  min-height: 96px;
  padding: 16px 14px;
  border: 1px solid rgba(229, 9, 20, 0.38);
  background: #fff;
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.07);
}

.client-groups h3 {
  margin: 0 0 8px;
  color: var(--ink);
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
}

.client-groups p {
  margin: 0;
  color: var(--soft-ink);
  font-size: 9px;
  font-weight: 700;
  line-height: 1.45;
}

.history h2,
.process h2,
.team h2 {
  margin-bottom: 24px;
  font-size: clamp(22px, 2.2vw, 30px);
}

.timeline,
.process-line {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
}

.history {
  --timeline-progress: 1;
}

.timeline::before,
.process-line::before {
  position: absolute;
  top: 29px;
  left: 7%;
  right: 7%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--red), transparent);
  content: "";
}

.timeline::before {
  transform: scaleX(var(--timeline-progress));
  transform-origin: left center;
}

.timeline article,
.process-line article {
  position: relative;
  z-index: 1;
}

.timeline-icon,
.process-line article > div {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  margin: 0 auto 12px;
  border: 1px solid var(--red);
  border-radius: 50%;
  background: #050505;
  color: var(--white);
  font-size: 18px;
  box-shadow: 0 0 28px rgba(229, 9, 20, 0.18);
}

.timeline strong {
  display: block;
  color: var(--red);
  font-size: 12px;
  font-weight: 900;
}

.timeline h3,
.process-line h3,
.difference-cards h3,
.team-row h3 {
  margin: 4px 0;
  font-size: 9px;
  font-weight: 900;
  text-transform: uppercase;
}

.timeline p,
.process-line p,
.difference-cards p,
.team-row p {
  margin: 0 auto;
  max-width: 145px;
  color: #cfcfcf;
  font-size: 8px;
}

.process-line p,
.team-row p {
  color: #555;
}

.culture-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  overflow: hidden;
}

.culture-grid img {
  width: 100%;
  height: 116px;
  object-fit: cover;
  filter: grayscale(0.8) contrast(1.08);
  transition: transform 0.6s ease, filter 0.3s ease;
}

.culture-grid img:nth-child(2),
.culture-grid img:nth-child(3) {
  filter: saturate(1.1) contrast(1.15);
}

.culture-list {
  display: grid;
  gap: 7px;
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
}

.culture-list li {
  display: flex;
  align-items: center;
  gap: 9px;
  color: #ededed;
  font-size: 10px;
}

.culture-list i {
  width: 18px;
  color: var(--red);
}

.process-line article > div {
  border-color: rgba(229, 9, 20, 0.72);
  background: #fff;
  color: var(--ink);
  box-shadow: 0 12px 28px rgba(229, 9, 20, 0.13);
}

.difference {
  display: grid;
  grid-template-columns: minmax(260px, 0.72fr) minmax(0, 2.8fr);
  align-items: center;
  gap: 28px;
}

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

.difference-cards article {
  display: grid;
  align-content: center;
  justify-items: center;
  min-height: 108px;
  padding: 16px 12px;
  border: 1px solid rgba(229, 9, 20, 0.45);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.01));
  text-align: center;
  box-shadow: inset 0 0 28px rgba(229, 9, 20, 0.1);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.difference-cards article:hover {
  transform: translateY(-8px);
  border-color: var(--red);
  box-shadow: 0 22px 44px rgba(229, 9, 20, 0.22), inset 0 0 34px rgba(229, 9, 20, 0.18);
}

.difference-cards i {
  margin-bottom: 10px;
  color: #fff;
  font-size: 22px;
}

.commitment {
  grid-template-columns: 1.25fr 0.95fr;
}

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

.team-row article {
  min-height: 190px;
  padding: 24px 22px 20px;
  border: 1px solid rgba(229, 9, 20, 0.16);
  background: #fff;
  color: var(--ink);
  text-align: left;
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.08);
}

.testimonial-quote {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  margin-bottom: 14px;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  font-size: 13px;
}

.team-row .testimonial-copy {
  max-width: none;
  margin: 0;
  color: #333;
  font-size: 12px;
  line-height: 1.65;
}

.team-row h3 {
  margin: 18px 0 4px;
  color: #080808;
  font-size: 11px;
  letter-spacing: 0;
}

.team-row small {
  display: block;
  color: #777;
  font-size: 10px;
  line-height: 1.4;
}

.team-dots {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 12px;
}

.team-dots span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #777;
}

.team-dots span:first-child {
  background: var(--red);
}

.manifesto {
  grid-template-columns: 0.95fr 1.05fr;
  padding-block: 0;
}

.manifesto > div {
  padding-block: 30px;
}

.manifesto figure {
  height: 230px;
}

.final-cta {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 230px;
  padding: 34px 18px;
  overflow: hidden;
  text-align: center;
}

.final-cta::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(120, 0, 8, 0.72), rgba(0, 0, 0, 0.58), rgba(120, 0, 8, 0.78));
  content: "";
}

.final-cta > div:not(.final-bg) {
  position: relative;
  z-index: 1;
  width: min(760px, calc(100% - 36px));
}

.final-cta h2 {
  margin-bottom: 22px;
  font-size: clamp(28px, 3.1vw, 44px);
}

.final-cta .about-btn {
  min-width: 260px;
  min-height: 46px;
  padding-inline: 28px;
  font-size: 11px;
}

.about-footer {
  display: grid;
  grid-template-columns: 160px 1fr 160px;
  align-items: center;
  gap: 24px;
  padding: 12px 48px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: #050505;
}

.about-footer nav,
.footer-social {
  display: flex;
  justify-content: center;
  gap: 34px;
  font-size: 9px;
  font-weight: 800;
  text-transform: uppercase;
}

.about-footer .is-active {
  color: var(--red);
}

.footer-social {
  justify-content: flex-end;
  gap: 16px;
  font-size: 14px;
}

.footer-legal {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  min-height: 48px;
  padding: 0 58px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  background: #030303;
  color: #9d9d9d;
  font-size: 12px;
}

.footer-legal nav {
  display: flex;
  align-items: center;
  gap: 52px;
  padding-right: 82px;
}

.footer-legal a {
  color: inherit;
  white-space: nowrap;
  transition: color 0.2s ease;
}

.footer-legal a:hover {
  color: var(--white);
}

.whatsapp-about {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 60;
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--red);
  color: var(--white);
  font-size: 30px;
  box-shadow: 0 18px 38px rgba(229, 9, 20, 0.34);
}

@keyframes scroll-dot {
  0%, 100% {
    transform: translate(-50%, 0);
    opacity: 1;
  }

  60% {
    transform: translate(-50%, 12px);
    opacity: 0.35;
  }
}

@media (max-width: 900px) {
  .about-nav,
  .about-footer nav {
    gap: 24px;
  }

  .difference,
  .essence,
  .clients-strip,
  .culture,
  .commitment,
  .manifesto {
    grid-template-columns: 1fr;
  }

  .client-groups,
  .difference-cards {
    grid-template-columns: repeat(2, 1fr);
  }

  .team-row,
  .timeline,
  .process-line {
    grid-template-columns: repeat(2, 1fr);
  }

  .timeline::before,
  .process-line::before {
    display: none;
  }
}

@media (max-width: 820px) {
  .about-header {
    grid-template-columns: 1fr auto;
    padding: 14px 22px;
  }

  .about-brand img {
    width: 108px;
  }

  .about-menu {
    display: grid;
  }

  .about-nav {
    position: fixed;
    top: 82px;
    left: 18px;
    right: 18px;
    display: none;
    flex-direction: column;
    gap: 0;
    padding: 18px;
    border: 1px solid var(--line);
    background: rgba(0, 0, 0, 0.96);
  }

  .about-nav.is-open {
    display: flex;
  }

  .about-nav a {
    padding: 15px 0;
  }

  .about-nav a::after {
    display: none;
  }

  .about-band {
    padding: 38px 22px;
  }

  .about-hero {
    min-height: 520px;
  }

  .team {
    overflow: hidden;
  }

  .team-row {
    display: flex;
    grid-template-columns: none;
    gap: 16px;
    margin-inline: -22px;
    padding: 4px 22px 18px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: 22px;
    -webkit-overflow-scrolling: touch;
  }

  .team-row::-webkit-scrollbar {
    height: 5px;
  }

  .team-row::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.08);
  }

  .team-row::-webkit-scrollbar-thumb {
    border-radius: 999px;
    background: var(--red);
  }

  .team-row article {
    flex: 0 0 min(82vw, 330px);
    min-height: 190px;
    scroll-snap-align: start;
  }

  .team-dots {
    display: none;
  }

  .culture-grid,
  .client-groups,
  .difference-cards,
  .timeline,
  .process-line {
    grid-template-columns: repeat(2, 1fr);
  }

  .essence-photo,
  .commitment figure,
  .manifesto figure {
    height: 240px;
  }

  .about-footer {
    grid-template-columns: 1fr;
    justify-items: center;
    padding: 30px 22px 92px;
    text-align: center;
  }

  .about-footer nav {
    flex-wrap: wrap;
    gap: 18px 28px;
  }

  .footer-social {
    justify-content: center;
  }

  .footer-legal {
    flex-direction: column;
    align-items: center;
    gap: 16px;
    padding: 18px 22px 94px;
    text-align: center;
  }

  .footer-legal nav {
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px 24px;
    padding-right: 0;
  }
}

@media (min-width: 821px) {
  .about-menu {
    display: none;
  }
}

.legal-modal {
  position: fixed;
  inset: 0;
  z-index: 140;
  display: grid;
  place-items: center;
  padding: 28px;
  background: rgba(0, 0, 0, 0.78);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  backdrop-filter: blur(10px);
  transition: opacity 0.32s ease, visibility 0.32s ease;
}

.legal-modal.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.legal-modal-card {
  position: relative;
  width: min(780px, 100%);
  max-height: 86svh;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: #f7f7f5;
  color: #090909;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.46);
  transform: translateY(18px) scale(0.97);
  transition: transform 0.38s cubic-bezier(0.16, 1, 0.3, 1);
}

.legal-modal.is-open .legal-modal-card {
  transform: translateY(0) scale(1);
}

.legal-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(0, 0, 0, 0.18);
  background: #050505;
  color: #ffffff;
  cursor: pointer;
  font-size: 28px;
  line-height: 1;
}

.legal-content {
  display: none;
  max-height: 86svh;
  overflow-y: auto;
  padding: 48px 54px 52px;
}

.legal-content.is-active {
  display: block;
}

.legal-content > span {
  display: block;
  margin-bottom: 12px;
  color: var(--red);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.legal-content h2 {
  margin: 0 48px 24px 0;
  font-size: 34px;
  line-height: 1;
  text-transform: uppercase;
}

.legal-content h3 {
  margin: 26px 0 10px;
  color: #050505;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.legal-content p,
.legal-content li {
  color: #222;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.75;
}

@media (max-width: 520px) {
  .about-hero h1 {
    font-size: 44px;
  }

  .about-hero p {
    font-size: 15px;
  }

  .about-btn {
    width: 100%;
    padding-inline: 18px;
  }

  .company-facts,
  .client-groups {
    grid-template-columns: 1fr;
  }

  .section-copy h2,
  .difference h2,
  .manifesto h2 {
    font-size: 32px;
  }

  .footer-legal nav {
    flex-direction: column;
    gap: 10px;
  }
}
