:root {
  --ink: #0b0d0c;
  --ink-soft: #161a18;
  --paper: #f0ede7;
  --paper-bright: #f8f6f1;
  --green: #42bf91;
  --green-bright: #4bdba2;
  --muted-dark: #5f645f;
  --muted-light: #b5bab5;
  --line-dark: rgba(11, 13, 12, .18);
  --line-light: rgba(255, 255, 255, .17);
  --display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --body: "Manrope", "Helvetica Neue", Arial, sans-serif;
  --shell: min(1280px, calc(100vw - 80px));
  --header-height: 76px;
  --ease: cubic-bezier(.22, .68, 0, 1);
}

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

html {
  scroll-behavior: smooth;
  background: var(--ink);
}

body {
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--body);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

section[id] {
  scroll-margin-top: var(--header-height);
}

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

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

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

:focus-visible {
  outline: 2px solid var(--green-bright);
  outline-offset: 5px;
}

::selection {
  color: var(--ink);
  background: var(--green-bright);
}

.shell,
.header-shell {
  width: var(--shell);
  margin-inline: auto;
}

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

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 12px;
  left: 12px;
  padding: 10px 16px;
  color: var(--ink);
  background: var(--green-bright);
  transform: translateY(-180%);
  transition: transform .2s ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.page-progress {
  position: fixed;
  z-index: 310;
  inset: 0 auto auto 0;
  width: 0;
  height: 3px;
  background: var(--green-bright);
  pointer-events: none;
}

.site-header {
  position: fixed;
  z-index: 300;
  inset: 0 0 auto;
  height: var(--header-height);
  color: #fff;
  border-bottom: 1px solid var(--line-light);
  transition: background .25s ease, border-color .25s ease;
}

.site-header.scrolled,
.site-header.menu-visible {
  background: rgba(11, 13, 12, .96);
  border-color: rgba(255, 255, 255, .12);
  backdrop-filter: blur(16px);
}

.header-shell {
  display: flex;
  height: 100%;
  align-items: center;
  justify-content: space-between;
}

.brand {
  position: relative;
  z-index: 302;
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 12px;
  font-family: var(--display);
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -.02em;
  text-transform: uppercase;
}

.brand-mark {
  position: relative;
  display: inline-block;
  width: 25px;
  height: 25px;
  border: 1px solid currentColor;
  border-radius: 50%;
}

.brand-mark i {
  position: absolute;
  top: 6px;
  width: 5px;
  height: 11px;
  border-radius: 4px;
  background: currentColor;
}

.brand-mark i:first-child { left: 6px; }
.brand-mark i:last-child { right: 6px; background: var(--green-bright); }

.main-nav,
.main-nav ul {
  display: flex;
  align-items: center;
}

.main-nav {
  gap: 30px;
}

.main-nav ul {
  gap: 30px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.main-nav a {
  font-size: 13px;
  font-weight: 600;
}

.main-nav li a {
  position: relative;
  color: rgba(255, 255, 255, .78);
}

.main-nav li a::after {
  position: absolute;
  right: 0;
  bottom: -8px;
  left: 0;
  height: 1px;
  content: "";
  background: var(--green-bright);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .25s ease;
}

.main-nav li a:hover,
.main-nav li a:focus-visible {
  color: #fff;
}

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

.nav-cta {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  padding: 0 18px;
  color: var(--ink);
  border: 1px solid var(--green-bright);
  background: var(--green-bright);
  transition: color .25s ease, background .25s ease, transform .25s ease;
}

.nav-cta:hover,
.nav-cta:focus-visible {
  color: #fff;
  background: transparent;
  transform: translateY(-1px);
}

.menu-toggle {
  position: relative;
  z-index: 302;
  display: none;
  width: 46px;
  height: 46px;
  padding: 0;
  color: inherit;
  border: 1px solid rgba(255, 255, 255, .54);
  background: transparent;
  cursor: pointer;
}

.menu-toggle i {
  position: absolute;
  left: 13px;
  width: 18px;
  height: 1px;
  background: currentColor;
  transition: top .25s ease, transform .25s ease;
}

.menu-toggle i:first-child { top: 18px; }
.menu-toggle i:last-child { top: 26px; }
.menu-toggle[aria-expanded="true"] i:first-child { top: 22px; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] i:last-child { top: 22px; transform: rotate(-45deg); }

.agency-hero {
  position: relative;
  min-height: 620px;
  overflow: hidden;
  color: #fff;
  background:
    linear-gradient(115deg, rgba(66, 191, 145, .08), transparent 38%),
    var(--ink);
}

.agency-hero::before {
  position: absolute;
  top: 76px;
  right: 0;
  width: 34vw;
  height: 1px;
  content: "";
  background: rgba(75, 219, 162, .42);
}

.hero-layout {
  display: flex;
  min-height: 620px;
  align-items: center;
  padding-top: 132px;
  padding-bottom: 70px;
}

.hero-copy {
  width: min(100%, 790px);
}

.eyebrow,
.section-label {
  margin: 0;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.eyebrow {
  margin-bottom: 22px;
  color: var(--green-bright);
}

.hero-copy h1,
.section h2,
.production-bridge h2,
.contact h2 {
  margin: 0;
  font-family: var(--display);
  font-weight: 600;
  letter-spacing: -.03em;
}

.hero-copy h1 {
  max-width: 16ch;
  font-size: clamp(3.125rem, 4.65vw, 3.75rem);
  line-height: 1.08;
}

.hero-copy h1 span {
  color: var(--green-bright);
}

.hero-summary {
  max-width: 54ch;
  margin: 26px 0 0;
  color: rgba(255, 255, 255, .72);
  font-size: 17px;
  line-height: 1.62;
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 24px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  border: 1px solid currentColor;
  font-size: 13px;
  font-weight: 600;
  transition: color .25s ease, background .25s ease, transform .25s ease;
}

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

.button-green {
  color: var(--ink);
  border-color: var(--green-bright);
  background: var(--green-bright);
}

.button-green:hover,
.button-green:focus-visible {
  color: #fff;
  background: transparent;
}

.text-link {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  border-bottom: 1px solid currentColor;
  font-size: 13px;
  font-weight: 600;
}

.text-link-light { color: rgba(255, 255, 255, .8); }
.text-link-dark { color: var(--ink); }

.clients {
  position: relative;
  display: flex;
  min-height: 116px;
  align-items: center;
  overflow: hidden;
  background: var(--paper-bright);
}

.logo-marquee {
  width: 100%;
  overflow: hidden;
}

.logo-track,
.logo-set {
  display: flex;
  width: max-content;
  align-items: center;
}

.logo-track {
  animation: logoMove 38s linear infinite;
  will-change: transform;
}

.clients.paused .logo-track {
  animation-play-state: paused;
}

.logo-set {
  gap: clamp(58px, 6vw, 106px);
  padding-right: clamp(58px, 6vw, 106px);
}

.logo-set img {
  width: auto;
  max-width: 142px;
  height: 44px;
  object-fit: contain;
  filter: grayscale(1) contrast(1.4);
  opacity: .64;
}

.marquee-toggle {
  position: absolute;
  z-index: 2;
  right: 16px;
  bottom: 10px;
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  padding: 0;
  color: var(--ink);
  border: 0;
  background: rgba(248, 246, 241, .88);
  cursor: pointer;
  font-size: 12px;
}

@keyframes logoMove {
  to { transform: translateX(-50%); }
}

.section {
  padding-block: clamp(72px, 8vw, 104px);
}

.section-intro,
.process-layout,
.contact-grid {
  display: grid;
  grid-template-columns: minmax(190px, .62fr) minmax(0, 1.38fr);
  gap: clamp(54px, 8vw, 120px);
}

.section-intro {
  align-items: start;
  margin-bottom: 58px;
}

.section-label {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 7px;
  color: var(--muted-light);
}

.section-label::before {
  display: block;
  width: 34px;
  height: 1px;
  flex: 0 0 auto;
  content: "";
  background: var(--green);
}

.section-label-dark {
  color: rgba(11, 13, 12, .64);
}

.section-label-dark::before {
  background: var(--ink);
}

.section h2,
.production-bridge h2,
.contact h2 {
  max-width: 21ch;
  font-size: clamp(2.125rem, 3.3vw, 2.75rem);
  line-height: 1.12;
}

.section-intro > div > p,
.process-copy > p:last-child {
  max-width: 58ch;
  margin: 22px 0 0;
  color: var(--muted-light);
  font-size: 16px;
}

.services {
  color: #fff;
  background: var(--ink);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line-light);
  border-left: 1px solid var(--line-light);
}

.service-card {
  position: relative;
  display: flex;
  min-height: 290px;
  flex-direction: column;
  justify-content: flex-end;
  padding: 30px;
  border-right: 1px solid var(--line-light);
  border-bottom: 1px solid var(--line-light);
  transition: color .3s ease, background .3s ease;
}

.service-card:hover {
  color: var(--ink);
  background: var(--green);
}

.service-signal {
  position: absolute;
  top: 25px;
  right: 28px;
  color: rgba(255, 255, 255, .28);
  font-family: var(--display);
  font-size: 22px;
  font-weight: 500;
}

.service-card:hover .service-signal {
  color: rgba(11, 13, 12, .5);
}

.service-card h3 {
  max-width: 17ch;
  margin: 0 0 14px;
  font-family: var(--display);
  font-size: clamp(1.375rem, 1.9vw, 1.625rem);
  font-weight: 600;
  line-height: 1.16;
  letter-spacing: -.02em;
}

.service-card p {
  max-width: 42ch;
  margin: 0;
  color: var(--muted-light);
  font-size: 14px;
  line-height: 1.58;
}

.service-card:hover p {
  color: rgba(11, 13, 12, .72);
}

.production-bridge {
  color: var(--ink);
  background: var(--paper-bright);
}

.production-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(310px, .85fr);
  gap: clamp(60px, 9vw, 150px);
  align-items: end;
  padding-block: clamp(72px, 7vw, 96px);
}

.production-bridge h2 {
  margin-top: 20px;
}

.production-copy {
  padding-left: 32px;
  border-left: 3px solid var(--green);
}

.production-copy p {
  max-width: 51ch;
  margin: 0 0 26px;
  color: var(--muted-dark);
  font-size: 16px;
}

.button-dark {
  color: #fff;
  border-color: var(--ink);
  background: var(--ink);
}

.button-dark:hover,
.button-dark:focus-visible {
  color: var(--ink);
  background: transparent;
}

.process {
  background: var(--paper);
}

.process-layout {
  align-items: start;
}

.process-copy h2 {
  margin-top: 25px;
}

.process-copy > p:last-child {
  color: var(--muted-dark);
}

.steps {
  border-top: 1px solid var(--line-dark);
}

.step {
  display: grid;
  min-height: 152px;
  grid-template-columns: 52px 1fr;
  gap: 24px;
  padding: 30px 0;
  border-bottom: 1px solid var(--line-dark);
}

.step > span {
  padding-top: 5px;
  color: #178661;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .12em;
}

.step h3 {
  margin: 0 0 9px;
  font-family: var(--display);
  font-size: clamp(1.375rem, 2vw, 1.625rem);
  font-weight: 600;
  line-height: 1.18;
  letter-spacing: -.02em;
}

.step p {
  max-width: 58ch;
  margin: 0;
  color: var(--muted-dark);
  font-size: 15px;
  line-height: 1.58;
}

.contact {
  padding-top: clamp(72px, 8vw, 104px);
  color: var(--ink);
  background: var(--green);
}

.contact-grid {
  align-items: start;
  padding-bottom: clamp(72px, 8vw, 104px);
}

.contact h2 {
  max-width: 18ch;
}

.contact-grid > div > p {
  max-width: 58ch;
  margin: 22px 0 0;
  font-size: 16px;
}

.contact-actions {
  margin-top: 30px;
}

.site-footer {
  display: grid;
  min-height: 96px;
  grid-template-columns: 1fr 1.2fr auto auto;
  gap: 34px;
  align-items: center;
  border-top: 1px solid rgba(11, 13, 12, .28);
  font-size: 11px;
  font-weight: 600;
}

.site-footer strong {
  font-family: var(--display);
  font-size: 18px;
  text-transform: uppercase;
}

.site-footer a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

.whatsapp-float {
  position: fixed;
  z-index: 250;
  right: max(22px, env(safe-area-inset-right));
  bottom: max(22px, calc(env(safe-area-inset-bottom) + 12px));
  display: grid;
  width: 56px;
  height: 56px;
  place-items: center;
  border-radius: 50%;
  filter: drop-shadow(0 9px 16px rgba(0, 0, 0, .22));
}

.whatsapp-float::before,
.whatsapp-float::after {
  position: absolute;
  inset: 5px;
  z-index: -1;
  border: 1px solid rgba(36, 198, 96, .6);
  border-radius: 50%;
  content: "";
  animation: whatsappRadar 3s ease-out infinite;
}

.whatsapp-float::after {
  animation-delay: 1.5s;
}

.whatsapp-float img {
  width: 56px;
  height: 56px;
  object-fit: contain;
}

@keyframes whatsappRadar {
  0% { opacity: .55; transform: scale(.82); }
  72%, 100% { opacity: 0; transform: scale(1.55); }
}

.reveal {
  opacity: 1;
  transform: none;
}

.js-enabled .reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .65s ease, transform .65s var(--ease);
}

.js-enabled .reveal.visible {
  opacity: 1;
  transform: none;
}

@media (max-width: 1080px) {
  :root { --shell: min(100% - 48px, 1280px); }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .production-layout { grid-template-columns: 1fr 1fr; gap: 60px; }
  .site-footer { grid-template-columns: 1fr 1fr; padding-block: 24px; }
}

@media (max-width: 860px) {
  :root { --header-height: 70px; }
  .site-header.menu-visible {
    height: 100svh;
    background: var(--ink);
    backdrop-filter: none;
  }
  .site-header.menu-visible .header-shell { align-items: flex-start; padding-top: 12px; }
  .site-header.menu-visible .brand { margin-top: 1px; }
  .menu-toggle { display: block; }
  .main-nav {
    position: absolute;
    inset: var(--header-height) 0 0;
    display: flex;
    height: calc(100svh - var(--header-height));
    flex-direction: column;
    align-items: stretch;
    gap: 28px;
    overflow-y: auto;
    padding: 22px 24px 34px;
    color: #fff;
    background: var(--ink);
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-12px);
    transition: visibility 0s linear .25s, opacity .25s ease, transform .25s ease;
  }
  .main-nav.open {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
    transform: none;
    transition-delay: 0s;
  }
  .main-nav ul { flex-direction: column; align-items: stretch; gap: 0; }
  .main-nav li { border-bottom: 1px solid var(--line-light); }
  .main-nav li:first-child { border-top: 1px solid var(--line-light); }
  .main-nav li a { display: flex; min-height: 70px; align-items: center; color: #fff; font-family: var(--display); font-size: 24px; font-weight: 500; }
  .main-nav li a::after { display: none; }
  .nav-cta { align-self: stretch; justify-content: center; font-size: 15px; }
  .agency-hero,
  .hero-layout { min-height: 560px; }
  .hero-layout { padding-top: 116px; padding-bottom: 54px; }
  .hero-copy h1 { font-size: clamp(2.75rem, 6.2vw, 3.35rem); }
  .section-intro,
  .process-layout,
  .contact-grid { grid-template-columns: 1fr; gap: 32px; }
  .production-layout { grid-template-columns: 1fr; gap: 34px; }
  .production-copy { max-width: 640px; }
}

@media (max-width: 680px) {
  :root { --shell: calc(100vw - 40px); }
  .agency-hero,
  .hero-layout { min-height: 0; }
  .hero-layout { display: block; padding-top: 122px; padding-bottom: 68px; }
  .hero-copy h1 { max-width: 12ch; font-size: clamp(2.125rem, 9.7vw, 2.5rem); line-height: 1.12; }
  .hero-summary { margin-top: 21px; font-size: 16px; }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 14px; margin-top: 29px; }
  .button { width: 100%; min-height: 52px; padding-inline: 16px; }
  .clients { min-height: 104px; }
  .logo-set { gap: 52px; padding-right: 52px; }
  .logo-set img { max-width: 116px; height: 38px; }
  .marquee-toggle { right: 6px; bottom: 4px; background: rgba(248, 246, 241, .94); }
  .section { padding-block: 62px; }
  .section-intro { margin-bottom: 42px; }
  .section h2,
  .production-bridge h2,
  .contact h2 { font-size: clamp(1.75rem, 8vw, 2rem); line-height: 1.15; }
  .service-grid { grid-template-columns: 1fr; }
  .service-card { min-height: 238px; padding: 25px 22px; }
  .service-card h3 { font-size: clamp(1.3125rem, 6vw, 1.5rem); }
  .production-layout { padding-block: 60px; }
  .production-copy { padding-left: 22px; }
  .step { min-height: 0; grid-template-columns: 40px 1fr; gap: 14px; padding-block: 25px; }
  .step h3 { font-size: clamp(1.3125rem, 6vw, 1.5rem); }
  .contact { padding-top: 62px; }
  .contact-grid { padding-bottom: 62px; }
  .contact-actions { align-items: flex-start; flex-direction: column; gap: 12px; }
  .contact-actions .text-link { align-self: flex-start; }
  .site-footer { grid-template-columns: 1fr; gap: 8px; padding-block: 26px; }
  .whatsapp-float { right: max(16px, env(safe-area-inset-right)); bottom: max(16px, calc(env(safe-area-inset-bottom) + 8px)); width: 52px; height: 52px; }
  .whatsapp-float img { width: 52px; height: 52px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .logo-marquee { overflow-x: auto; scrollbar-width: thin; }
  .logo-track { width: max-content; animation: none; transform: none; }
  .logo-set[aria-hidden="true"] { display: none; }
  .marquee-toggle { display: none; }
  .js-enabled .reveal { opacity: 1; transform: none; }
  .whatsapp-float::before,
  .whatsapp-float::after { display: none; }
}

@media (forced-colors: active) {
  .brand-mark i,
  .page-progress,
  .section-label::before { forced-color-adjust: none; }
}
