:root {
  --bg: #f3f0e8;
  --paper: #fbfaf6;
  --ink: #15140f;
  --muted: #646056;
  --line: #dad5c8;
  --wine: #2d3bff;
  --wine-dark: #1e2ad6;
  --dark: #0f0f0d;
  --dark-text: #e9e5da;
  --dark-muted: #a9a497;
  --dark-line: #2a2925;
  --warm: #eae6db;
  --gutter: clamp(16px, 4vw, 48px);
  --ease: cubic-bezier(.16, 1, .3, 1);
  font-family: Geologica, 'Segoe UI', sans-serif;
}

.shell { width: min(calc(1360px - 2 * var(--gutter)), calc(100% - 2 * var(--gutter))); }
.serif { font-family: Spectral, Georgia, serif; }
.header { background: #f3f0e8e8; border-color: transparent; }
.header.is-scrolled { border-bottom-color: var(--line); }
.header-row { height: 65px; }
.header .brand { font-size: 31px; font-weight: 800; letter-spacing: -.085em; gap: 5px; }
.header nav { gap: 24px; font-size: 15px; font-weight: 400; white-space: nowrap; }
.header nav a:hover { color: var(--ink); }
.langs { background: var(--warm); }
.langs a { min-width: 42px; text-align: center; font-size: 13px; font-weight: 600; }
.button { min-height: 52px; padding: 15px 24px; font-size: 15px; font-weight: 600; }
.button:hover { transform: none; }
.button:active { transform: scale(.97); }
.outline { box-shadow: inset 0 0 0 1px currentColor; }
.header .button { min-height: 42px; padding: 10px 16px; font-size: 14px; white-space: nowrap; }
.header-cta .arrow, .wa-short { display: none; }
.contact-icon { display: inline-block; font-family: Arial, sans-serif; font-size: 18px; line-height: 1; }
.primary { box-shadow: 0 10px 24px -14px #15140f73; }

.hero { padding-block: clamp(28px, 5vw, 64px) clamp(56px, 8vw, 104px); }
.hero h1 { display: grid; gap: clamp(2px, .6vw, 8px); line-height: 1; }
.hero h1 .serif {
  font-size: clamp(34px, 5.6vw, 80px); line-height: 1.04;
  letter-spacing: -.015em; font-weight: 300;
}
.hero-action { font-size: clamp(42px, 7vw, 96px); line-height: .98; font-weight: 700; letter-spacing: -.04em; }
.motion-dot { display: inline-block; width: .17em; height: .17em; margin-left: .05em; border-radius: 50%; background: currentColor; font-size: inherit; color: var(--wine); overflow: hidden; text-indent: 1em; }
.hero-grid {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  grid-template-areas: 'description solution' 'task solution' 'actions solution' 'note solution';
  grid-template-rows: auto auto auto 1fr;
  gap: 20px clamp(28px, 4vw, 56px); margin-top: clamp(28px, 4vw, 52px);
}
.hero-description { grid-area: description; max-width: 44ch; margin: 0; font-size: clamp(18px, 1.6vw, 21px); font-weight: 400; line-height: 1.45; letter-spacing: -.01em; }
.paper { border: 0; border-radius: 24px; box-shadow: 0 0 0 1px var(--line), 0 24px 48px -32px #15140f59; }
.task-box { grid-area: task; min-width: 0; padding: 20px 20px 18px; display: grid; gap: 14px; justify-items: start; }
.task-box:focus-within { box-shadow: 0 0 0 1.5px var(--wine), 0 0 0 6px #2d3bff23, 0 24px 48px -32px #15140f59; }
.task-box label, .solution-top { font-size: 14px; font-weight: 500; }
.task-box textarea { font-size: clamp(22px, 2.2vw, 27px); line-height: 1.3; min-height: 3.85em; resize: none; padding: 0; }
.task-box textarea:focus { outline: none; }
.task-box textarea::placeholder { color: #8f8a7e; }
.samples {
  flex-wrap: nowrap; overflow-x: auto; gap: 8px; min-width: 0; width: calc(100% + 40px);
  margin: 0 -20px; padding: 2px 20px 4px; scrollbar-width: none;
  scroll-snap-type: x proximity; scroll-padding-inline: 20px;
  mask-image: linear-gradient(90deg, transparent, black 20px, black calc(100% - 32px), transparent);
}
.samples::-webkit-scrollbar { display: none; }
.samples .chip { flex: none; scroll-snap-align: start; }
.chip { min-height: 38px; padding: 0 14px; background: var(--warm); font-size: 13px; font-weight: 500; }
.chip:hover { border-color: var(--ink); background: var(--warm); }
.chip.is-active { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.hero-actions { grid-area: actions; display: grid; gap: 12px; }
.hero-actions .button { margin: 0; min-height: 58px; }
.hero-note { grid-area: note; display: flex; flex-wrap: wrap; gap: 10px 16px; align-items: start; font-size: 13px; color: var(--muted); }


.solution { grid-area: solution; align-self: start; padding: clamp(20px, 2.6vw, 34px); }
.badge { font-size: 12px; gap: 5px; }
.badge i { background: var(--wine); order: 2; }
.quote { font-size: clamp(22px, 1.8vw, 26px); padding: 18px 0; }
.answer { padding: 17px 0 20px; margin: 0; }
.answer > span, .case-meta span { font-size: 13px; font-weight: 500; color: var(--muted); }
.answer p { font-size: 15px; line-height: 1.5; }
.answer strong { font-size: clamp(21px, 2vw, 25px); font-weight: 600; line-height: 1.22; letter-spacing: -.02em; }
.case-meta { padding: 17px 0 21px; display: grid; gap: 5px; }
.case-meta strong { font-weight: 600; font-size: 21px; }

.dark { background: var(--dark); color: var(--dark-text); }
.dark .primary { background: var(--wine); color: #fff; }
.dark .primary:hover { background: var(--wine-dark); }
.dark .outline:hover { background: var(--dark-text); color: var(--dark); }
.dark .caption { color: var(--dark-muted); }
.demo { padding-block: clamp(72px, 10vw, 136px); }
.demo .columns { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(32px, 5vw, 88px); }
.demo .caption { max-width: 26ch; font-size: clamp(24px, 2.6vw, 34px); line-height: 1.2; font-weight: 300; letter-spacing: 0; margin-bottom: 20px; }
.demo h2 { max-width: 14ch; font-size: clamp(38px, 5vw, 68px); font-weight: 700; letter-spacing: -.035em; }
.demo h2 .accent { color: #818bff; }
.demo-steps { list-style: none; counter-reset: demo; padding: 0; margin-top: 36px; gap: 18px; }
.demo-steps li { display: grid; grid-template-columns: 34px 1fr; gap: 3px 16px; counter-increment: demo; }
.demo-steps li::before { content: counter(demo); grid-row: span 2; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--dark-line); font-size: 14px; }
.demo-steps strong { color: var(--dark-text); font-size: 17px; font-weight: 600; }
.demo-steps span { font-size: 15px; line-height: 1.5; color: var(--dark-muted); }
.dark-card { border-color: var(--dark-line); background: #191815; border-radius: 28px; padding: clamp(22px, 3vw, 40px); }
.demo-label, .dark .small { color: var(--dark-muted); font-size: 13px; letter-spacing: 0; font-weight: 400; }
.demo-call { display: flex; align-items: center; gap: 18px; margin: 22px 0; }
.demo-call strong { font-size: clamp(23px, 3.1vw, 40px); letter-spacing: -.025em; font-weight: 700; }
.call-pulse { background: var(--wine); width: 64px; height: 64px; display: grid; place-items: center; color: white; font-size: 27px; border-radius: 50%; flex: none; }
.demo.visible .call-pulse, .dark-card.visible .call-pulse { animation: call-wave 2.7s cubic-bezier(.23, 1, .32, 1) 3; }
@keyframes call-wave { from { box-shadow: 0 0 0 0 #7c85ff70; } 70%, to { box-shadow: 0 0 0 17px #7c85ff00; } }
.conversation { border-top: 1px solid var(--dark-line); min-height: 74px; padding-top: 20px; }
.conversation p { background: #2a2925; }
.conversation .client { background: #303577; }
.conversation .handoff { color: #b9bfff; border-color: #4a518f; }
.dark-card .chip { background: #302e28; border-color: #48463d; }
.dark-card .chip.is-active, .dark-card .chip:hover { background: #2e346d; border-color: #7c85ff; }

.editorial {
  display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 36px clamp(28px, 4vw, 72px);
  padding-block: clamp(72px, 10vw, 136px); border: 0; border-top: 1px solid var(--line);
}
.editorial .section-head { position: sticky; top: 104px; align-self: start; margin: 0; display: grid; gap: 18px; }
.editorial .section-head h2 { font-size: clamp(36px, 4.4vw, 60px); font-weight: 700; line-height: .98; letter-spacing: -.035em; text-wrap: balance; }
.section-lead { color: var(--muted); font-size: clamp(18px, 1.6vw, 21px); line-height: 1.45; max-width: 34ch; }
.section-body { min-width: 0; }
.service-list .group-name { font-size: clamp(22px, 2vw, 26px); letter-spacing: -.02em; font-weight: 600; padding-bottom: 14px; margin: 0; border-bottom: 1.5px solid var(--ink); }
.service-list .service-group + .service-group { margin-top: 48px; }
.service-list .cards { display: block; }
.service-list .service { padding: 18px 0; min-height: 0; border: 0; border-bottom: 1px solid var(--line); background: transparent; border-radius: 0; box-shadow: none; }
.service-list .service::before { content: ''; position: absolute; left: -22px; top: 24px; width: 8px; height: 8px; border-radius: 50%; background: var(--wine); opacity: 0; transform: translateY(-12px); transition: opacity .25s, transform .45s var(--ease); }
.service-list .service:hover::before, .service-list .service:focus-within::before { opacity: 1; transform: none; }
.service-list .service h3 { font-size: 18px; letter-spacing: -.01em; font-weight: 600; }
.service-list .service p { font-size: 15px; line-height: 1.5; margin-top: 4px; max-width: 58ch; }
.service-list .arrow { opacity: 0; transition: opacity .2s; }
.service-list .service:hover .arrow, .service-list .service:focus-within .arrow { opacity: 1; }
.sector-box { border-top: 0; padding-top: 0; }
.sector-box h3 { margin-top: 21px; color: var(--muted); font-size: 14px; font-weight: 500; letter-spacing: 0; }
.band { border: 0; padding-block: clamp(80px, 12vw, 168px); }
.band-row { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); align-items: end; gap: 40px clamp(32px, 5vw, 80px); }
.band-row h2 { font-size: clamp(34px, 5vw, 72px); font-weight: 300; line-height: 1.06; letter-spacing: -.015em; text-wrap: balance; }
.band-row p { color: var(--dark-text); font-size: clamp(19px, 2vw, 25px); font-weight: 600; line-height: 1.3; max-width: 26ch; margin: 0 0 24px; }
.steps { border-top: 1.5px solid var(--ink); gap: 0; }
.steps li { background: none; border: 0; border-radius: 0; display: grid; gap: 9px; align-content: start; padding: 32px 20px 8px 0; }
.steps li + li { border-left: 1px solid var(--line); padding-left: 21px; }
.steps h3 { font-size: clamp(20px, 1.9vw, 24px); letter-spacing: -.02em; font-weight: 600; }
.steps p { font-size: 16px; margin: 0; }
.steps .step-tag { display: inline-block; justify-self: start; color: var(--ink); background: var(--warm); border-radius: 999px; font-size: 12px; padding: 7px 10px; margin: 0; font-weight: 500; letter-spacing: 0; }
.questions { border-top: 1.5px solid var(--ink); }
.questions summary { font-size: clamp(17px, 2vw, 22px); font-weight: 500; padding-block: 17px; }
.questions summary:hover { color: var(--wine); }
.questions summary::after { display: grid; place-items: center; width: 36px; height: 36px; flex: none; border: 1px solid var(--line); border-radius: 50%; color: var(--ink); }
.questions details[open] summary::after { background: var(--ink); color: var(--paper); }
.questions details[open] p { animation: answer-rise .38s var(--ease) both; }
@keyframes answer-rise { from { opacity: 0; transform: translateY(9px); } }
.contact form.lead-card { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; padding: clamp(22px, 3.4vw, 44px); }
.contact .field { display: grid; gap: 8px; align-content: start; }
.contact .wide { grid-column: 1 / -1; }
.contact label { font-size: 14px; font-weight: 500; }
.contact input:not([type=hidden]), .contact textarea { background: var(--bg); border-color: var(--line); border-radius: 13px; padding: 13px; }

.footer { background: var(--dark); color: var(--dark-text); padding: clamp(70px, 10vw, 150px) 0 20px; }
.footer-lock { display: grid; gap: 14px; }
.footer-lock .serif { color: var(--dark-text); font-size: clamp(32px, 6vw, 84px); line-height: 1; font-weight: 300; margin: 0; }
.footer-sign { display: flex; align-items: center; justify-content: center; gap: clamp(12px, 5vw, 72px); overflow: hidden; padding: 12px 0; }
.footer-sign .logo-assembly { width: clamp(60px, 21vw, 250px); flex: none; }
.footer-sign .logo-layer.ink, .footer-sign .logo-layer.dot-mid { filter: invert(1); }
.footer-sign strong { font-size: clamp(77px, 24vw, 330px); line-height: .8; font-weight: 800; letter-spacing: -.095em; }
.footer-tag { justify-self: end; }
.footer-lock .footer-tag { font-size: clamp(16px, 2vw, 24px); margin: 0; }
.footer-grid { padding-top: 29px; margin-top: clamp(53px, 9vw, 115px); border-top: 1px solid var(--dark-line); }
.footer-grid a:not(.brand), .footer p, .foot-end { color: var(--dark-muted); }
.footer a:hover { color: #fff; }
.foot-end { border-color: var(--dark-line); }

.intro { transition: background-color .32s; }
.intro-skip { font-size: 14px; min-height: 40px; padding: 8px 16px; box-shadow: none; border-color: var(--line); z-index: 5; }
.intro .progress { height: 2px; }
.intro-grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.intro-phone { width: min(86%, 395px, 42dvh); border-radius: 43px; padding: 23px 13px; transform: rotate(-1.4deg); }
#introTime { font-size: clamp(65px, 10vw, 155px); font-weight: 800; letter-spacing: -.05em; }
#introTitle { font-size: clamp(38px, 5.55vw, 82px); font-weight: 760; letter-spacing: -.046em; }
#introNote { font-size: clamp(21px, 3.4vw, 44px); }
.intro[data-frame="2"] { background: var(--dark); color: var(--dark-text); }
.intro[data-frame="2"] #introNote { color: var(--dark-muted); }
.intro[data-frame="2"] #introPhone { color: var(--ink); box-shadow: 0 22px 90px #8b75ff2b; }
.intro[data-frame="2"] .intro-skip { background: #1c1b17; border-color: #55504b; }
.logo-final p { margin-top: 0; }
.logo-glint {
  position: absolute; inset: 0; opacity: 0; pointer-events: none;
  background: linear-gradient(115deg, transparent 35%, #fff7d4 47%, #fff 50%, transparent 59%) no-repeat;
  background-size: 250% 100%; background-position: 150% 50%;
  mask: url('/assets/logo.png') center / contain no-repeat;
}
.intro-flight { position: fixed; z-index: 4; max-width: none; pointer-events: none; transform-origin: 0 0; }
.intro.flying .logo-final { visibility: hidden; }
.intro.flying .intro-grid { visibility: hidden; }
.intro.flying .intro-skip, .intro.flying .progress { opacity: 0; pointer-events: none; }
.header .brandmark.in-flight { visibility: hidden; }
.after-intro .hero h1, .after-intro .hero-grid { animation: none; }
.after-intro .hero h1 .serif { animation: arrive .8s .05s var(--ease) both; }
.after-intro .hero-action { animation: arrive .8s .24s var(--ease) both; }
.after-intro .hero-grid { animation: arrive .8s .43s var(--ease) both; }
.after-intro .motion-dot { animation: dot-land .66s .9s var(--ease) both; }
@keyframes dot-land { 0% { opacity: 0; transform: translateY(-1em) scale(.7); } 65% { opacity: 1; transform: translateY(.035em) scale(1.18,.72); } 82% { transform: translateY(-.15em) scale(.94,1.08); } 100% { opacity: 1; transform: none; } }

@media (max-width: 1280px) {
  .header nav { gap: 16px; font-size: 14px; }
  .wa-short { display: inline; }
  .wa-long { display: none; }
}
@media (max-width: 1080px) { .header nav { display: none; } }
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); grid-template-areas: 'task' 'actions' 'solution' 'description' 'note'; }
}
@media (max-width: 900px) {
  .editorial { grid-template-columns: minmax(0, 1fr); }
  .editorial .section-head { position: static; }
}
@media (max-width: 860px) {
  .band-row, .demo .columns { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 760px) {
  .header .header-cta { display: none; }
  .steps { grid-template-columns: minmax(0, 1fr); }
  .steps li, .steps li + li { padding: 24px 0; border-left: 0; }
  .steps li + li { border-top: 1px solid var(--line); }
}
@media (max-width: 690px) {
  .header .brand { font-size: 26px; }
  .header-row { height: 60px; }
  .header .button { font-size: 13px; padding-inline: 12px; }
  .langs a { min-width: 33px; font-size: 11px; }
  .intro-grid { grid-template-columns: minmax(0, 1fr); }
  .intro-phone { width: auto; padding: 12px 9px; border-radius: 28px; height: min(100%, 400px, 52dvh); }
  #introTime { font-size: clamp(55px, 16vw, 95px); }
  #introTitle { font-size: clamp(33px, 10vw, 56px); }
  #introNote { font-size: clamp(19px, 5vw, 25px); }
}
@media (max-width: 600px) {
  .task-box { padding: 16px; border-radius: 20px; }
  .samples { width: calc(100% + 32px); margin-inline: -16px; padding-inline: 16px; }
  .task-box .button, .contact button { width: 100%; }
  .contact form.lead-card { grid-template-columns: minmax(0, 1fr); }
  .service-list .service::before { display: none; }
  .demo-call { margin-block: 17px; }
  .call-pulse { width: 49px; height: 49px; }
}
@media (prefers-reduced-motion: reduce) {
  .after-intro .hero h1 .serif, .after-intro .hero-action, .after-intro .hero-grid,
  .after-intro .motion-dot, .dark-card.visible .call-pulse { animation: none; }
}
.intro.flying::backdrop { background: transparent; }
.header .brand:hover .brandmark { transform: rotate(-8deg) scale(1.1); }
.header .brandmark { transition: transform .35s var(--ease); }
.contact-icon {
  width: 17px; height: 17px; flex: none; background-color: currentColor;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.9' stroke-linejoin='round'%3E%3Cpath d='M7 3 4 4c-3 3 3 12 8 15 3 2 6 3 8 0l1-2-5-3-2 2c-2-1-5-4-6-6l2-2Z'/%3E%3C/svg%3E") center / contain no-repeat;
}
.whatsapp-icon {
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 21l1.3-4.2A9 9 0 1 1 8 20z'/%3E%3Cpath d='M9 7c-3 1 0 7 3 8 3 2 5 1 5-1l-3-1-1 1c-2-1-3-2-3-3l1-1-1-3z'/%3E%3C/svg%3E");
}
.call-pulse .contact-icon { width: 28px; height: 28px; }
