:root {
  --ink: #111315;
  --ink-soft: #1a1d20;
  --paper: #f3f1ec;
  --white: #ffffff;
  --muted: #65696d;
  --line: rgba(17, 19, 21, .15);
  --cyan: #00b6df;
  --magenta: #ed168c;
  --yellow: #ffd42a;
  --shell: min(1180px, calc(100vw - 48px));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: "DM Sans", sans-serif; -webkit-font-smoothing: antialiased; }
body.menu-open { overflow: hidden; }
img { display: block; width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
.shell { width: var(--shell); margin-inline: auto; }
.skip-link { position: fixed; left: 16px; top: -80px; z-index: 1000; background: var(--white); color: var(--ink); padding: 12px 16px; }
.skip-link:focus { top: 16px; }

.site-header { position: fixed; inset: 0 0 auto; z-index: 100; color: var(--white); transition: background .25s, box-shadow .25s; }
.site-header.scrolled { background: rgba(17, 19, 21, .96); box-shadow: 0 1px rgba(255,255,255,.08); }
.header-inner { min-height: 88px; display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.brand { display: inline-flex; align-items: center; gap: 12px; flex: 0 0 auto; }
.brand-mark { position: relative; display: grid; place-items: center; width: 47px; height: 47px; background: var(--white); color: var(--ink); font: 800 15px/1 "Manrope", sans-serif; letter-spacing: -.04em; }
.brand-mark i { position: absolute; right: 0; bottom: 0; width: 10px; height: 10px; background: var(--magenta); box-shadow: -10px 0 var(--cyan), 0 -10px var(--yellow); }
.brand-copy { display: grid; gap: 2px; }
.brand-copy strong { font: 700 17px/1.1 "Manrope", sans-serif; }
.brand-copy small { color: rgba(255,255,255,.58); font-size: 10px; text-transform: uppercase; letter-spacing: .13em; }
.main-nav { display: flex; align-items: center; gap: 30px; font-size: 14px; font-weight: 600; }
.main-nav > a:not(.nav-cta) { color: rgba(255,255,255,.72); transition: color .2s; }
.main-nav > a:hover { color: var(--white); }
.nav-cta { border: 1px solid rgba(255,255,255,.35); padding: 12px 17px; transition: background .2s, color .2s; }
.nav-cta:hover { background: var(--white); color: var(--ink) !important; }
.menu-toggle { display: none; border: 0; background: transparent; padding: 10px; }
.menu-toggle span { display: block; width: 24px; height: 2px; margin: 5px 0; background: var(--white); transition: transform .2s; }

.hero { position: relative; min-height: 790px; background: var(--ink); color: var(--white); overflow: hidden; }
.hero::after { content: ""; position: absolute; inset: auto 0 0; height: 4px; background: var(--magenta); }
.hero-grid { min-height: 790px; display: grid; grid-template-columns: 1.08fr .92fr; align-items: stretch; }
.hero-copy { padding: 176px 70px 82px 0; align-self: center; }
.eyebrow, .kicker { margin: 0 0 24px; font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.eyebrow { display: flex; align-items: center; gap: 12px; color: rgba(255,255,255,.58); }
.eyebrow span { width: 30px; height: 2px; background: var(--cyan); box-shadow: 10px 0 var(--magenta), 20px 0 var(--yellow); }
h1, h2, h3 { font-family: "Manrope", sans-serif; letter-spacing: -.045em; }
h1 { max-width: 740px; margin: 0; font-size: clamp(54px, 6.6vw, 92px); line-height: .97; font-weight: 700; }
h1 em { display: block; color: var(--yellow); font-style: normal; }
.hero-lead { max-width: 650px; margin: 32px 0 0; color: rgba(255,255,255,.66); font-size: 19px; line-height: 1.65; }
.hero-actions { display: flex; align-items: center; gap: 28px; margin-top: 38px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 28px; min-height: 54px; padding: 0 22px; font-size: 14px; font-weight: 700; transition: transform .2s, background .2s; }
.button:hover { transform: translateY(-2px); }
.button-light { background: var(--white); color: var(--ink); }
.button-accent { background: var(--yellow); color: var(--ink); }
.text-link { display: inline-flex; align-items: center; gap: 9px; padding-bottom: 5px; border-bottom: 1px solid rgba(255,255,255,.35); font-size: 14px; font-weight: 700; }
.hero-proof { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 64px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.14); }
.hero-proof div { display: grid; gap: 4px; }
.hero-proof strong { font: 700 14px/1.2 "Manrope", sans-serif; }
.hero-proof span { color: rgba(255,255,255,.45); font-size: 12px; }
.hero-visual { position: relative; min-height: 790px; overflow: hidden; background: var(--ink-soft); }
.hero-visual::after { content: ""; position: absolute; inset: 0; background: rgba(8,10,12,.25); }
.hero-visual img { height: 100%; object-fit: cover; filter: saturate(.8) contrast(1.05); }
.visual-label { position: absolute; z-index: 2; left: 32px; bottom: 38px; display: flex; gap: 16px; color: rgba(255,255,255,.8); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; }
.cmy-signature { position: absolute; z-index: 3; right: 0; top: 88px; display: flex; }
.cmy-signature i { width: 10px; height: 96px; background: var(--cyan); }
.cmy-signature i:nth-child(2) { background: var(--magenta); }
.cmy-signature i:nth-child(3) { background: var(--yellow); }

.partner-strip { background: var(--white); border-bottom: 1px solid var(--line); }
.strip-inner { min-height: 112px; display: flex; align-items: center; justify-content: space-between; gap: 36px; }
.strip-inner p { color: var(--muted); font-size: 13px; }
.strip-inner div { display: flex; align-items: center; gap: 26px; font: 700 14px/1 "Manrope", sans-serif; }
.strip-inner i { width: 4px; height: 4px; background: var(--magenta); }

.section { padding: 120px 0; }
.section-heading { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(260px, .5fr); gap: 80px; align-items: end; margin-bottom: 72px; }
.section-heading.compact { margin-bottom: 54px; }
.kicker { color: var(--magenta); margin-bottom: 17px; }
.kicker-light { color: var(--yellow); }
h2 { margin: 0; max-width: 820px; font-size: clamp(40px, 5.4vw, 72px); line-height: 1.05; font-weight: 700; }
.section-heading > p { margin: 0 0 6px; color: var(--muted); font-size: 17px; line-height: 1.65; }
.services-list { border-top: 1px solid var(--line); }
.service-row { display: grid; grid-template-columns: 70px 1fr 42px; gap: 36px; align-items: start; padding: 42px 0; border-bottom: 1px solid var(--line); }
.service-number { padding-top: 7px; color: var(--magenta); font-weight: 700; font-size: 12px; }
.service-row > div { display: grid; grid-template-columns: minmax(250px, .7fr) minmax(300px, 1fr); gap: 70px; align-items: start; }
.service-row h3 { margin: 0; font-size: 32px; line-height: 1.1; }
.service-row p { margin: 0; color: var(--muted); font-size: 16px; line-height: 1.65; }
.service-arrow { font-size: 25px; transition: transform .2s; }
.service-row:hover .service-arrow { transform: translate(4px, -4px); }

.company { background: var(--ink); color: var(--white); }
.company-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 90px; align-items: center; }
.company-media { position: relative; }
.company-media::before { content: ""; position: absolute; z-index: 1; inset: 20px auto auto -12px; width: 7px; height: 110px; background: var(--cyan); box-shadow: 7px 0 var(--magenta), 14px 0 var(--yellow); }
.company-media img { height: 630px; object-fit: cover; filter: grayscale(.25) saturate(.75); }
.media-caption { position: absolute; right: -1px; bottom: -1px; background: var(--paper); color: var(--ink); padding: 16px 20px; font: 700 13px/1 "Manrope", sans-serif; }
.company-copy h2 { font-size: clamp(40px, 4.4vw, 64px); }
.company-copy > p:not(.kicker) { max-width: 660px; margin: 28px 0 0; color: rgba(255,255,255,.64); font-size: 17px; line-height: 1.72; }
.principles { display: grid; grid-template-columns: 1fr 1fr; margin-top: 40px; border-top: 1px solid rgba(255,255,255,.15); }
.principles span { padding: 17px 14px 17px 0; border-bottom: 1px solid rgba(255,255,255,.15); font-size: 13px; font-weight: 600; }

.process { background: var(--white); }
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); }
.process-card { min-height: 270px; padding: 30px; border-right: 1px solid var(--line); }
.process-card:last-child { border-right: 0; }
.process-card > span { color: var(--magenta); font-size: 12px; font-weight: 700; }
.process-card h3 { margin: 76px 0 12px; font-size: 25px; }
.process-card p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.55; }

.portfolio { overflow: hidden; }
.dark-link { color: var(--ink); border-color: var(--line); justify-self: end; }
.portfolio-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 22px; }
.work { position: relative; margin: 0; min-height: 340px; overflow: hidden; background: #ddd; }
.work-large { grid-row: span 2; min-height: 702px; }
.work img { height: 100%; object-fit: cover; transition: transform .5s; }
.work:hover img { transform: scale(1.025); }
.work::after { content: ""; position: absolute; inset: 54% 0 0; background: rgba(0,0,0,.68); }
.work figcaption { position: absolute; z-index: 2; left: 25px; right: 25px; bottom: 24px; color: var(--white); display: grid; gap: 3px; }
.work figcaption strong { font: 700 20px/1.2 "Manrope", sans-serif; }
.work figcaption span { color: rgba(255,255,255,.65); font-size: 12px; }

.cta-section { padding: 96px 0; background: var(--ink-soft); color: var(--white); }
.cta-grid { display: grid; grid-template-columns: 1.25fr .75fr; gap: 90px; align-items: end; }
.cta-grid h2 { max-width: 760px; font-size: clamp(40px, 5vw, 68px); }
.cta-side { display: grid; gap: 28px; justify-items: start; }
.cta-side p { margin: 0; color: rgba(255,255,255,.62); line-height: 1.65; }

.site-footer { padding: 70px 0 24px; background: var(--ink); color: var(--white); border-top: 1px solid rgba(255,255,255,.1); }
.footer-top { display: grid; grid-template-columns: 1.3fr .8fr 1fr; gap: 60px; align-items: start; padding-bottom: 58px; }
.footer-contact { display: grid; gap: 8px; }
.footer-contact span { color: rgba(255,255,255,.42); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; }
.footer-contact a { font: 600 18px/1.2 "Manrope", sans-serif; }
.footer-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 24px; color: rgba(255,255,255,.65); font-size: 13px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 24px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.12); color: rgba(255,255,255,.4); font-size: 11px; }
.footer-bottom p { margin: 0; }
.floating-whatsapp { position: fixed; z-index: 90; right: 22px; bottom: 22px; display: flex; align-items: center; gap: 13px; min-height: 48px; padding: 0 8px 0 17px; color: var(--white); background: #168b4e; box-shadow: 0 10px 34px rgba(0,0,0,.22); font-size: 12px; font-weight: 700; }
.floating-whatsapp b { display: grid; place-items: center; width: 32px; height: 32px; background: rgba(255,255,255,.16); }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
  .reveal { opacity: 1; transform: none; }
}

@media (max-width: 980px) {
  :root { --shell: min(100% - 36px, 760px); }
  .menu-toggle { display: block; position: relative; z-index: 102; }
  .main-nav { position: fixed; inset: 0; z-index: 101; display: none; flex-direction: column; justify-content: center; align-items: center; background: var(--ink); font-size: 21px; }
  .main-nav.open { display: flex; }
  .main-nav .nav-cta { margin-top: 16px; }
  .menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
  .hero-grid { grid-template-columns: 1fr; padding-top: 88px; }
  .hero-copy { padding: 80px 0 58px; }
  .hero-visual { min-height: 520px; margin-inline: calc((100vw - var(--shell)) / -2); }
  .cmy-signature { top: 0; }
  .strip-inner { align-items: flex-start; flex-direction: column; justify-content: center; padding: 26px 0; }
  .strip-inner p { margin: 0; }
  .strip-inner div { flex-wrap: wrap; gap: 18px; }
  .section-heading, .section-heading.compact { grid-template-columns: 1fr; gap: 25px; margin-bottom: 50px; }
  .service-row > div { grid-template-columns: 1fr; gap: 15px; }
  .company-grid { grid-template-columns: 1fr; gap: 65px; }
  .company-media { width: 86%; }
  .company-media img { height: 540px; }
  .process-grid { grid-template-columns: 1fr 1fr; }
  .process-card:nth-child(2) { border-right: 0; }
  .process-card:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .cta-grid { grid-template-columns: 1fr; gap: 38px; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
  :root { --shell: calc(100% - 32px); }
  .header-inner { min-height: 75px; }
  .brand-mark { width: 41px; height: 41px; }
  .brand-copy strong { font-size: 15px; }
  .hero-grid { padding-top: 75px; }
  .hero-copy { padding-top: 62px; }
  h1 { font-size: clamp(46px, 14vw, 62px); }
  .hero-lead { font-size: 16px; }
  .hero-actions { align-items: flex-start; flex-direction: column; }
  .hero-proof { gap: 10px; }
  .hero-proof span { font-size: 10px; }
  .hero-visual { min-height: 400px; }
  .visual-label { left: 18px; bottom: 24px; gap: 10px; }
  .section { padding: 82px 0; }
  h2 { font-size: 39px; }
  .service-row { grid-template-columns: 38px 1fr; gap: 14px; padding: 31px 0; }
  .service-row > div { min-width: 0; }
  .service-row h3 { font-size: 25px; }
  .service-arrow { display: none; }
  .company-media { width: calc(100% - 14px); }
  .company-media img { height: 410px; }
  .company-copy h2 { font-size: 39px; }
  .principles { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: 1fr; }
  .process-card { min-height: 220px; border-right: 0; border-bottom: 1px solid var(--line); }
  .process-card:last-child { border-bottom: 0; }
  .process-card h3 { margin-top: 54px; }
  .portfolio-grid { grid-template-columns: 1fr; }
  .work, .work-large { min-height: 400px; grid-row: auto; }
  .dark-link { justify-self: start; }
  .cta-section { padding: 72px 0; }
  .footer-top { grid-template-columns: 1fr; gap: 36px; }
  .footer-brand { grid-column: auto; }
  .footer-bottom { flex-direction: column; gap: 8px; }
  .floating-whatsapp span { display: none; }
  .floating-whatsapp { padding-left: 8px; }
}
