:root {
  --color-bg: #fcfaf6;
  --color-surface: #ffffff;
  --color-surface-strong: #f5efe6;
  --color-paper: #fffaf4;
  --color-paper-alt: #f2ebe1;
  --color-text: #171513;
  --color-text-dark: #171513;
  --color-muted: #7a756d;
  --color-muted-dark: #5f5a53;
  --color-accent: #ff7403;
  --color-accent-soft: #ff9b4a;
  --color-graphite: #575756;
  --color-line: rgba(23, 21, 19, 0.08);
  --color-line-strong: rgba(23, 21, 19, 0.12);
  --color-line-dark: rgba(19, 19, 19, 0.1);
  --shadow-soft: 0 24px 70px rgba(92, 67, 35, 0.12);
  --shadow-panel: 0 28px 70px rgba(78, 55, 27, 0.16);
  --radius-lg: 32px;
  --radius-md: 24px;
  --radius-sm: 18px;
  --container: min(1180px, calc(100% - 40px));
  --nav-offset: 92px;
  --header-height: var(--nav-offset);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  font-family: "Manrope", sans-serif;
  color: var(--color-text);
  background:
    radial-gradient(circle at 8% 0%, rgba(255, 116, 3, 0.12), transparent 24%),
    radial-gradient(circle at 78% 10%, rgba(255, 255, 255, 0.8), transparent 24%),
    radial-gradient(circle at 92% 86%, rgba(255, 116, 3, 0.08), transparent 22%),
    linear-gradient(180deg, #fffdf9 0%, #f6f0e8 42%, #fcfaf6 100%);
  line-height: 1.55;
}

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

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

button,
input,
textarea {
  font: inherit;
}

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

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  padding-top: 0;
  background: #fffaf4;
  border-bottom: 1px solid rgba(23, 21, 19, 0.08);
  box-shadow: 0 10px 28px rgba(91, 65, 31, 0.06);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  min-height: 110px;
  padding: 16px 0;
}

.header-inner::before {
  content: none;
}

.header-inner > * {
  position: static;
  z-index: auto;
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: 0;
}

.site-header .brand {
  flex: 0 0 auto;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: none;
  box-shadow: none;
}

.logo-img {
  display: block;
  width: auto;
  height: 42px;
  max-width: 100%;
  object-fit: contain;
}

.site-header .logo-img {
  height: 90px;
  max-width: min(420px, 38vw);
  filter: none;
}

.logo-footer {
  height: 70px;
  max-width: min(320px, 60vw);
}

@media (max-width: 768px) {
  .site-header .logo-img {
    height: 64px;
    max-width: 60vw;
  }

  .logo-footer {
    height: 52px;
    max-width: 70vw;
  }
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 24px;
  flex-wrap: wrap;
  margin-left: auto;
}

.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid var(--color-line-strong);
  border-radius: 4px;
  background: none;
  color: var(--color-text);
  box-shadow: none;
  cursor: pointer;
  transition:
    border-color 180ms ease,
    background-color 180ms ease,
    transform 180ms ease;
}

.menu-toggle:hover,
.menu-toggle:focus-visible {
  border-color: rgba(255, 116, 3, 0.28);
  background: rgba(255, 116, 3, 0.04);
  transform: none;
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  border-radius: 0;
  background: currentColor;
  transition:
    transform 180ms ease,
    opacity 180ms ease;
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.main-nav a {
  position: relative;
  padding: 8px 0;
  color: var(--color-graphite);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition:
    color 180ms ease,
    transform 180ms ease;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: var(--color-accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.main-nav a:hover,
.main-nav a:focus-visible {
  color: var(--color-text);
  transform: none;
}

.main-nav a:hover::after,
.main-nav a:focus-visible::after {
  transform: scaleX(1);
}

.hero {
  position: relative;
  min-height: 100svh;
  padding: 92px 0 0;
  overflow: clip;
  background:
    radial-gradient(circle at 12% 4%, rgba(255, 116, 3, 0.12), transparent 22%),
    radial-gradient(circle at 86% 12%, rgba(255, 255, 255, 0.72), transparent 24%),
    linear-gradient(180deg, #fffdf9 0%, #f5eee5 100%);
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  inset: auto;
  pointer-events: none;
}

.hero::before {
  top: 86px;
  left: 0;
  width: clamp(160px, 18vw, 260px);
  height: 1px;
  background: linear-gradient(90deg, rgba(255, 116, 3, 0.62), rgba(255, 116, 3, 0));
  opacity: 0.72;
}

.hero::after {
  content: none;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 8px 14px;
  border: 1px solid rgba(255, 116, 3, 0.12);
  border-radius: 999px;
  background: rgba(255, 116, 3, 0.08);
  color: var(--color-accent);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.eyebrow--dark {
  border-color: rgba(23, 21, 19, 0.08);
  background: rgba(255, 255, 255, 0.86);
  color: var(--color-accent);
}

.section-heading h2,
.contact-section__header h2 {
  margin: 0;
  font-family: "Sora", sans-serif;
  font-size: clamp(2.6rem, 5vw, 5.4rem);
  line-height: 0.96;
  letter-spacing: -0.045em;
  color: var(--color-text);
}

.section-heading p,
.contact-section__header p {
  margin: 0;
  max-width: 58ch;
  color: var(--color-muted-dark);
  font-size: clamp(1rem, 1.5vw, 1.1rem);
}

.hero-stage {
  position: relative;
  width: 100%;
  min-height: calc(100svh - 92px);
  margin: 0;
}

.hero-scene {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border: 0;
  border-radius: 0;
  background: #dbd2c7;
  opacity: 0;
  transform: translate3d(0, 16px, 0);
  transition:
    opacity 560ms ease-in-out,
    transform 560ms ease-in-out;
}

.hero-scene.is-current {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.hero-scene.is-entering {
  opacity: 0;
  transform: translate3d(0, 20px, 0);
}

.hero-scene.is-entering.is-current {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.hero-scene.is-leaving {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: translate3d(0, -12px, 0);
  pointer-events: none;
}

.hero-scene__media,
.hero-scene__veil,
.hero-scene__glow,
.hero-scene__grid {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-scene__media {
  overflow: hidden;
}

.hero-scene__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
}

.hero-scene__veil {
  background:
    linear-gradient(90deg, rgba(17, 15, 14, 0.76) 0%, rgba(17, 15, 14, 0.62) 26%, rgba(17, 15, 14, 0.28) 58%, rgba(17, 15, 14, 0.18) 100%),
    linear-gradient(180deg, rgba(15, 14, 12, 0.08) 0%, rgba(15, 14, 12, 0.18) 46%, rgba(15, 14, 12, 0.58) 100%);
}

.hero-scene__glow {
  background:
    radial-gradient(circle at 22% 18%, rgba(255, 116, 3, 0.18), transparent 24%),
    linear-gradient(135deg, rgba(255, 116, 3, 0.08) 0%, transparent 40%);
  opacity: 0.52;
}

.hero-scene__grid {
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.09) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.09) 1px, transparent 1px);
  background-size: 140px 140px;
  opacity: 0.06;
}

.hero-scene__inner {
  position: relative;
  z-index: 1;
  height: 100%;
}

.hero-scene__layout {
  display: grid;
  grid-template-rows: 1fr auto;
  gap: 26px;
  min-height: 100%;
  padding: clamp(34px, 4vw, 50px) 0 clamp(18px, 2.6vw, 30px);
}

.hero-scene__panel {
  align-self: end;
  display: grid;
  gap: 18px;
  max-width: min(760px, 100%);
  color: var(--color-paper);
}

.hero-scene__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  width: fit-content;
  color: rgba(255, 250, 244, 0.72);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero-scene__eyebrow::before {
  content: "";
  width: 54px;
  height: 2px;
  background: var(--color-accent);
}

.hero-scene__title {
  margin: 0;
  max-width: 11ch;
  font-family: "Sora", sans-serif;
  font-size: clamp(3.2rem, 5.6vw, 6.2rem);
  line-height: 0.9;
  letter-spacing: -0.07em;
  color: #fffaf4;
  text-wrap: balance;
  text-shadow: 0 8px 18px rgba(0, 0, 0, 0.14);
}

.hero-scene--institutional .hero-scene__panel {
  max-width: min(900px, 100%);
  gap: 16px;
}

.hero-scene--institutional .hero-scene__title {
  max-width: 13ch;
  font-size: clamp(3rem, 5.3vw, 5.8rem);
}

.hero-scene--institutional .hero-scene__description {
  max-width: 48ch;
  color: rgba(255, 250, 244, 0.72);
  font-size: clamp(0.96rem, 1.2vw, 1.04rem);
}

.hero-scene--institutional .hero-scene__veil {
  background:
    linear-gradient(90deg, rgba(16, 14, 13, 0.82) 0%, rgba(16, 14, 13, 0.7) 30%, rgba(16, 14, 13, 0.34) 62%, rgba(16, 14, 13, 0.22) 100%),
    linear-gradient(180deg, rgba(12, 11, 10, 0.1) 0%, rgba(12, 11, 10, 0.22) 42%, rgba(12, 11, 10, 0.56) 100%);
}

.hero-scene__description {
  margin: 0;
  max-width: 52ch;
  color: rgba(255, 250, 244, 0.8);
  font-size: clamp(1rem, 1.5vw, 1.14rem);
}

.hero-metrics {
  display: flex;
  gap: 20px 40px;
  margin-top: 8px;
  flex-wrap: wrap;
  opacity: 0;
  transform: translate3d(0, 10px, 0);
  filter: blur(4px);
  transition:
    opacity 760ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 760ms cubic-bezier(0.22, 1, 0.36, 1),
    filter 760ms cubic-bezier(0.22, 1, 0.36, 1);
}

.hero-metrics.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
  filter: blur(0);
}

.hero-metric {
  display: flex;
  flex: 1 1 180px;
  min-width: min(180px, 100%);
  flex-direction: column;
  gap: 8px;
  opacity: 0;
  transform: translate3d(0, 10px, 0);
  transition:
    opacity 680ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 680ms cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--metric-delay, 0ms);
}

.hero-metrics.is-visible .hero-metric {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.metric-number {
  display: inline-flex;
  align-items: baseline;
  min-height: 1em;
  font-family: "Sora", sans-serif;
  font-size: clamp(2.2rem, 3.2vw, 3.3rem);
  font-weight: 800;
  line-height: 0.92;
  letter-spacing: -0.06em;
  color: #fffaf4;
  font-variant-numeric: tabular-nums;
  text-shadow: 0 10px 22px rgba(0, 0, 0, 0.16);
}

.metric-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.68);
}

.hero-scene__actions {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.hero-scene__note {
  color: rgba(255, 250, 244, 0.64);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.hero-scene__footer {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: end;
  gap: 18px 24px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  color: rgba(255, 250, 244, 0.76);
}

.hero-scene__counter {
  display: grid;
  gap: 2px;
  min-width: 78px;
}

.hero-scene__counter strong {
  font-family: "Sora", sans-serif;
  font-size: clamp(1.7rem, 2.2vw, 2.3rem);
  line-height: 0.9;
  letter-spacing: -0.06em;
  color: #fffaf4;
}

.hero-scene__counter span {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero-scene__progress {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.hero-scene__jump {
  position: relative;
  width: 58px;
  height: 14px;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  transition:
    width 220ms ease,
    transform 220ms ease;
}

.hero-scene__jump::before {
  content: "";
  position: absolute;
  inset: 50% 0 auto;
  height: 2px;
  background: rgba(255, 255, 255, 0.26);
  transform: translateY(-50%);
  transition:
    background-color 220ms ease,
    transform 220ms ease,
    opacity 220ms ease;
}

.hero-scene__jump.is-active {
  width: 88px;
}

.hero-scene__jump.is-active::before {
  background: var(--color-accent);
}

.hero-scene__jump:hover,
.hero-scene__jump:focus-visible {
  transform: scaleX(1.04);
}

.hero-scene__nav {
  display: flex;
  align-items: center;
  gap: 10px;
}

.hero-scene__nav button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--color-paper);
  cursor: pointer;
  transition:
    border-color 220ms ease,
    background-color 220ms ease,
    color 220ms ease,
    transform 220ms ease;
}

.hero-scene__nav button:hover,
.hero-scene__nav button:focus-visible {
  border-color: rgba(255, 116, 3, 0.52);
  background: rgba(255, 116, 3, 0.12);
  color: #fffaf4;
  transform: translateY(-1px);
}

.hero-scene__nav button span {
  font-size: 1rem;
  line-height: 1;
}

.hero-scene__panel,
.hero-scene__footer {
  transition:
    opacity 560ms ease-in-out,
    transform 560ms ease-in-out;
}

.hero-scene.is-entering .hero-scene__panel,
.hero-scene.is-entering .hero-scene__footer {
  opacity: 0;
  transform: translate3d(0, 14px, 0);
}

.hero-scene.is-entering.is-current .hero-scene__panel,
.hero-scene.is-entering.is-current .hero-scene__footer {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.hero-scene.is-leaving .hero-scene__panel {
  opacity: 0;
  transform: translate3d(-10px, -6px, 0);
}

.hero-scene.is-leaving .hero-scene__footer {
  opacity: 0;
  transform: translate3d(10px, -6px, 0);
}

.project-tag,
.services-visual__kicker,
.contact-info__label {
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.project-tag {
  color: rgba(255, 255, 255, 0.94);
  width: fit-content;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
}

.services-visual__kicker {
  color: var(--color-accent-soft);
}

.contact-info__label {
  color: var(--color-accent);
}

.service-card h3,
.project-card h3 {
  margin: 0;
  font-family: "Sora", sans-serif;
  letter-spacing: -0.03em;
}

.service-card h3 {
  font-size: 1.35rem;
  line-height: 1.08;
  color: var(--color-text);
}

.project-card h3 {
  font-size: 1.5rem;
  line-height: 1.05;
  color: var(--color-paper);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-height: 52px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 700;
  transition:
    transform 180ms ease,
    background-color 180ms ease,
    border-color 180ms ease,
    color 180ms ease,
    box-shadow 180ms ease;
}

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

.button--solid {
  background: var(--color-accent);
  color: #120a05;
  box-shadow: 0 18px 36px rgba(255, 116, 3, 0.22);
}

.button--solid:hover,
.button--solid:focus-visible {
  background: #ff8a2a;
}

.button--ghost {
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.14);
  color: var(--color-paper);
}

.button--ghost:hover,
.button--ghost:focus-visible {
  border-color: rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.2);
}

.section {
  position: relative;
  padding: clamp(56px, 7vw, 84px) 0;
}

#empresa,
#servicios,
#proyectos,
#clientes,
#contacto {
  scroll-margin-top: var(--nav-offset);
}

#empresa .container,
#servicios .container,
#proyectos .container,
#clientes .container,
#contacto .container {
  width: min(1240px, calc(100% - 40px));
}

.section--light {
  background:
    radial-gradient(circle at 88% 10%, rgba(255, 116, 3, 0.12), transparent 24%),
    radial-gradient(circle at 14% 84%, rgba(87, 87, 86, 0.06), transparent 18%),
    linear-gradient(180deg, #fffdf9 0%, #f5eee4 72%, #f7f1e9 100%);
  color: var(--color-text-dark);
}

.section--paper {
  background:
    radial-gradient(circle at 15% 10%, rgba(255, 116, 3, 0.06), transparent 20%),
    linear-gradient(180deg, #fbf6ef 0%, #f0e7db 100%);
  color: var(--color-text-dark);
}

.section--company {
  --company-bg-shift-x: 32px;
  --company-bg-shift-y: 24px;
  --company-bg-scale-start: 1.04;
  --company-bg-scale-end: 1.07;
  --company-bg-duration: 18s;
  --company-grid-size: 132px;
  --company-grid-offset-x: 24px;
  --company-grid-offset-y: 26px;
  --company-grid-line-alpha: 0.06;
  --company-grid-column-alpha: 0.05;
  isolation: isolate;
  overflow: hidden;
  min-height: calc(100vh - var(--nav-offset));
  min-height: calc(100svh - var(--nav-offset));
  padding-block: 0;
  background-color: #e8dbca;
}

.section--company::before {
  content: "";
  position: absolute;
  inset: -5%;
  background-image: url("https://images.pexels.com/photos/7961889/pexels-photo-7961889.jpeg?auto=compress&cs=tinysrgb&w=1800&dpr=1");
  background-position: center 42%;
  background-size: cover;
  background-repeat: no-repeat;
  transform: translate3d(calc(var(--company-bg-shift-x) * -0.5), calc(var(--company-bg-shift-y) * -0.45), 0) scale(var(--company-bg-scale-start));
  transform-origin: 52% 46%;
  animation: companyBackgroundDrift var(--company-bg-duration) ease-in-out infinite alternate;
  will-change: transform;
  pointer-events: none;
}

.section--company::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(92deg, rgba(18, 17, 15, 0.84) 0%, rgba(18, 17, 15, 0.74) 24%, rgba(18, 17, 15, 0.46) 44%, rgba(18, 17, 15, 0.18) 58%, rgba(248, 241, 232, 0.18) 74%, rgba(248, 241, 232, 0.56) 100%),
    linear-gradient(180deg, rgba(18, 17, 15, 0.16) 0%, rgba(18, 17, 15, 0.04) 36%, rgba(18, 17, 15, 0.12) 100%),
    radial-gradient(circle at 16% 18%, rgba(255, 116, 3, 0.2), transparent 24%),
    radial-gradient(circle at 82% 20%, rgba(255, 255, 255, 0.18), transparent 18%),
    linear-gradient(rgba(255, 255, 255, var(--company-grid-line-alpha)) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, var(--company-grid-column-alpha)) 1px, transparent 1px);
  background-size:
    cover,
    cover,
    auto,
    auto,
    var(--company-grid-size) var(--company-grid-size),
    var(--company-grid-size) var(--company-grid-size);
  background-position:
    center,
    center,
    center,
    center,
    var(--company-grid-offset-x) var(--company-grid-offset-y),
    var(--company-grid-offset-x) var(--company-grid-offset-y);
  background-repeat:
    no-repeat,
    no-repeat,
    no-repeat,
    no-repeat,
    repeat,
    repeat;
  pointer-events: none;
}

.company-layout {
  position: relative;
  display: grid;
  grid-template-columns: minmax(300px, 0.72fr) minmax(620px, 1.28fr);
  align-items: start;
  gap: clamp(28px, 3.6vw, 54px);
  min-height: calc(100vh - var(--nav-offset));
  min-height: calc(100svh - var(--nav-offset));
  padding: clamp(24px, 3.5vh, 40px) 0;
  z-index: 1;
}

.company-layout::before {
  content: none;
}

.company-visual {
  position: relative;
  display: grid;
  align-content: start;
  gap: clamp(18px, 2.4vw, 28px);
  min-height: clamp(420px, calc(100svh - var(--nav-offset) - 80px), 620px);
  max-width: min(760px, 100%);
  padding: clamp(22px, 2.4vw, 32px) 0 0;
}

.company-visual::before {
  content: "";
  position: absolute;
  inset: auto -10% -10% -6%;
  height: 72%;
  background:
    linear-gradient(180deg, rgba(18, 17, 16, 0) 0%, rgba(18, 17, 16, 0.54) 42%, rgba(18, 17, 16, 0.84) 100%);
  filter: blur(14px);
  opacity: 0.92;
  pointer-events: none;
}

.company-visual::after {
  content: "";
  position: absolute;
  inset: auto auto 10% -10%;
  width: min(260px, 30vw);
  height: min(260px, 30vw);
  background: radial-gradient(circle, rgba(255, 116, 3, 0.22) 0%, rgba(255, 116, 3, 0) 72%);
  animation: companyGlowFloat 14s ease-in-out infinite alternate;
  opacity: 0.9;
  pointer-events: none;
}

.company-copy {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 14px;
  max-width: min(500px, 100%);
  margin-top: 0;
}

.company-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  padding: 8px 16px;
  border: 1px solid rgba(255, 116, 3, 0.3);
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255, 116, 3, 0.16) 0%, rgba(255, 116, 3, 0.08) 100%);
  color: rgba(255, 244, 230, 0.92);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.14),
    0 10px 24px rgba(0, 0, 0, 0.12);
  -webkit-backdrop-filter: blur(8px) saturate(1.08);
  backdrop-filter: blur(8px) saturate(1.08);
}

.company-kicker::before {
  content: none;
}

.company-copy h2 {
  margin: 0;
  max-width: 13ch;
  font-family: "Sora", sans-serif;
  font-size: clamp(2rem, 3.2vw, 3.45rem);
  line-height: 1.03;
  letter-spacing: -0.045em;
  color: #fffaf4;
  text-shadow: 0 14px 34px rgba(0, 0, 0, 0.24);
}

.company-highlight {
  position: relative;
  margin: 0;
  max-width: 42ch;
  margin-top: 8px;
  padding-left: 14px;
  border-left: 2px solid rgba(255, 116, 3, 0.78);
  color: rgba(255, 250, 244, 0.84);
  font-family: "Sora", sans-serif;
  font-size: clamp(0.92rem, 0.95vw, 0.98rem);
  line-height: 1.58;
  letter-spacing: -0.03em;
  text-shadow: 0 10px 22px rgba(0, 0, 0, 0.18);
}

.company-metrics {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px 18px;
  max-width: min(700px, 100%);
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.company-metric {
  display: grid;
  gap: 4px;
}

.company-metric strong {
  font-family: "Sora", sans-serif;
  font-size: clamp(1.24rem, 1.6vw, 1.62rem);
  font-weight: 800;
  line-height: 0.92;
  letter-spacing: -0.05em;
  color: #fffaf4;
}

.company-metric span {
  color: rgba(255, 250, 244, 0.7);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  line-height: 1.45;
}

.company-content {
  position: relative;
  isolation: isolate;
  display: grid;
  align-content: start;
  align-self: start;
  padding: clamp(18px, 2.2vw, 28px) clamp(20px, 2.6vw, 32px);
  border-top: 1px solid rgba(255, 255, 255, 0.24);
  border-bottom: 1px solid rgba(23, 21, 19, 0.1);
  background:
    linear-gradient(108deg, rgba(255, 251, 246, 0.56) 0%, rgba(255, 247, 239, 0.5) 48%, rgba(247, 239, 229, 0.42) 100%);
  -webkit-backdrop-filter: blur(24px) saturate(145%) brightness(1.06);
  backdrop-filter: blur(24px) saturate(145%) brightness(1.06);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2);
  overflow: hidden;
}

.company-content::before {
  content: none;
}

.company-panel {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  column-count: 2;
  column-gap: clamp(28px, 4vw, 52px);
  overflow: visible;
}

.company-panel::before,
.company-panel::after {
  content: none;
}

.company-panel p {
  position: relative;
  z-index: 1;
  break-inside: avoid;
  margin: 0 0 clamp(12px, 1.45vh, 18px);
  padding: 0 0 clamp(12px, 1.45vh, 18px);
  color: rgba(22, 20, 17, 0.96);
  font-size: clamp(0.92rem, 0.92vw, 1.02rem);
  letter-spacing: -0.01em;
  line-height: 1.58;
  border-bottom: 1px solid rgba(36, 30, 24, 0.12);
}

.company-panel p:last-of-type {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: 0;
}

.company-panel p:first-child {
  color: rgba(16, 14, 12, 0.99);
  font-size: clamp(0.96rem, 1vw, 1.08rem);
}

.company-panel p + p {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}

@media (max-width: 1024px) {
  .company-layout {
    grid-template-columns: minmax(280px, 0.72fr) minmax(590px, 1.28fr);
    gap: clamp(24px, 3vw, 32px);
    min-height: calc(100vh - var(--nav-offset));
    min-height: calc(100svh - var(--nav-offset));
    padding-block: clamp(20px, 3vh, 28px);
  }

  .company-visual {
    min-height: clamp(390px, calc(100svh - var(--nav-offset) - 64px), 560px);
  }

  .company-copy h2 {
    font-size: clamp(1.86rem, 3.2vw, 2.55rem);
  }

  .company-highlight {
    max-width: 38ch;
  }

  .company-content {
    padding: 18px 20px;
  }

  .company-panel {
    column-gap: 30px;
  }

  .company-panel p {
    font-size: 0.92rem;
    line-height: 1.56;
  }

  .company-panel p:first-child {
    font-size: 0.96rem;
  }
}

@media (min-width: 1440px) and (min-height: 860px) {
  .company-layout {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto;
    align-content: space-between;
    gap: clamp(18px, 2vh, 28px);
    padding-block: clamp(22px, 3vh, 36px);
  }

  .company-visual {
    min-height: clamp(260px, 31svh, 360px);
    max-width: min(920px, 100%);
    padding-top: clamp(16px, 2vh, 24px);
  }

  .company-copy {
    max-width: min(620px, 100%);
  }

  .company-copy h2 {
    max-width: 13ch;
    font-size: clamp(2rem, 2.7vw, 3rem);
  }

  .company-highlight {
    max-width: 46ch;
  }

  .company-metrics {
    max-width: min(760px, 100%);
    padding-top: 16px;
  }

  .company-content {
    align-self: end;
    padding: clamp(18px, 2vh, 26px) clamp(20px, 2.4vw, 30px);
  }

  .company-panel p {
    font-size: clamp(0.92rem, 0.82vw, 1rem);
    line-height: 1.54;
  }
}

@keyframes companyBackgroundDrift {
  from {
    transform: translate3d(calc(var(--company-bg-shift-x) * -0.5), calc(var(--company-bg-shift-y) * -0.45), 0) scale(var(--company-bg-scale-start));
  }

  to {
    transform: translate3d(var(--company-bg-shift-x), var(--company-bg-shift-y), 0) scale(var(--company-bg-scale-end));
  }
}

@keyframes companyAmbientFloat {
  from {
    transform: translate3d(0, 0, 0);
  }

  to {
    transform: translate3d(0, -18px, 0);
  }
}

@keyframes companyGlowFloat {
  from {
    transform: translate3d(0, 0, 0) scale(1);
  }

  to {
    transform: translate3d(20px, -14px, 0) scale(1.08);
  }
}

.section--dark {
  background:
    radial-gradient(circle at top right, rgba(255, 116, 3, 0.1), transparent 24%),
    radial-gradient(circle at 8% 72%, rgba(255, 255, 255, 0.38), transparent 20%),
    linear-gradient(180deg, #f3eadc 0%, #fbf6ef 100%);
  color: var(--color-text-dark);
}

.section-heading {
  display: grid;
  gap: 14px;
  max-width: 620px;
  margin-bottom: 30px;
}

.section-heading h2,
.contact-section__header h2 {
  font-size: clamp(2.15rem, 4vw, 4rem);
  line-height: 1;
}

.section-heading p,
.contact-section__header p,
.section-heading--dark p {
  color: var(--color-muted-dark);
}

#servicios .section-heading {
  gap: 8px;
  margin-bottom: 18px;
  max-width: 520px;
}

#servicios .section-heading h2 {
  font-size: clamp(1.95rem, 3.15vw, 3.15rem);
}

#servicios .section-heading p {
  max-width: 48ch;
  font-size: 0.98rem;
}

#servicios {
  overflow: hidden;
  padding-block: clamp(34px, 4vw, 48px);
  isolation: isolate;
}

#servicios::before {
  content: "";
  position: absolute;
  top: 38px;
  right: -12%;
  width: min(540px, 42vw);
  height: 72%;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.7), rgba(255, 243, 230, 0.18));
  transform: skewX(-18deg);
  opacity: 0.9;
  pointer-events: none;
}

#servicios::after {
  content: "";
  position: absolute;
  right: clamp(-110px, -7vw, -28px);
  top: clamp(140px, 19vh, 208px);
  width: min(920px, 72vw);
  height: clamp(250px, 40vh, 430px);
  border-radius: 52px 0 0 52px;
  background:
    linear-gradient(90deg, rgba(252, 247, 240, 0.98) 0%, rgba(252, 247, 240, 0.82) 18%, rgba(252, 247, 240, 0.34) 34%, rgba(252, 247, 240, 0.08) 54%, rgba(252, 247, 240, 0) 72%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.04) 0%, rgba(34, 31, 28, 0.18) 100%),
    url("https://images.pexels.com/photos/834892/pexels-photo-834892.jpeg?auto=compress&cs=tinysrgb&w=1600&dpr=1")
      center right/cover;
  box-shadow:
    0 34px 84px rgba(104, 79, 45, 0.09),
    inset 0 1px 0 rgba(255, 255, 255, 0.28);
  opacity: 0.36;
  pointer-events: none;
  z-index: 0;
}

#servicios > .container {
  position: relative;
  z-index: 1;
}

.services-top {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  align-items: start;
  gap: 22px;
  margin-bottom: 8px;
  min-height: clamp(304px, 36svh, 420px);
}

.services-visual {
  min-width: 0;
  display: flex;
  align-self: stretch;
}

.services-visual__panel {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  flex: 1;
  min-height: 272px;
  padding: 26px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.18);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.16) 0%, rgba(21, 22, 24, 0.64) 100%),
    url("https://images.pexels.com/photos/834892/pexels-photo-834892.jpeg?auto=compress&cs=tinysrgb&w=1400&dpr=1")
      center/cover;
  color: var(--color-paper);
  box-shadow:
    0 28px 68px rgba(100, 73, 38, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.14);
  overflow: hidden;
}

.services-visual__panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 18% 16%, rgba(255, 255, 255, 0.24), transparent 28%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.08) 0%, transparent 34%);
  pointer-events: none;
  opacity: 0.8;
}

.services-visual__kicker {
  position: relative;
  z-index: 1;
}

.services-visual__panel p {
  margin: auto 0 0;
  max-width: 28ch;
  font-size: 0.94rem;
  color: rgba(255, 255, 255, 0.88);
  position: relative;
  z-index: 1;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  align-items: stretch;
  margin-top: 0;
  position: relative;
  z-index: 1;
}

.services-grid::before {
  content: "";
  position: absolute;
  inset: 2% -2% -16% 26%;
  border-radius: 40px 0 0 40px;
  background:
    linear-gradient(90deg, rgba(248, 241, 232, 0.96) 0%, rgba(248, 241, 232, 0.62) 20%, rgba(248, 241, 232, 0.14) 38%, rgba(248, 241, 232, 0) 58%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.1) 0%, rgba(24, 23, 21, 0.16) 100%),
    url("https://images.pexels.com/photos/834892/pexels-photo-834892.jpeg?auto=compress&cs=tinysrgb&w=1600&dpr=1")
      center right/cover;
  box-shadow:
    0 26px 64px rgba(104, 79, 45, 0.07),
    inset 0 1px 0 rgba(255, 255, 255, 0.26);
  opacity: 0.34;
  pointer-events: none;
  z-index: -1;
}

.service-card {
  position: relative;
  display: grid;
  grid-template-rows: auto auto 1fr;
  gap: 14px;
  padding: 22px;
  border: 1px solid rgba(87, 87, 86, 0.12);
  border-radius: var(--radius-md);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(249, 244, 237, 0.92) 100%);
  box-shadow:
    0 18px 40px rgba(87, 87, 86, 0.08),
    0 1px 0 rgba(255, 255, 255, 0.6) inset;
  min-height: 192px;
  height: 100%;
  transition:
    transform 260ms ease,
    box-shadow 280ms ease,
    border-color 280ms ease;
}

.service-card:nth-child(2) {
  transform: none;
}

.service-card:nth-child(3) {
  transform: none;
}

.service-card p {
  margin: 0;
  font-size: 0.94rem;
  line-height: 1.5;
  color: var(--color-muted-dark);
}

.service-card:hover,
.service-card:focus-within {
  transform: translateY(-3px);
  border-color: rgba(255, 116, 3, 0.18);
  box-shadow:
    0 24px 48px rgba(87, 87, 86, 0.12),
    0 1px 0 rgba(255, 255, 255, 0.7) inset;
}

.service-icon {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 16px;
  background: rgba(255, 116, 3, 0.12);
}

.service-icon svg {
  width: 24px;
  height: 24px;
  stroke: var(--color-accent);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.section--projects .project-tag {
  padding: 6px 10px;
  border: 1px solid rgba(255, 168, 103, 0.32);
  background: rgba(255, 116, 3, 0.18);
  color: rgba(255, 245, 233, 0.96);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    0 10px 24px rgba(16, 14, 11, 0.16);
  backdrop-filter: blur(10px);
  font-size: 0.68rem;
  line-height: 1;
  letter-spacing: 0.14em;
}

.section--projects .container {
  min-height: 0;
}

.section--projects .project-card h3 {
  min-width: 0;
  overflow-wrap: anywhere;
}

.projects-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.96fr) repeat(3, minmax(0, 1fr));
  grid-template-areas:
    "intro hero hero hero"
    "intro hero hero hero"
    "medium-a medium-b small-a small-b";
  grid-template-rows: 180px 180px minmax(214px, auto);
  gap: 14px;
  align-content: start;
  align-items: stretch;
  padding-bottom: 0;
}

.projects-intro {
  grid-area: intro;
  position: relative;
  z-index: 1;
  display: grid;
  align-content: end;
  gap: 10px;
  margin: 0;
  max-width: none;
  min-width: 0;
  min-height: 0;
  padding: 24px 24px 22px;
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(255, 252, 248, 0.9) 0%, rgba(247, 239, 229, 0.76) 100%);
  backdrop-filter: blur(8px);
  box-shadow:
    0 18px 38px rgba(92, 67, 35, 0.09),
    inset 0 1px 0 rgba(255, 255, 255, 0.5);
  overflow: hidden;
}

.projects-intro::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.18) 0%, rgba(255, 255, 255, 0) 42%),
    linear-gradient(135deg, rgba(255, 116, 3, 0.08) 0%, rgba(255, 116, 3, 0.02) 24%, rgba(255, 116, 3, 0) 46%);
  pointer-events: none;
}

.projects-intro::after {
  content: none;
}

.projects-intro > * {
  position: relative;
  z-index: 1;
}

.projects-intro .eyebrow {
  justify-self: start;
}

.projects-intro h2 {
  margin: 0;
  max-width: 10ch;
  min-width: 0;
  font-size: clamp(2rem, 3vw, 3rem);
  line-height: 0.94;
  overflow-wrap: anywhere;
}

.projects-intro p {
  margin: 0;
  max-width: 34ch;
  min-width: 0;
  color: var(--color-muted-dark);
  font-size: 0.94rem;
  line-height: 1.58;
  overflow-wrap: anywhere;
}

.project-card {
  position: relative;
  display: block;
  min-height: 0;
  overflow: hidden;
  border: 1px solid rgba(23, 21, 19, 0.08);
  border-radius: 28px;
  background: var(--color-surface);
  box-shadow: 0 24px 60px rgba(86, 62, 29, 0.14);
  isolation: isolate;
  transition:
    transform 360ms ease,
    box-shadow 360ms ease,
    border-color 360ms ease;
}

.project-card--hero {
  grid-area: hero;
  min-height: 374px;
}

.project-card--medium-a {
  grid-area: medium-a;
}

.project-card--medium-b {
  grid-area: medium-b;
}

.project-card--small-a {
  grid-area: small-a;
}

.project-card--small-b {
  grid-area: small-b;
}

.project-card--medium-a {
  min-height: 0;
}

.project-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(18, 18, 20, 0.04) 0%, rgba(18, 18, 20, 0.44) 50%, rgba(18, 18, 20, 0.9) 100%),
    linear-gradient(135deg, rgba(255, 116, 3, 0.08) 0%, transparent 56%);
  transition:
    opacity 360ms ease,
    background 360ms ease;
}

.project-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(0);
  transform: scale(1.01);
  transition:
    transform 380ms ease,
    filter 380ms ease,
    opacity 260ms ease;
}

.project-card__content {
  position: relative;
  z-index: 1;
  display: grid;
  align-content: end;
  gap: 8px;
  height: 100%;
  min-width: 0;
  padding: 16px;
  opacity: 1;
  transform: translateY(10px);
  transition:
    transform 360ms ease,
    opacity 260ms ease;
}

.project-card__content::before {
  content: "";
  width: 42px;
  height: 2px;
  background: var(--color-accent);
  transform: scaleX(0.78);
  transform-origin: left;
  transition: transform 360ms ease;
}

.project-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.8);
  max-width: 38ch;
  min-width: 0;
  font-size: 0.8rem;
  line-height: 1.42;
  opacity: 0.88;
  transform: translateY(6px);
  transition:
    opacity 360ms ease,
    transform 360ms ease;
  overflow-wrap: anywhere;
}

.project-card.is-swapping img {
  opacity: 0.76;
  transform: scale(1.04);
}

.project-card.is-swapping .project-card__content {
  opacity: 0.74;
  transform: translateY(4px);
}

.project-card:hover,
.project-card:focus-within {
  border-color: rgba(255, 116, 3, 0.18);
  box-shadow: 0 28px 66px rgba(86, 62, 29, 0.18);
  transform: translateY(-3px);
}

.project-card:hover::after,
.project-card:focus-within::after {
  background:
    linear-gradient(180deg, rgba(20, 21, 23, 0.12) 0%, rgba(20, 21, 23, 0.66) 52%, rgba(20, 21, 23, 0.94) 100%),
    linear-gradient(135deg, rgba(255, 116, 3, 0.12) 0%, transparent 56%);
}

.project-card:hover img,
.project-card:focus-within img {
  transform: scale(1.05);
}

.project-card:hover .project-card__content,
.project-card:focus-within .project-card__content {
  transform: translateY(0);
}

.project-card:hover .project-card__content::before,
.project-card:focus-within .project-card__content::before {
  transform: scaleX(1);
}

.project-card:hover p,
.project-card:focus-within p {
  opacity: 1;
  transform: translateY(0);
}

.project-card--hero .project-card__content {
  padding: 22px 22px 26px;
  gap: 10px;
}

.project-card--hero h3 {
  font-size: clamp(1.82rem, 2.28vw, 2.52rem);
  max-width: 10ch;
}

.project-card--hero p {
  max-width: 38ch;
  font-size: 0.88rem;
}

.project-card--secondary::after {
  background:
    linear-gradient(180deg, rgba(18, 18, 20, 0.08) 0%, rgba(18, 18, 20, 0.66) 50%, rgba(18, 18, 20, 0.96) 100%),
    linear-gradient(135deg, rgba(255, 116, 3, 0.06) 0%, transparent 54%);
}

.projects-grid[data-projects-interactive="true"] .project-card--secondary {
  cursor: pointer;
}

.projects-grid[data-projects-interactive="false"] .project-card--secondary {
  cursor: default;
}

.projects-grid[data-projects-interactive="true"] .project-card--secondary:focus-visible {
  outline: none;
  border-color: rgba(255, 116, 3, 0.32);
  box-shadow:
    0 0 0 3px rgba(255, 116, 3, 0.12),
    0 28px 66px rgba(86, 62, 29, 0.2);
}

.project-card--secondary img {
  filter: grayscale(1) saturate(0.12) contrast(1.04);
}

.project-card--secondary.project-card--grayscale-lock img,
.project-card--secondary.project-card--grayscale-lock:hover img,
.project-card--secondary.project-card--grayscale-lock:focus-visible img,
.project-card--secondary.project-card--grayscale-lock:focus-within img {
  filter: grayscale(1) saturate(0.12) contrast(1.04);
}

.project-card--secondary:hover img,
.project-card--secondary:focus-visible img,
.project-card--secondary:focus-within img,
.project-card--secondary.is-swapping img {
  filter: grayscale(0) saturate(1) contrast(1);
}

.project-card--secondary:hover::after,
.project-card--secondary:focus-visible::after,
.project-card--secondary:focus-within::after,
.project-card--secondary.is-swapping::after {
  background:
    linear-gradient(180deg, rgba(20, 21, 23, 0.08) 0%, rgba(20, 21, 23, 0.56) 52%, rgba(20, 21, 23, 0.92) 100%),
    linear-gradient(135deg, rgba(255, 116, 3, 0.12) 0%, transparent 56%);
}

.project-card--secondary .project-card__content {
  padding: 16px 16px 18px;
  gap: 5px;
  transform: translateY(4px);
}

.project-card--secondary .project-card__content::before {
  width: 34px;
}

.project-card--secondary h3 {
  min-width: 0;
  font-size: 0.98rem;
  line-height: 1.1;
  max-width: 17ch;
  overflow-wrap: anywhere;
}

.project-card--secondary p {
  max-width: 31ch;
  font-size: 0.72rem;
  line-height: 1.38;
  transform: translateY(2px);
}

.section--projects {
  padding-block: clamp(30px, 3.9vw, 44px);
}

.section--interlude {
  padding: 0;
  background: #f4ece0;
}

.interlude-band {
  position: relative;
  min-height: 260px;
  overflow: hidden;
  background-color: #17130f;
  background-image:
    linear-gradient(90deg, rgba(16, 13, 10, 0.54) 0%, rgba(16, 13, 10, 0.24) 36%, rgba(16, 13, 10, 0.06) 60%, rgba(16, 13, 10, 0) 78%),
    url("https://images.pexels.com/photos/33342702/pexels-photo-33342702.jpeg?auto=compress&cs=tinysrgb&w=1800&dpr=1");
  background-position: center, center 52%;
  background-repeat: no-repeat;
  background-size: cover;
  background-attachment: scroll, fixed;
  box-shadow:
    inset 0 18px 34px rgba(12, 10, 8, 0.34),
    inset 0 -20px 38px rgba(12, 10, 8, 0.36);
}

.interlude-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(10, 8, 6, 0.34) 0%, rgba(10, 8, 6, 0.08) 13%, rgba(10, 8, 6, 0) 28%, rgba(10, 8, 6, 0) 72%, rgba(10, 8, 6, 0.1) 87%, rgba(10, 8, 6, 0.34) 100%);
  opacity: 1;
}

.interlude-band__inner {
  position: relative;
  z-index: 1;
  display: grid;
  align-content: end;
  gap: 12px;
  min-height: 260px;
  padding: 38px 0 34px;
}

.interlude-band__kicker {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  width: fit-content;
  color: rgba(255, 250, 244, 0.72);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.28);
}

.interlude-band__kicker::before {
  content: "";
  width: 54px;
  height: 2px;
  background: var(--color-accent);
}

.interlude-band p {
  margin: 0;
  max-width: 47ch;
  font-family: "Sora", sans-serif;
  font-size: clamp(1.28rem, 2.55vw, 2rem);
  line-height: 1.12;
  letter-spacing: -0.03em;
  color: #fffaf4;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.38);
}

.section--clients {
  isolation: isolate;
  overflow: hidden;
  padding-block: clamp(46px, 5.6vw, 70px) clamp(52px, 6vw, 76px);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.5) 0%, rgba(255, 255, 255, 0) 30%),
    radial-gradient(ellipse at 12% 18%, rgba(255, 116, 3, 0.16), transparent 30%),
    radial-gradient(ellipse at 86% -12%, rgba(255, 116, 3, 0.12), transparent 32%),
    radial-gradient(ellipse at 86% 78%, rgba(87, 87, 86, 0.1), transparent 30%),
    linear-gradient(180deg, #fff9f1 0%, #f3e8da 52%, #eadccb 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.62),
    inset 0 -1px 0 rgba(87, 87, 86, 0.08);
}

.section--clients::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(90deg, rgba(87, 87, 86, 0.055) 1px, transparent 1px),
    linear-gradient(180deg, rgba(87, 87, 86, 0.04) 1px, transparent 1px),
    linear-gradient(135deg, transparent 0%, transparent 48%, rgba(255, 116, 3, 0.045) 48%, rgba(255, 116, 3, 0.045) 48.5%, transparent 48.5%, transparent 100%);
  background-size: 86px 86px, 86px 86px, 220px 220px;
  opacity: 0.5;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 14%, #000 80%, transparent 100%);
  mask-image: linear-gradient(180deg, transparent 0%, #000 14%, #000 80%, transparent 100%);
}

.section--clients::after {
  content: "BAGJ";
  position: absolute;
  top: clamp(18px, 3vw, 34px);
  right: clamp(-20px, 3vw, 48px);
  z-index: 0;
  color: rgba(23, 21, 19, 0.34);
  font-family: "Sora", sans-serif;
  font-size: clamp(5.8rem, 13vw, 12rem);
  font-weight: 800;
  letter-spacing: 0.04em;
  line-height: 0.8;
  opacity: 0.055;
  pointer-events: none;
  white-space: nowrap;
}

.section--clients > .container,
.section--clients > .clients-reel {
  position: relative;
  z-index: 1;
}

.clients-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.42fr);
  align-items: end;
  gap: clamp(24px, 5vw, 76px);
  margin-bottom: clamp(18px, 2.6vw, 30px);
  text-align: left;
}

.clients-copy {
  display: grid;
  justify-items: start;
  gap: 10px;
  max-width: min(640px, 100%);
}

.clients-copy::after {
  content: "";
  width: min(240px, 48vw);
  height: 1px;
  margin-top: 2px;
  background: linear-gradient(90deg, rgba(255, 116, 3, 0.72) 0%, rgba(255, 116, 3, 0) 100%);
}

.clients-copy h2 {
  margin: 0;
  max-width: 21ch;
  font-family: "Sora", sans-serif;
  font-size: clamp(1.62rem, 3.05vw, 2.75rem);
  line-height: 1.02;
  letter-spacing: 0;
  color: var(--color-text);
  text-wrap: balance;
}

.clients-copy__note {
  margin: 0;
  max-width: 58ch;
  color: rgba(50, 45, 40, 0.68);
  font-size: 0.96rem;
  font-weight: 700;
  line-height: 1.5;
}

.clients-proof {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  justify-self: end;
  width: min(360px, 100%);
  padding: 14px 0 14px 22px;
  border-left: 2px solid rgba(255, 116, 3, 0.74);
}

.clients-proof span {
  position: relative;
  display: inline-flex;
  align-items: center;
  isolation: isolate;
  min-height: 32px;
  overflow: hidden;
  padding: 0 12px;
  border: 1px solid rgba(87, 87, 86, 0.1);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.42);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.52);
  color: rgba(39, 34, 30, 0.72);
  cursor: default;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  outline: none;
  text-transform: uppercase;
  transform: translateY(0) scale(1);
  animation: clients-proof-enter 520ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
  transition:
    color 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease;
}

.clients-proof span::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  background: linear-gradient(90deg, rgba(255, 116, 3, 0.18) 0%, rgba(255, 116, 3, 0.1) 100%);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 260ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.clients-proof span:nth-child(2) {
  animation-delay: 70ms;
}

.clients-proof span:nth-child(3) {
  animation-delay: 140ms;
}

.clients-proof span:nth-child(4) {
  animation-delay: 210ms;
}

.clients-proof span:hover,
.clients-proof span:focus-visible {
  border-color: rgba(255, 116, 3, 0.36);
  box-shadow:
    0 10px 24px rgba(255, 116, 3, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.68);
  color: rgba(31, 27, 24, 0.86);
  transform: translateY(-2px) scale(1.025);
}

.clients-proof span:hover::before,
.clients-proof span:focus-visible::before {
  transform: scaleX(1);
}

.clients-proof span:focus-visible {
  outline: 2px solid rgba(255, 116, 3, 0.34);
  outline-offset: 3px;
}

.clients-reel {
  --clients-reel-surface: rgba(255, 255, 255, 0.82);
  --clients-reel-fade: clamp(42px, 6vw, 88px);
  position: relative;
  isolation: isolate;
  width: min(96%, 1240px);
  max-width: calc(100% - 24px);
  margin-inline: auto;
}

.clients-reel::before {
  content: none;
}

.clients-reel__viewport {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  width: 100%;
  margin-inline: auto;
  padding: clamp(12px, 1.5vw, 16px) clamp(24px, 3vw, 42px);
  border: 1px solid rgba(255, 255, 255, 0.58);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(255, 255, 255, 0.82) 100%),
    linear-gradient(90deg, rgba(255, 116, 3, 0.06) 0%, rgba(255, 255, 255, 0) 38%, rgba(87, 87, 86, 0.04) 100%),
    var(--clients-reel-surface);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.72),
    inset 0 -1px 0 rgba(87, 87, 86, 0.06),
    0 18px 54px rgba(80, 60, 35, 0.15),
    0 8px 30px rgba(80, 60, 35, 0.08);
  backdrop-filter: blur(12px) saturate(1.05);
  -webkit-backdrop-filter: blur(12px) saturate(1.05);
  -webkit-mask-image: linear-gradient(
    90deg,
    transparent 0,
    #000 var(--clients-reel-fade),
    #000 calc(100% - var(--clients-reel-fade)),
    transparent 100%
  );
  mask-image: linear-gradient(
    90deg,
    transparent 0,
    #000 var(--clients-reel-fade),
    #000 calc(100% - var(--clients-reel-fade)),
    transparent 100%
  );
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
}

.clients-reel__viewport::before,
.clients-reel__viewport::after {
  content: none;
}

.clients-reel__marquee {
  display: flex;
  align-items: center;
  width: max-content;
}

.clients-reel__marquee.is-ready {
  animation: clients-marquee 30s linear infinite;
  will-change: transform;
}

.clients-reel__viewport:hover .clients-reel__marquee.is-ready,
.clients-reel__viewport:focus-within .clients-reel__marquee.is-ready {
  animation-play-state: paused;
}

.clients-reel__group {
  display: flex;
  align-items: center;
  gap: 0;
  flex: 0 0 auto;
}

.clients-reel__item {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  min-width: 0;
  height: clamp(68px, 5.8vw, 80px);
  padding-inline: clamp(18px, 1.9vw, 28px);
}

.clients-reel__logo {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 48px;
  object-fit: contain;
  flex: 0 0 auto;
  filter: grayscale(1) saturate(0.16);
  opacity: 0.76;
  transition:
    filter 220ms ease,
    opacity 220ms ease,
    transform 220ms ease;
}

.clients-reel__item--wide .clients-reel__logo {
  max-width: 148px;
  max-height: 40px;
}

.clients-reel__item--wide-xl .clients-reel__logo {
  max-width: 154px;
  max-height: 34px;
}

.clients-reel__item--tall .clients-reel__logo {
  max-width: 74px;
  max-height: 56px;
}

.clients-reel__item--square .clients-reel__logo {
  max-width: 54px;
  max-height: 54px;
}

.clients-reel__item:hover .clients-reel__logo,
.clients-reel__item:focus-within .clients-reel__logo {
  filter: grayscale(0);
  opacity: 1;
  transform: translateY(-1px);
}

@keyframes clients-marquee {
  from {
    transform: translate3d(0, 0, 0);
  }

  to {
    transform: translate3d(-50%, 0, 0);
  }
}

.section--contact {
  padding-block: clamp(42px, 5.4vw, 66px) clamp(56px, 7vw, 84px);
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background-color: #3b2a1f;
}

.section--contact::before,
.section--contact::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.section--contact::before {
  background-image: url("images/fondo_contacto.webp");
  background-position: 42% 50%;
  background-size: cover;
  opacity: 0.86;
  z-index: -2;
}

.section--contact::after {
  background:
    linear-gradient(90deg, rgba(39, 25, 18, 0.5) 0%, rgba(72, 47, 31, 0.3) 48%, rgba(255, 116, 3, 0.06) 100%),
    radial-gradient(circle at 14% 18%, rgba(255, 116, 3, 0.1), transparent 30%),
    radial-gradient(circle at 82% 24%, rgba(255, 184, 100, 0.09), transparent 28%),
    linear-gradient(0deg, rgba(30, 21, 16, 0.07), rgba(30, 21, 16, 0));
  z-index: -1;
}

.contact-section {
  display: grid;
  gap: clamp(24px, 3vw, 36px);
}

.contact-section__header {
  display: grid;
  gap: 14px;
  max-width: 760px;
}

.contact-section__header h2,
.contact-section__header p {
  margin: 0;
}

.contact-section__header h2 {
  color: #fff8ef;
  text-shadow: 0 12px 34px rgba(0, 0, 0, 0.24);
}

.contact-section__header p {
  color: rgba(255, 250, 244, 0.82);
}

.contact-panel {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.96fr) minmax(360px, 1.04fr);
  align-items: stretch;
  border-block: 1px solid rgba(255, 250, 244, 0.18);
  border-left: 4px solid rgba(255, 116, 3, 0.66);
  border-radius: 0;
  background:
    linear-gradient(135deg, rgba(255, 250, 244, 0.07) 0%, rgba(255, 250, 244, 0.025) 52%, rgba(255, 116, 3, 0.045) 100%);
  box-shadow: none;
  isolation: isolate;
}

.contact-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255, 116, 3, 0.12) 0 4px, transparent 4px 100%) 0 0 / 100% 100% no-repeat,
    radial-gradient(circle at 4% 0%, rgba(255, 116, 3, 0.16), transparent 28%),
    radial-gradient(circle at 100% 18%, rgba(255, 250, 244, 0.12), transparent 28%);
  opacity: 0.78;
  pointer-events: none;
  z-index: -1;
}

.contact-panel__form {
  padding: clamp(24px, 3vw, 38px);
  border-right: 1px solid rgba(255, 250, 244, 0.18);
  background:
    linear-gradient(135deg, rgba(255, 250, 244, 0.58), rgba(255, 243, 229, 0.4));
  -webkit-backdrop-filter: blur(22px) saturate(1.1);
  backdrop-filter: blur(22px) saturate(1.1);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.contact-panel__info {
  display: grid;
  grid-template-rows: auto minmax(230px, 1fr);
  gap: clamp(18px, 2vw, 24px);
  align-content: stretch;
  padding: clamp(24px, 3vw, 38px);
  background:
    linear-gradient(135deg, rgba(46, 30, 21, 0.24), rgba(60, 39, 27, 0.14));
  -webkit-backdrop-filter: blur(18px) saturate(1.08);
  backdrop-filter: blur(18px) saturate(1.08);
  min-width: 0;
}

@media (min-width: 981px) {
  .contact-panel__form {
    display: flex;
  }

  .contact-form {
    display: grid;
    grid-template-rows: minmax(0, 1fr) auto;
    align-content: stretch;
    width: 100%;
    height: 100%;
    min-height: 100%;
  }

  .contact-form .form-grid {
    grid-template-rows: auto auto minmax(0, 1fr) auto;
    align-content: stretch;
    min-height: 0;
  }

  .contact-form .form-field--full:not(.form-field--captcha) {
    grid-template-rows: auto minmax(0, 1fr);
    min-height: 0;
  }

  .contact-form .form-field textarea {
    height: 100%;
    min-height: clamp(148px, 16vw, 188px);
  }
}

.contact-info-top {
  display: grid;
  gap: 16px;
  align-content: start;
}

.contact-info-list {
  display: grid;
  gap: 8px;
}

.contact-info-item {
  position: relative;
  display: grid;
  gap: 5px;
  padding: 8px 0 8px 18px;
  transition:
    color 180ms ease,
    text-shadow 180ms ease;
}

.contact-info-item::before {
  content: "";
  position: absolute;
  top: 10px;
  bottom: 10px;
  left: 0;
  width: 3px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255, 116, 3, 0.42), rgba(255, 155, 74, 0.12));
  transform: scaleY(0.42);
  transform-origin: center;
  transition:
    transform 180ms ease,
    background-color 180ms ease,
    box-shadow 180ms ease;
}

.contact-info-item:hover::before,
.contact-info-item:focus-within::before {
  background: var(--color-accent);
  box-shadow: 0 0 18px rgba(255, 116, 3, 0.34);
  transform: scaleY(1);
}

.contact-info-item:hover a,
.contact-info-item:hover p,
.contact-info-item:focus-within a,
.contact-info-item:focus-within p {
  color: #fffaf4;
  text-shadow: 0 8px 18px rgba(255, 116, 3, 0.14);
}

.contact-info-item a,
.contact-info-item p {
  margin: 0;
  font-size: 1.06rem;
  line-height: 1.5;
  color: rgba(255, 250, 244, 0.92);
  overflow-wrap: break-word;
}

.social-contact {
  display: grid;
  gap: 8px;
  padding-top: 0;
  padding-left: 18px;
}

.social-contact__title {
  margin: 0;
  color: rgba(255, 250, 244, 0.78);
  font-size: 0.96rem;
  font-weight: 800;
}

.social-contact__links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 38px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: rgba(255, 250, 244, 0.9);
  font-size: 0.9rem;
  font-weight: 800;
  transition:
    transform 180ms ease,
    color 180ms ease;
}

.social-link:hover,
.social-link:focus-visible {
  color: var(--color-accent);
  transform: translateY(-2px) scale(1.04);
}

.social-link__icon {
  display: inline-grid;
  width: 34px;
  height: 34px;
  place-items: center;
  color: var(--color-accent);
  flex: 0 0 auto;
  filter: drop-shadow(0 8px 14px rgba(0, 0, 0, 0.28));
}

.social-link__icon svg {
  width: 30px;
  height: 30px;
  fill: currentColor;
}

.social-link__icon text,
.footer-social__link text {
  fill: currentColor;
}

.social-link--instagram .social-link__icon {
  color: #e94373;
}

.social-link--google .social-link__icon {
  color: #4285f4;
}

.contact-map-card {
  height: 100%;
  min-height: clamp(280px, 27vw, 360px);
  border: 1px solid rgba(255, 250, 244, 0.22);
  border-radius: 12px;
  background: var(--color-surface);
  overflow: hidden;
}

@media (min-width: 761px) and (prefers-reduced-motion: no-preference) {
  .section--contact::before {
    background-attachment: fixed;
  }
}

@media (prefers-reduced-motion: reduce) {
  .section--contact::before {
    background-attachment: scroll;
  }
}

.contact-map-card iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.contact-form {
  --contact-form-gap: 13px;
  display: grid;
  gap: var(--contact-form-gap);
  align-content: start;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

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

.form-field {
  display: grid;
  gap: 6px;
}

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

.form-field span {
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--color-muted-dark);
}

.form-field input,
.form-field textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid rgba(23, 21, 19, 0.1);
  border-radius: 18px;
  background: rgba(255, 250, 244, 0.76);
  color: var(--color-text);
  outline: none;
  resize: vertical;
  transition:
    border-color 180ms ease,
    background-color 180ms ease,
    box-shadow 180ms ease;
}

.form-field input::placeholder,
.form-field textarea::placeholder {
  color: rgba(23, 21, 19, 0.42);
}

.form-field input:focus,
.form-field textarea:focus {
  border-color: rgba(255, 116, 3, 0.72);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 0 0 4px rgba(255, 116, 3, 0.12);
}

.form-field textarea {
  min-height: 132px;
  height: 148px;
}

.captcha-box {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(112px, 158px);
  align-items: center;
  gap: 10px;
  padding: 11px 12px;
  border: 1px solid rgba(23, 21, 19, 0.08);
  border-radius: var(--radius-sm);
  background: rgba(255, 248, 239, 0.76);
}

.captcha-box__text {
  color: var(--color-muted-dark);
  font-size: 0.86rem;
  font-weight: 600;
}

.captcha-box__text strong {
  display: inline-block;
  margin-left: 4px;
  color: var(--color-text);
  white-space: nowrap;
}

.form-status {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: start;
  gap: 10px;
  margin: 0;
  padding: 12px 14px;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  font-size: 0.94rem;
  font-weight: 700;
  line-height: 1.45;
}

.form-status:empty {
  display: none;
}

.form-status::before {
  display: inline-grid;
  width: 24px;
  height: 24px;
  place-items: center;
  border-radius: 50%;
  font-size: 0.72rem;
  font-weight: 900;
  line-height: 1;
}

.form-status--success {
  border-color: rgba(28, 126, 84, 0.2);
  background: #edf8f1;
  color: #164f35;
}

.form-status--success::before {
  content: "OK";
  background: #1c7e54;
  color: #fff;
}

.form-status--error {
  border-color: rgba(163, 56, 35, 0.22);
  background: #fff0ea;
  color: #7b2818;
}

.form-status--error::before {
  content: "!";
  background: #b5462b;
  color: #fff;
}

.form-status--loading {
  border-color: rgba(255, 116, 3, 0.24);
  background: #fff7ec;
  color: #6f3b0f;
}

.form-status--loading::before {
  content: "...";
  background: var(--color-accent);
  color: #120a05;
}

.button--full {
  width: 100%;
  margin-top: 0;
}

.button:disabled {
  cursor: wait;
  opacity: 0.72;
  transform: none;
}

.site-footer {
  border-top: 1px solid rgba(255, 116, 3, 0.18);
  background:
    radial-gradient(circle at 8% 0%, rgba(255, 116, 3, 0.12), transparent 30%),
    linear-gradient(135deg, #3b2a1f 0%, #2f2924 64%, #4a3324 100%);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 0;
}

.footer-brand-group {
  display: inline-flex;
  align-items: center;
  gap: 18px;
}

.site-footer .logo-footer {
  filter: brightness(1.08) contrast(1.04);
}

.footer-social {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.footer-social__link {
  display: inline-grid;
  width: 34px;
  height: 34px;
  place-items: center;
  color: rgba(255, 250, 244, 0.76);
  transition:
    color 180ms ease,
    transform 180ms ease;
}

.footer-social__link svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.footer-social__link:hover,
.footer-social__link:focus-visible {
  color: var(--color-accent-soft);
  transform: translateY(-1px);
}

.site-footer p {
  margin: 0;
  color: rgba(255, 250, 244, 0.72);
  font-size: 0.92rem;
  text-align: center;
}

@media (min-width: 1366px) {
  .hero {
    padding-top: 92px;
  }

  .hero-scene__layout {
    padding: 42px 0 28px;
  }

  .hero-scene__panel {
    max-width: 820px;
  }

  .hero-scene__title {
    max-width: 10ch;
    font-size: clamp(3.8rem, 5.2vw, 6.8rem);
  }

  .hero-scene--institutional .hero-scene__panel {
    max-width: 940px;
  }
}

@media (min-width: 1600px) {
  .hero-scene__layout {
    padding: 44px 0 30px;
  }

  .hero-scene__title {
    font-size: clamp(4.2rem, 4.8vw, 7.4rem);
  }
}

@media (min-width: 981px) and (max-height: 920px) {
  #servicios {
    padding-block: 28px 34px;
  }

  #servicios .section-heading {
    gap: 6px;
    margin-bottom: 14px;
    max-width: 480px;
  }

  #servicios .section-heading h2 {
    font-size: clamp(1.82rem, 2.6vw, 2.72rem);
  }

  #servicios .section-heading p {
    font-size: 0.92rem;
    max-width: 44ch;
  }

  .services-top {
    gap: 18px;
    margin-bottom: 6px;
    min-height: clamp(248px, 30svh, 320px);
  }

  .services-visual__panel {
    min-height: 220px;
    padding: 20px;
  }

  .services-visual__panel p {
    max-width: 26ch;
    font-size: 0.88rem;
  }

  .services-grid {
    gap: 12px;
    margin-top: 0;
  }

  .service-card {
    gap: 12px;
    padding: 18px;
    min-height: 174px;
  }

  .service-card h3 {
    font-size: 1.14rem;
  }

  .service-card p {
    font-size: 0.88rem;
  }

  .service-icon {
    width: 46px;
    height: 46px;
    border-radius: 14px;
  }

  .service-icon svg {
    width: 22px;
    height: 22px;
  }

  .section--projects {
    padding-block: 24px 30px;
  }

  .projects-intro {
    gap: 8px;
    margin-bottom: 0;
    max-width: none;
    padding: 22px 22px 20px;
  }

  .projects-intro h2 {
    font-size: clamp(1.66rem, 2vw, 2.2rem);
  }

  .projects-intro p {
    font-size: 0.84rem;
    max-width: 38ch;
  }

  .section--projects .project-tag {
    padding: 5px 8px;
    font-size: 0.58rem;
  }

  .projects-grid {
    grid-template-rows: 168px 168px minmax(204px, auto);
    gap: 10px;
  }

  .project-card--hero {
    min-height: 346px;
  }

  .project-card__content {
    gap: 6px;
    padding: 14px;
  }

  .project-card--hero .project-card__content {
    padding: 16px 16px 22px;
  }

  .project-card--hero h3 {
    font-size: clamp(1.42rem, 1.72vw, 1.92rem);
  }

  .project-card--hero p {
    font-size: 0.78rem;
    max-width: 31ch;
  }

  .project-card--secondary .project-card__content {
    padding: 13px 13px 15px;
    gap: 5px;
  }

  .project-card--secondary h3 {
    font-size: 0.88rem;
  }

  .project-card--secondary p {
    font-size: 0.68rem;
  }
}

@keyframes clients-proof-enter {
  from {
    opacity: 0;
    transform: translateY(6px) scale(0.98);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@media (max-width: 1080px) {
  #empresa .container,
  #servicios .container,
  #proyectos .container,
  #clientes .container,
  #contacto .container {
    width: min(100%, calc(100% - 32px));
  }

  .header-inner {
    gap: 24px;
  }

  .site-header .logo-img {
    max-width: min(360px, 36vw);
  }

  .main-nav {
    gap: 18px;
    flex-wrap: nowrap;
  }

  .hero {
    padding-top: 88px;
  }

  .hero-stage {
    min-height: calc(100svh - 88px);
  }

  .hero-scene__layout {
    gap: 22px;
    padding: 32px 0 28px;
  }

  .hero-scene__title {
    max-width: 10ch;
    font-size: clamp(3rem, 7vw, 5rem);
  }

  .hero-scene__description {
    max-width: 44ch;
  }

  .hero-scene--institutional .hero-scene__title {
    max-width: 12ch;
  }

  .hero-metrics {
    gap: 18px 26px;
  }

  .hero-metric {
    flex-basis: 170px;
    min-width: min(170px, 100%);
  }

  .hero-scene__footer {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .hero-scene__progress,
  .hero-scene__nav {
    justify-content: flex-start;
  }

  .services-top {
    grid-template-columns: 1fr;
  }

  .contact-panel {
    grid-template-columns: 1fr;
  }

  .contact-panel__form {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 250, 244, 0.18);
  }

  #servicios::before {
    width: min(420px, 52vw);
    height: 54%;
    top: 52px;
    right: -18%;
  }

  #servicios::after {
    right: -12%;
    top: clamp(170px, 21vh, 230px);
    width: min(760px, 82vw);
    height: clamp(220px, 30vh, 320px);
    bottom: auto;
    opacity: 0.3;
  }

  .services-top {
    gap: 18px;
    margin-bottom: 10px;
    min-height: 0;
  }

  .services-visual__panel {
    min-height: 252px;
    padding: 22px;
  }

  .services-grid {
    margin-top: 0;
    gap: 12px;
  }

  .services-grid::before {
    inset: 6% -4% -14% 18%;
    border-radius: 32px 0 0 32px;
  }

  .service-card {
    min-height: 184px;
    padding: 20px;
    gap: 12px;
  }

  .service-card h3 {
    font-size: 1.18rem;
  }

  .service-card p {
    font-size: 0.9rem;
  }

  .service-card:nth-child(2),
  .service-card:nth-child(3) {
    transform: none;
  }

  .projects-intro {
    gap: 8px;
    padding: 20px 20px 18px;
  }

  .projects-intro h2 {
    font-size: clamp(1.72rem, 3vw, 2.3rem);
  }

  .projects-intro p {
    font-size: 0.86rem;
    max-width: 36ch;
  }

  .section--projects {
    padding-block: 26px 34px;
  }

  .section--projects .project-tag {
    padding: 5px 9px;
    font-size: 0.6rem;
  }

  .projects-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-areas:
      "intro hero"
      "medium-a medium-b"
      "small-a small-b";
    grid-template-rows: minmax(236px, auto) minmax(184px, auto) minmax(184px, auto);
    gap: 10px;
    padding-bottom: 0;
  }

  .project-card--secondary .project-card__content {
    padding: 14px 14px 16px;
    gap: 5px;
  }

  .project-card--secondary h3 {
    font-size: 0.94rem;
  }

  .project-card--secondary p {
    font-size: 0.7rem;
  }

  .interlude-band,
  .interlude-band__inner {
    min-height: 220px;
  }

  .interlude-band__inner {
    padding: 30px 0 28px;
  }

  .clients-shell {
    gap: 26px;
    margin-bottom: 24px;
  }

  .clients-copy {
    max-width: 560px;
    margin-inline: 0;
  }

  .clients-proof {
    width: min(320px, 100%);
    padding-left: 18px;
  }

  .clients-reel__marquee.is-ready {
    animation-duration: 26s;
  }

  .clients-reel__item {
    padding-inline: clamp(16px, 1.8vw, 24px);
  }

  .contact-panel__info {
    grid-template-columns: 1fr;
    grid-template-rows: auto minmax(280px, auto);
  }

  .contact-map-card {
    min-height: clamp(260px, 34vw, 320px);
  }

  .project-card,
  .project-card--hero,
  .project-card--medium-a,
  .project-card--medium-b,
  .project-card--small-a,
  .project-card--small-b,
  .project-card--large {
    grid-column: auto;
    grid-row: auto;
  }

  .project-card--hero {
    min-height: 270px;
  }

  .project-card--secondary {
    min-height: 184px;
  }

}

@media (min-width: 761px) and (max-width: 1080px) and (max-height: 920px) {
  #servicios {
    padding-block: 26px 32px;
  }

  #servicios .section-heading {
    gap: 6px;
    margin-bottom: 12px;
    max-width: 460px;
  }

  #servicios .section-heading h2 {
    font-size: clamp(1.76rem, 3vw, 2.48rem);
  }

  #servicios .section-heading p {
    font-size: 0.9rem;
    max-width: 42ch;
  }

  .services-top {
    gap: 16px;
    margin-bottom: 6px;
  }

  .services-visual__panel {
    min-height: 220px;
    padding: 18px;
  }

  .services-visual__panel p {
    font-size: 0.86rem;
    max-width: 25ch;
  }

  .services-grid {
    gap: 10px;
  }

  .service-card {
    min-height: 168px;
    padding: 16px;
    gap: 10px;
  }

  .service-card h3 {
    font-size: 1.08rem;
  }

  .service-card p {
    font-size: 0.84rem;
  }

  .service-icon {
    width: 44px;
    height: 44px;
    border-radius: 14px;
  }

  .service-icon svg {
    width: 20px;
    height: 20px;
  }

  .section--projects {
    padding-block: 22px 28px;
  }

  .projects-intro {
    gap: 8px;
    padding: 18px 18px 16px;
  }

  .projects-intro h2 {
    font-size: clamp(1.56rem, 2.7vw, 2.04rem);
  }

  .projects-intro p {
    font-size: 0.8rem;
    max-width: 30ch;
  }

  .section--projects .project-tag {
    padding: 4px 8px;
    font-size: 0.56rem;
  }

  .projects-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-areas:
      "intro hero"
      "medium-a medium-b"
      "small-a small-b";
    grid-template-rows: minmax(228px, auto) minmax(178px, auto) minmax(178px, auto);
    gap: 8px;
  }

  .project-card__content {
    gap: 5px;
    padding: 13px;
  }

  .project-card--hero .project-card__content {
    padding: 15px 15px 21px;
  }

  .project-card--hero h3 {
    font-size: clamp(1.34rem, 1.8vw, 1.8rem);
  }

  .project-card--hero p {
    font-size: 0.74rem;
    max-width: 28ch;
  }

  .project-card--secondary .project-card__content {
    padding: 12px 12px 14px;
    gap: 5px;
  }

  .project-card--secondary h3 {
    font-size: 0.88rem;
  }

  .project-card--secondary p {
    font-size: 0.68rem;
  }

  .project-card--hero {
    min-height: 260px;
  }

  .project-card--secondary {
    min-height: 178px;
  }
}

@media (min-width: 761px) {
  #servicios,
  .section--projects {
    min-height: calc(100vh - var(--nav-offset));
    min-height: calc(100svh - var(--nav-offset));
  }

  #servicios {
    display: grid;
    grid-template-rows: auto 1fr;
    align-content: stretch;
    row-gap: clamp(8px, 1.2vh, 16px);
  }

  #servicios > .services-top {
    align-self: start;
    margin-bottom: 0;
  }

  #servicios > .services-grid {
    align-self: end;
    margin-top: 0;
  }

  .section--projects {
    display: flex;
    align-items: stretch;
  }

  .section--projects .container {
    display: grid;
    grid-template-rows: auto 1fr;
    align-content: stretch;
    row-gap: clamp(18px, 2.6vh, 28px);
  }

  .projects-grid {
    align-self: end;
  }
}

@media (min-width: 761px) and (min-height: 940px) {
  #servicios::after {
    top: clamp(148px, 17vh, 210px);
    height: clamp(310px, 44vh, 480px);
    opacity: 0.4;
  }

  .services-top {
    min-height: clamp(356px, 42svh, 490px);
  }

  .services-visual__panel {
    min-height: clamp(332px, 39svh, 450px);
    padding: 28px;
  }

  .services-grid {
    gap: 16px;
  }
}

@media (min-width: 1100px) and (min-height: 1040px) {
  .services-top {
    min-height: clamp(388px, 44svh, 540px);
  }

  .services-visual__panel {
    min-height: clamp(364px, 41svh, 500px);
    padding: 30px;
  }
}

@media (max-width: 760px) {
  :root {
    --nav-offset: 84px;
  }

  #empresa .container,
  #servicios .container,
  #proyectos .container,
  #clientes .container,
  #contacto .container {
    width: calc(100% - 24px);
  }

  .site-header {
    position: sticky;
    padding-top: 0;
  }

  .header-inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;
    min-height: 84px;
    padding: 14px 0;
  }

  .site-header .brand {
    max-width: 100%;
  }

  .site-header .logo-img {
    height: 54px;
    max-width: min(100%, 230px);
  }

  .menu-toggle {
    display: inline-flex;
  }

  .main-nav {
    display: none;
    grid-column: 1 / -1;
    align-items: stretch;
    justify-content: flex-start;
    flex-direction: column;
    gap: 0;
    width: 100%;
    margin-top: 0;
    padding: 14px 0 0;
    border-top: 1px solid rgba(23, 21, 19, 0.08);
    border-right: 0;
    border-bottom: 0;
    border-left: 0;
    border-radius: 0;
    background: none;
    box-shadow: none;
  }

  .main-nav.active {
    display: flex;
  }

  .main-nav a {
    width: 100%;
    padding: 14px 0;
    text-align: left;
    border-bottom: 1px solid rgba(23, 21, 19, 0.06);
  }

  .main-nav a:last-child {
    border-bottom: 0;
  }

  .main-nav a::after {
    width: 36px;
  }

  .hero {
    min-height: calc(100svh - 84px);
    padding: 0;
  }

  .hero::before {
    content: none;
  }

  .hero-stage {
    min-height: calc(100svh - 84px);
  }

  .hero-scene__image {
    transform: scale(1.015);
  }

  .hero-scene__veil {
    background:
      linear-gradient(180deg, rgba(17, 15, 14, 0.18) 0%, rgba(17, 15, 14, 0.42) 36%, rgba(17, 15, 14, 0.78) 100%),
      linear-gradient(90deg, rgba(17, 15, 14, 0.44) 0%, rgba(17, 15, 14, 0.12) 100%);
  }

  .hero-scene__grid {
    display: none;
  }

  .hero-scene__layout {
    gap: 18px;
    padding: 24px 0 22px;
  }

  .hero-scene__panel {
    max-width: 100%;
    gap: 16px;
  }

  .hero-scene__title {
    max-width: 11ch;
    font-size: clamp(2.55rem, 10vw, 3.9rem);
  }

  .hero-scene__description {
    max-width: 34ch;
    font-size: 0.98rem;
  }

  .hero-scene--institutional .hero-scene__panel {
    gap: 14px;
  }

  .hero-scene--institutional .hero-scene__title {
    max-width: 12ch;
  }

  .hero-scene--institutional .hero-scene__description {
    max-width: 36ch;
    font-size: 0.94rem;
  }

  .hero-metrics {
    gap: 16px 20px;
    margin-top: 4px;
  }

  .hero-metric {
    flex-basis: calc(50% - 10px);
    min-width: min(160px, 100%);
  }

  .metric-number {
    font-size: clamp(2rem, 8.4vw, 2.8rem);
  }

  .metric-label {
    font-size: 0.7rem;
  }

  .hero-scene__actions {
    gap: 14px;
  }

  .hero-scene__note {
    flex-basis: 100%;
  }

  .hero-scene__footer {
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 12px;
    padding-top: 16px;
  }

  .hero-scene__counter {
    min-width: auto;
  }

  .hero-scene__counter strong {
    font-size: 1.46rem;
  }

  .hero-scene__progress {
    gap: 8px;
    justify-content: center;
  }

  .hero-scene__jump {
    width: 22px;
  }

  .hero-scene__jump.is-active {
    width: 38px;
  }

  .hero-scene__nav {
    gap: 8px;
  }

  .hero-scene__nav button {
    width: 38px;
    height: 38px;
    border-radius: 8px;
  }

  .section {
    padding: 58px 0;
  }

  #servicios::before {
    content: none;
  }

  #servicios::after,
  .services-grid::before {
    content: none;
  }

  .services-top {
    gap: 18px;
    margin-bottom: 18px;
  }

  .services-visual__panel {
    min-height: 260px;
    padding: 24px;
  }

  .services-grid {
    margin-top: 0;
  }

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

  .project-card {
    min-height: 286px;
  }

  .interlude-band,
  .interlude-band__inner {
    min-height: 188px;
  }

  .interlude-band__inner {
    padding: 24px 0 22px;
  }

  .interlude-band p {
    max-width: 24ch;
    font-size: clamp(1.12rem, 5vw, 1.6rem);
  }

  .clients-shell {
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 16px;
    margin-bottom: 20px;
    text-align: center;
  }

  .clients-copy {
    justify-items: center;
    max-width: 620px;
    margin-inline: auto;
  }

  .clients-copy::after {
    background: linear-gradient(90deg, transparent 0%, rgba(255, 116, 3, 0.66) 50%, transparent 100%);
  }

  .clients-copy h2 {
    font-size: clamp(1.35rem, 5vw, 1.95rem);
  }

  .clients-copy__note {
    font-size: 0.9rem;
  }

  .clients-proof {
    grid-template-columns: repeat(4, minmax(0, auto));
    justify-content: center;
    width: min(620px, 100%);
    padding: 12px 0 0;
    border-top: 1px solid rgba(255, 116, 3, 0.34);
    border-left: 0;
  }

  .clients-proof span {
    min-height: 30px;
    padding-inline: 10px;
    font-size: 0.66rem;
  }

  .clients-reel {
    --clients-reel-fade: 40px;
  }

  .clients-reel::before {
    inset: -8px 5% -10px;
  }

  .clients-reel__viewport {
    padding: 14px 24px;
  }

  .clients-reel__marquee.is-ready {
    animation-duration: 24s;
  }

  .clients-reel__item {
    height: 76px;
    padding-inline: 16px;
  }

  .clients-reel__logo {
    max-height: 42px;
  }

  .clients-reel__item--wide .clients-reel__logo {
    max-width: 138px;
    max-height: 36px;
  }

  .clients-reel__item--wide-xl .clients-reel__logo {
    max-width: 138px;
    max-height: 30px;
  }

  .clients-reel__item--tall .clients-reel__logo {
    max-width: 66px;
    max-height: 48px;
  }

  .clients-reel__item--square .clients-reel__logo {
    max-width: 48px;
    max-height: 48px;
  }

  .contact-section {
    gap: 22px;
  }

  .contact-panel {
    border-radius: 0;
  }

  .contact-panel__form,
  .contact-panel__info {
    padding: 22px;
  }

  .contact-panel__info {
    grid-template-columns: 1fr;
  }

  .contact-info-item {
    padding: 12px 0 12px 18px;
  }

  .contact-map-card {
    height: 250px;
    min-height: 250px;
  }

  .footer-inner {
    flex-direction: column;
    align-items: center;
  }

  .footer-brand-group {
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
  }

  .captcha-box {
    grid-template-columns: 1fr;
  }

  .services-grid,
  .form-grid,
  .projects-grid {
    grid-template-columns: 1fr;
  }

  .projects-grid {
    grid-template-areas:
      "intro"
      "hero"
      "medium-a"
      "medium-b"
      "small-a"
      "small-b";
    grid-template-rows: none;
  }

  .projects-intro {
    padding: 20px 18px 18px;
    gap: 9px;
    align-content: start;
    min-height: 0;
    overflow: visible;
  }

  .projects-intro::after {
    content: none;
  }

  .projects-intro h2 {
    max-width: none;
    font-size: clamp(1.58rem, 7vw, 2.18rem);
    line-height: 1;
  }

  .projects-intro p {
    max-width: none;
    font-size: 0.86rem;
    line-height: 1.52;
  }

  .service-card {
    padding: 22px;
  }

  .project-card,
  .project-card--hero,
  .project-card--medium-a,
  .project-card--medium-b,
  .project-card--small-a,
  .project-card--small-b,
  .project-card--large {
    grid-column: auto;
    grid-row: auto;
  }

  .project-card--hero h3 {
    font-size: clamp(1.7rem, 7vw, 2.4rem);
  }

  .project-card--hero {
    min-height: 320px;
  }

  .project-card--secondary h3 {
    font-size: 1.08rem;
  }

  .project-card--secondary p {
    font-size: 0.8rem;
  }

  .project-card--secondary {
    min-height: 300px;
  }
}

@media (max-width: 480px) {
  :root {
    --nav-offset: 78px;
  }

  #empresa .container,
  #servicios .container,
  #proyectos .container,
  #clientes .container,
  #contacto .container {
    width: calc(100% - 20px);
  }

  :root {
    --container: calc(100% - 24px);
  }

  .site-header {
    padding-top: 0;
  }

  .header-inner {
    gap: 14px;
    min-height: 78px;
    padding: 12px 0;
  }

  .logo-img {
    height: 34px;
  }

  .site-header .brand {
    padding: 0;
  }

  .site-header .logo-img {
    height: 46px;
    max-width: min(100%, 190px);
  }

  .menu-toggle {
    width: 42px;
    height: 42px;
    border-radius: 4px;
  }

  .hero {
    padding: 0;
  }

  .hero-stage {
    min-height: calc(100svh - 78px);
  }

  .hero-scene__layout {
    gap: 16px;
    padding: 20px 0 18px;
  }

  .hero-scene__eyebrow {
    gap: 10px;
    font-size: 0.69rem;
    letter-spacing: 0.14em;
  }

  .hero-scene__eyebrow::before {
    width: 38px;
  }

  .hero-scene__title {
    font-size: clamp(2.15rem, 11.2vw, 3rem);
  }

  .hero-scene__description {
    font-size: 0.92rem;
  }

  .hero-scene--institutional .hero-scene__title {
    max-width: 11ch;
  }

  .hero-scene--institutional .hero-scene__description {
    max-width: 32ch;
    font-size: 0.88rem;
  }

  .hero-metrics {
    gap: 14px;
  }

  .hero-metric {
    flex-basis: 100%;
    min-width: 0;
  }

  .metric-number {
    font-size: clamp(1.9rem, 10vw, 2.45rem);
  }

  .metric-label {
    font-size: 0.68rem;
    letter-spacing: 0.13em;
  }

  .hero-scene__footer {
    grid-template-columns: 1fr;
    align-items: start;
    gap: 12px;
  }

  .hero-scene__progress,
  .hero-scene__nav {
    justify-content: flex-start;
  }

  .hero-scene__jump {
    width: 18px;
  }

  .hero-scene__jump.is-active {
    width: 30px;
  }

  .section.section--clients {
    padding-block: 38px 44px;
  }

  .section--clients::before {
    background-size: 72px 72px;
    opacity: 0.34;
  }

  .section--clients::after {
    top: 18px;
    right: -42px;
    font-size: 5.6rem;
    opacity: 0.032;
  }

  .clients-shell {
    gap: 14px;
    margin-bottom: 18px;
  }

  .clients-copy {
    gap: 10px;
  }

  .clients-copy::after {
    width: min(180px, 52vw);
    margin-top: 2px;
  }

  .clients-copy h2 {
    font-size: clamp(1.2rem, 6vw, 1.65rem);
  }

  .clients-copy__note {
    max-width: 30ch;
    font-size: 0.84rem;
  }

  .clients-proof {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    width: min(360px, 100%);
    padding-top: 10px;
  }

  .clients-proof span {
    min-height: 28px;
    padding-inline: 9px;
    font-size: 0.61rem;
    letter-spacing: 0.1em;
  }

  .clients-reel {
    --clients-reel-fade: 24px;
    width: calc(100% - 20px);
    max-width: calc(100% - 20px);
  }

  .clients-reel::before {
    inset: -6px 7% -8px;
  }

  .clients-reel__viewport {
    padding: 10px 14px;
  }

  .clients-reel__marquee.is-ready {
    animation-duration: 22s;
  }

  .clients-reel__item {
    height: 64px;
    padding-inline: 12px;
  }

  .clients-reel__logo {
    max-height: 38px;
  }

  .clients-reel__item--wide .clients-reel__logo {
    max-width: 122px;
    max-height: 32px;
  }

  .clients-reel__item--wide-xl .clients-reel__logo {
    max-width: 122px;
    max-height: 28px;
  }

  .clients-reel__item--tall .clients-reel__logo {
    max-width: 58px;
    max-height: 44px;
  }

  .clients-reel__item--square .clients-reel__logo {
    max-width: 42px;
    max-height: 42px;
  }

  .section {
    padding: 52px 0;
  }

  .section--interlude {
    padding: 0;
  }

  .interlude-band,
  .interlude-band__inner {
    min-height: 164px;
  }

  .interlude-band__inner {
    padding: 20px 0 18px;
  }

  .interlude-band__kicker {
    gap: 10px;
    font-size: 0.66rem;
  }

  .interlude-band__kicker::before {
    width: 32px;
  }

  .interlude-band p {
    font-size: clamp(1rem, 6.2vw, 1.36rem);
  }

  .contact-panel {
    border-radius: 0;
  }

  .contact-panel__form,
  .contact-panel__info {
    padding: 18px;
  }

  .services-visual__panel {
    border-radius: 24px;
  }

}

/* Services Redesign */
#servicios.section--services {
  display: block;
  min-height: 0;
  padding-block: 0;
  overflow: visible;
  isolation: isolate;
}

#servicios.section--services::before,
#servicios.section--services::after {
  content: none;
}

#servicios.section--services > .container {
  position: relative;
  z-index: 1;
  width: 100%;
}

.services-shell {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(340px, 0.94fr);
  gap: 0;
  width: 100%;
  min-height: clamp(560px, calc(100svh - var(--header-height)), 728px);
  border: 0;
  border-radius: 0;
  background:
    linear-gradient(135deg, rgba(251, 246, 239, 0.12) 0%, rgba(240, 232, 221, 0.24) 100%),
    url("https://images.pexels.com/photos/834892/pexels-photo-834892.jpeg?auto=compress&cs=tinysrgb&w=1800&dpr=1")
      center/cover no-repeat;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.24),
    inset 0 -1px 0 rgba(87, 87, 86, 0.12);
  overflow: hidden;
  isolation: isolate;
}

.services-shell::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04) 0%, rgba(255, 255, 255, 0) 18%),
    radial-gradient(circle at 74% 14%, rgba(255, 116, 3, 0.08), transparent 22%);
  pointer-events: none;
  z-index: 0;
}

.services-shell::after {
  content: "";
  position: absolute;
  inset: 0 0 0 48%;
  background: linear-gradient(90deg, rgba(251, 246, 239, 0) 0%, rgba(251, 246, 239, 0.08) 16%, rgba(251, 246, 239, 0.24) 100%);
  opacity: 1;
  pointer-events: none;
  z-index: 0;
}

.services-media {
  position: relative;
  min-height: 100%;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08) 0%, rgba(15, 17, 20, 0.18) 100%),
    linear-gradient(90deg, rgba(12, 14, 16, 0.16) 0%, rgba(12, 14, 16, 0.04) 30%, rgba(12, 14, 16, 0) 58%);
}

.services-media::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.06) 0%, rgba(16, 17, 18, 0) 26%, rgba(16, 17, 18, 0.18) 100%),
    linear-gradient(90deg, rgba(20, 20, 21, 0.08) 0%, rgba(20, 20, 21, 0) 36%);
  pointer-events: none;
}

.services-media::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 24%;
  background: linear-gradient(180deg, rgba(20, 20, 21, 0) 0%, rgba(20, 20, 21, 0.28) 100%);
  pointer-events: none;
}

.services-media__label {
  position: absolute;
  left: clamp(20px, 2.4vw, 34px);
  bottom: clamp(20px, 2.8vw, 34px);
  z-index: 1;
  display: grid;
  gap: 12px;
  width: min(340px, 58%);
  padding: 18px 20px 18px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 20px;
  background:
    linear-gradient(180deg, rgba(255, 252, 248, 0.78) 0%, rgba(250, 243, 235, 0.64) 100%);
  box-shadow:
    0 16px 36px rgba(41, 34, 27, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.5);
  -webkit-backdrop-filter: blur(10px) saturate(1.05);
  backdrop-filter: blur(10px) saturate(1.05);
}

.services-media__label::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background:
    linear-gradient(135deg, rgba(255, 116, 3, 0.08) 0%, rgba(255, 116, 3, 0) 42%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0) 100%);
  pointer-events: none;
}

.services-media__kicker {
  margin: 0;
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
  color: rgba(255, 116, 3, 0.96);
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.services-media__kicker::before {
  content: "";
  width: 28px;
  height: 1px;
  background: rgba(255, 116, 3, 0.72);
}

.services-media__label p {
  position: relative;
  margin: 0;
  color: rgba(34, 31, 28, 0.86);
  font-size: 0.9rem;
  line-height: 1.62;
}

.services-panel {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-rows: auto 1fr;
  gap: clamp(24px, 2.8vh, 36px);
  align-content: stretch;
  padding: clamp(28px, 3vw, 44px) clamp(22px, 2.8vw, 36px);
  background: rgba(255, 250, 244, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-left: 0;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}

.services-panel::before {
  content: none;
}

.services-panel::after {
  content: "";
  position: absolute;
  left: 0;
  top: clamp(24px, 3vh, 34px);
  bottom: clamp(24px, 3vh, 34px);
  width: 3px;
  background: var(--color-accent);
  opacity: 0.96;
  transform: translateX(-50%);
  pointer-events: none;
}

.services-panel__header,
.services-list {
  position: relative;
  z-index: 1;
}

.services-panel__header {
  display: grid;
  gap: 12px;
}

.services-panel__header h2 {
  margin: 0;
  font-size: clamp(2.08rem, 2.9vw, 3.22rem);
  line-height: 0.94;
  letter-spacing: -0.04em;
  color: var(--color-text);
}

.services-panel__header p {
  margin: 0;
  max-width: 32ch;
  color: var(--color-muted-dark);
  font-size: 0.98rem;
  line-height: 1.58;
}

.services-list {
  display: grid;
  align-content: end;
  gap: 0;
}

.services-item {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 0 16px;
  align-items: start;
  padding: 18px 0;
  border-top: 1px solid rgba(87, 87, 86, 0.16);
}

.services-item:first-child {
  padding-top: 0;
  border-top: 0;
}

.services-item__icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(255, 116, 3, 0.14) 0%, rgba(255, 116, 3, 0.08) 100%);
  box-shadow:
    0 10px 24px rgba(255, 116, 3, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.56);
}

.services-item__icon svg {
  width: 24px;
  height: 24px;
  stroke: var(--color-accent);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.services-item__body {
  display: grid;
  gap: 6px;
}

.services-item__body h3 {
  margin: 0;
  font-family: "Sora", sans-serif;
  font-size: 1.08rem;
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--color-text);
}

.services-item__body p {
  margin: 0;
  color: var(--color-muted-dark);
  font-size: 0.92rem;
  line-height: 1.52;
}

@media (min-width: 761px) {
  #servicios.section--services {
    display: flex;
    align-items: stretch;
    min-height: calc(100vh - var(--header-height));
    min-height: calc(100svh - var(--header-height));
  }

  #servicios.section--services > .container {
    display: flex;
    align-items: stretch;
    flex: 1;
  }

  .services-shell {
    flex: 1;
  }
}

@media (min-width: 761px) and (max-width: 1120px) {
  .services-shell {
    grid-template-columns: minmax(0, 1.06fr) minmax(300px, 0.94fr);
    min-height: clamp(540px, calc(100svh - var(--header-height)), 648px);
  }

  .services-panel {
    padding: 26px 22px;
  }

  .services-panel__header h2 {
    font-size: clamp(1.88rem, 3vw, 2.5rem);
  }

  .services-panel__header p {
    font-size: 0.92rem;
  }

  .services-item {
    grid-template-columns: 46px 1fr;
    gap: 0 14px;
    padding: 16px 0;
  }

  .services-item__icon {
    width: 46px;
    height: 46px;
    border-radius: 14px;
  }

  .services-item__icon svg {
    width: 22px;
    height: 22px;
  }

  .services-item__body h3 {
    font-size: 1rem;
  }

  .services-item__body p {
    font-size: 0.86rem;
  }
}

@media (min-width: 981px) and (max-height: 920px) {
  .services-shell {
    min-height: clamp(500px, calc(100svh - var(--header-height)), 596px);
  }

  .services-media__label {
    width: min(300px, 54%);
    padding: 16px 16px 14px;
  }

  .services-panel {
    gap: 22px;
    padding: 24px 20px;
  }

  .services-panel__header {
    gap: 10px;
  }

  .services-panel__header h2 {
    font-size: clamp(1.72rem, 2.3vw, 2.3rem);
  }

  .services-panel__header p {
    font-size: 0.88rem;
    max-width: 30ch;
  }

  .services-item {
    grid-template-columns: 42px 1fr;
    gap: 0 12px;
    padding: 14px 0;
  }

  .services-item__icon {
    width: 42px;
    height: 42px;
    border-radius: 13px;
  }

  .services-item__icon svg {
    width: 20px;
    height: 20px;
  }

  .services-item__body h3 {
    font-size: 0.96rem;
  }

  .services-item__body p {
    font-size: 0.82rem;
  }
}

@media (max-width: 980px) {
  .section--company {
    min-height: 0;
  }

  .company-layout {
    grid-template-columns: 1fr;
    gap: 24px;
    min-height: 0;
    padding-block: 36px 34px;
  }

  .company-visual {
    min-height: clamp(290px, 44vw, 390px);
    gap: 20px;
    max-width: min(700px, 100%);
    padding: 20px 0 0;
  }

  .company-visual::before {
    height: 68%;
    filter: blur(12px);
  }

  .company-copy {
    gap: 12px;
    max-width: 520px;
  }

  .company-copy h2 {
    max-width: 12ch;
    font-size: clamp(1.86rem, 4.5vw, 2.58rem);
  }

  .company-highlight {
    max-width: 38ch;
    font-size: clamp(0.9rem, 1.45vw, 0.98rem);
  }

  .company-metrics {
    max-width: min(640px, 100%);
  }

  .company-content {
    padding: 20px 22px;
  }

  .company-panel {
    column-count: 1;
    column-gap: 0;
  }

  .company-panel p {
    font-size: 0.96rem;
  }

  #servicios.section--services {
    min-height: 0;
    padding-block: 0;
  }

  #servicios.section--services > .container {
    display: block;
  }

  .services-shell {
    grid-template-columns: 1fr;
    min-height: 0;
    border-radius: 0;
  }

  .services-shell::after {
    content: none;
  }

  .services-media {
    min-height: 380px;
  }

  .services-panel {
    border-left: 0;
    border-top: 1px solid rgba(87, 87, 86, 0.14);
    gap: 24px;
    padding: 24px 22px 22px;
    box-shadow: none;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }

  .services-panel::after {
    content: none;
  }
}

@media (max-width: 760px) {
  .section--company {
    --company-bg-shift-x: 22px;
    --company-bg-shift-y: 18px;
    --company-bg-scale-start: 1.03;
    --company-bg-scale-end: 1.055;
    --company-bg-duration: 20s;
    --company-grid-size: 96px;
    --company-grid-line-alpha: 0.05;
    --company-grid-column-alpha: 0.045;
    padding-block: 50px 54px;
  }

  .section--company::after {
    background-position:
      center,
      center,
      center,
      center,
      20px 22px,
      20px 22px;
  }

  .company-layout {
    gap: 20px;
    padding-block: 34px 30px;
  }

  .company-visual {
    min-height: 270px;
    gap: 18px;
    padding: 12px 0 0;
  }

  .company-visual::before {
    height: 70%;
  }

  .company-copy {
    gap: 12px;
  }

  .company-kicker {
    font-size: 0.68rem;
  }

  .company-kicker::before {
    width: 34px;
  }

  .company-copy h2 {
    max-width: 12ch;
    font-size: clamp(1.76rem, 6vw, 2.16rem);
    line-height: 1.04;
  }

  .company-highlight {
    max-width: none;
    padding-left: 14px;
    margin-top: 8px;
    font-size: 0.87rem;
    line-height: 1.55;
  }

  .company-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px 16px;
    max-width: 100%;
    padding-top: 14px;
  }

  .company-metric {
    gap: 5px;
  }

  .company-metric:last-child {
    grid-column: 1 / -1;
  }

  .company-metric strong {
    font-size: clamp(1.22rem, 3.6vw, 1.48rem);
  }

  .company-metric span {
    font-size: 0.58rem;
    letter-spacing: 0.12em;
  }

  .company-content {
    padding: 18px 18px 20px;
  }

  .company-panel p {
    font-size: 0.9rem;
    line-height: 1.66;
  }

  #servicios.section--services {
    padding-block: 0;
  }

  .services-shell {
    border-radius: 0;
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.24),
      inset 0 -1px 0 rgba(87, 87, 86, 0.12);
  }

  .services-media {
    min-height: 300px;
  }

  .services-media__label {
    left: 16px;
    right: 16px;
    bottom: 16px;
    width: auto;
    max-width: none;
    padding: 14px 14px 12px;
    border-radius: 18px;
  }

  .services-media__label p {
    font-size: 0.82rem;
  }

  .services-panel {
    gap: 20px;
    padding: 20px 18px 18px;
  }

  .services-panel__header {
    gap: 10px;
  }

  .services-panel__header h2 {
    font-size: clamp(1.68rem, 7.6vw, 2.3rem);
  }

  .services-panel__header p {
    max-width: none;
    font-size: 0.9rem;
  }

  .services-item {
    grid-template-columns: 42px 1fr;
    gap: 0 12px;
    padding: 14px 0;
  }

  .services-item__icon {
    width: 42px;
    height: 42px;
    border-radius: 14px;
  }

  .services-item__icon svg {
    width: 20px;
    height: 20px;
  }

  .services-item__body h3 {
    font-size: 1rem;
  }

  .services-item__body p {
    font-size: 0.84rem;
  }
}

@media (max-width: 480px) {
  .section--company {
    --company-bg-shift-x: 14px;
    --company-bg-shift-y: 12px;
    --company-bg-scale-start: 1.025;
    --company-bg-scale-end: 1.04;
    --company-bg-duration: 22s;
    --company-grid-size: 72px;
    --company-grid-line-alpha: 0.045;
    --company-grid-column-alpha: 0.04;
    padding-block: 44px 48px;
  }

  .section--company::after {
    background-position:
      center,
      center,
      center,
      center,
      16px 18px,
      16px 18px;
  }

  .company-visual::after {
    animation-duration: 18s;
  }

  .company-visual {
    min-height: 228px;
    gap: 16px;
    padding: 10px 0 0;
  }

  .company-visual::before {
    height: 72%;
    filter: blur(10px);
  }

  .company-copy h2 {
    max-width: 12ch;
    font-size: clamp(1.72rem, 8vw, 2.08rem);
    line-height: 1.03;
  }

  .company-highlight {
    padding-left: 12px;
    font-size: 0.84rem;
    line-height: 1.54;
  }

  .company-metrics {
    grid-template-columns: 1fr;
    gap: 10px;
    padding-top: 12px;
  }

  .company-metric strong {
    font-size: 1.22rem;
  }

  .company-metric span {
    font-size: 0.53rem;
  }

  .company-metric:last-child {
    grid-column: auto;
  }

  .company-content {
    padding: 16px 14px 18px;
    -webkit-backdrop-filter: blur(18px) saturate(140%) brightness(1.04);
    backdrop-filter: blur(18px) saturate(140%) brightness(1.04);
  }

  .company-panel p {
    font-size: 0.88rem;
    line-height: 1.64;
  }

  .company-panel p + p {
    padding-top: 0;
    border-top: 0;
  }

  .services-media {
    min-height: 260px;
  }

  .services-panel {
    padding: 18px 16px 16px;
  }

  .services-panel__header h2 {
    font-size: clamp(1.52rem, 8.2vw, 2.02rem);
  }

  .services-panel__header p,
  .services-item__body p {
    font-size: 0.82rem;
  }
}

@media (max-width: 480px) and (max-height: 720px) {
  .section--company {
    padding-block: 38px 42px;
  }

  .company-layout {
    gap: 12px;
    padding-block: 26px 24px;
  }

  .company-visual {
    min-height: 210px;
  }

  .company-metrics {
    gap: 8px;
    padding-top: 10px;
  }

  .company-panel p {
    font-size: 0.86rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .section--company::before,
  .company-visual::after {
    animation: none;
    transform: none;
  }

  .hero-scene,
  .hero-scene__panel,
  .hero-scene__footer,
  .hero-scene__image,
  .hero-scene__glow,
  .hero-scene__grid,
  .hero-metrics,
  .hero-metric,
  .hero-scene__jump,
  .hero-scene__jump::before,
  .hero-scene__nav button,
  .clients-reel__marquee,
  .clients-reel__logo,
  .clients-proof span,
  .clients-proof span::before,
  .button,
  .main-nav a::after {
    transition: none;
    animation: none;
  }

  .hero-metrics,
  .hero-metric,
  .clients-proof span,
  .clients-proof span:hover,
  .clients-proof span:focus-visible {
    opacity: 1;
    transform: none;
    filter: none;
  }
}
