/* ============================================================
   "Paper" — a bright, friendly agency site
   ============================================================ */
:root {
  --white: #ffffff;
  --bg: #fbfaf8;
  --bg-2: #f4f1ec;
  --ink: #0f172a;
  --ink-2: #475069;
  --line: #e6e2da;
  --blue: #2563eb;
  --blue-soft: #e8efff;
  --coral: #ff5c39;
  --coral-soft: #ffe9e3;
  --green: #0f9d6e;
  --green-soft: #e2f6ee;
  --yellow: #ffd166;
  --font: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --max: 1180px;
  --r: 16px;
  --shadow-sm: 0 1px 2px rgba(15,23,42,.06), 0 4px 12px -6px rgba(15,23,42,.12);
  --shadow: 0 2px 4px rgba(15,23,42,.04), 0 24px 48px -24px rgba(15,23,42,.22);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 86px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font);
  font-size: 16.5px; line-height: 1.65; -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
::selection { background: var(--coral); color: #fff; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }

/* ---------- nav ---------- */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 100; height: 72px; display: flex; align-items: center; transition: background .3s, box-shadow .3s, border-color .3s; border-bottom: 1px solid transparent; }
.nav.scrolled { background: rgba(251,250,248,.88); backdrop-filter: blur(14px) saturate(1.4); border-bottom-color: var(--line); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; width: 100%; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 16.5px; letter-spacing: -0.02em; }
.logo-mark { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: var(--ink); color: #fff; font-weight: 800; font-size: 15px; }
.logo-mark span { color: var(--coral); }
.nav-links { display: flex; gap: 28px; font-size: 14.5px; font-weight: 500; color: var(--ink-2); }
.nav-links a { transition: color .2s; }
.nav-links a:hover { color: var(--ink); }
.nav-right { display: flex; align-items: center; gap: 12px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 22px; border-radius: 11px; font-size: 14.5px; font-weight: 700;
  border: 1px solid transparent; transition: all .2s; white-space: nowrap;
}
.btn:active { transform: scale(.98); }
.btn-primary { background: var(--ink); color: #fff; box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: #1e293b; transform: translateY(-1px); box-shadow: var(--shadow); }
.btn-coral { background: var(--coral); color: #fff; box-shadow: 0 10px 22px -10px rgba(255,92,57,.9); }
.btn-coral:hover { background: #ff4a24; transform: translateY(-1px); }
.btn-ghost { border-color: var(--line); background: var(--white); color: var(--ink); }
.btn-ghost:hover { border-color: #cfc9be; box-shadow: var(--shadow-sm); }
.btn-lg { padding: 15px 28px; font-size: 15.5px; border-radius: 13px; }
.btn-sm { padding: 9px 16px; font-size: 13.5px; border-radius: 9px; }

.burger { display: none; width: 42px; height: 40px; border-radius: 10px; border: 1px solid var(--line); background: var(--white); flex-direction: column; gap: 4.5px; align-items: center; justify-content: center; }
.burger span { width: 16px; height: 2px; border-radius: 2px; background: var(--ink); transition: transform .3s, opacity .3s; }
.burger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }
.mobile-menu { position: fixed; top: 72px; left: 0; right: 0; z-index: 99; background: var(--bg); border-bottom: 1px solid var(--line); padding: 8px 24px 24px; transform: translateY(-120%); transition: transform .38s cubic-bezier(.4,0,.2,1); visibility: hidden; box-shadow: var(--shadow); }
.mobile-menu.open { transform: none; visibility: visible; }
.mobile-menu a { display: block; padding: 14px 0; border-bottom: 1px solid var(--line); font-weight: 600; }
.mobile-menu .btn { margin-top: 18px; width: 100%; }

/* ---------- hero ---------- */
.hero { padding: 128px 0 72px; position: relative; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; top: -140px; right: -120px; width: 620px; height: 620px; border-radius: 50%;
  background: radial-gradient(circle, rgba(37,99,235,.14), rgba(255,92,57,.07) 45%, transparent 70%); pointer-events: none;
}
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 60px; align-items: center; position: relative; }
.pill {
  display: inline-flex; align-items: center; gap: 9px; padding: 7px 15px 7px 10px; border-radius: 100px;
  background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow-sm);
  font-size: 13px; font-weight: 600; color: var(--ink-2); margin-bottom: 26px;
}
.pill b { background: var(--green-soft); color: var(--green); padding: 2px 8px; border-radius: 100px; font-size: 11.5px; font-weight: 700; }

h1 { font-size: clamp(2.5rem, 5.4vw, 4.15rem); line-height: 1.04; letter-spacing: -0.04em; font-weight: 800; margin: 0 0 22px; }
h1 .hl { position: relative; white-space: nowrap; }
h1 .hl::after {
  content: ""; position: absolute; left: -2px; right: -2px; bottom: 4px; height: 30%;
  background: var(--yellow); z-index: -1; border-radius: 3px; transform: rotate(-.6deg);
}
.hero p.lead { font-size: 17.5px; color: var(--ink-2); max-width: 31em; margin: 0 0 32px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-bottom: 26px; }
.hero-social { display: flex; align-items: center; gap: 14px; font-size: 13.5px; color: var(--ink-2); }
.faces { display: flex; }
.face { width: 32px; height: 32px; border-radius: 50%; border: 2px solid var(--bg); margin-left: -9px; display: grid; place-items: center; font-size: 11.5px; font-weight: 800; color: #fff; }
.face:first-child { margin-left: 0; }
.stars { color: #f59e0b; letter-spacing: 1px; }

/* hero mock browser */
.hero-mock { position: relative; }
.browser {
  background: var(--white); border: 1px solid var(--line); border-radius: 18px; overflow: hidden;
  box-shadow: var(--shadow); transform: perspective(1400px) rotateY(-7deg) rotateX(3deg); transition: transform .6s cubic-bezier(.2,.7,.2,1);
}
.browser:hover { transform: perspective(1400px) rotateY(0) rotateX(0); }
.br-bar { height: 38px; display: flex; align-items: center; gap: 6px; padding: 0 14px; background: var(--bg-2); border-bottom: 1px solid var(--line); }
.br-bar i { width: 9px; height: 9px; border-radius: 50%; display: block; }
.br-bar i:nth-child(1) { background: #ff5f57; } .br-bar i:nth-child(2) { background: #febc2e; } .br-bar i:nth-child(3) { background: #28c840; }
.br-url { margin-left: 10px; flex: 1; height: 20px; border-radius: 6px; background: var(--white); border: 1px solid var(--line); font-size: 10.5px; color: #94a3b8; display: flex; align-items: center; padding: 0 8px; font-family: ui-monospace, monospace; }
.br-body { padding: 0; }
.mock-hero { padding: 26px 22px 22px; background: linear-gradient(160deg, #eef3ff, #fff 65%); }
.mock-nav { display: flex; gap: 6px; align-items: center; margin-bottom: 18px; }
.mock-dot { width: 18px; height: 18px; border-radius: 6px; background: var(--ink); }
.mock-nav span { height: 6px; border-radius: 3px; background: #d8dfec; }
.mock-h1 { height: 17px; width: 76%; border-radius: 5px; background: #0f172a; margin-bottom: 9px; }
.mock-h1.two { width: 52%; }
.mock-p { height: 7px; border-radius: 4px; background: #dbe2ee; margin-bottom: 6px; }
.mock-p.s { width: 64%; }
.mock-btn { width: 92px; height: 26px; border-radius: 7px; background: var(--coral); margin-top: 14px; }
.mock-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; padding: 16px 22px 22px; }
.mock-card { height: 56px; border-radius: 8px; background: var(--bg-2); border: 1px solid var(--line); }
.mock-card:first-child { background: var(--blue-soft); border-color: #cfdcff; }

.float-badge {
  position: absolute; background: var(--white); border: 1px solid var(--line); border-radius: 13px;
  padding: 11px 15px; box-shadow: var(--shadow); font-size: 12.5px; font-weight: 700; display: flex; align-items: center; gap: 9px;
}
.fb-1 { top: -30px; right: -14px; animation: bob 5s ease-in-out infinite; }
.fb-2 { bottom: 20px; left: -22px; animation: bob 5s ease-in-out infinite .8s; }
.fb-ico { width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center; }
@keyframes bob { 50% { transform: translateY(-8px); } }

/* ---------- logos strip ---------- */
.logos { border-block: 1px solid var(--line); background: var(--white); padding: 22px 0; }
.logos-inner { display: flex; align-items: center; gap: 40px; flex-wrap: wrap; justify-content: space-between; }
.logos p { margin: 0; font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #94a3b8; }
.logo-row { display: flex; gap: 38px; flex-wrap: wrap; align-items: center; }
.logo-item { font-weight: 800; font-size: 16px; color: #b6bccb; letter-spacing: -0.02em; transition: color .25s; }
.logo-item:hover { color: var(--ink); }

/* ---------- sections ---------- */
section { padding: 88px 0; }
.sec-head { max-width: 640px; margin: 0 0 48px; }
.sec-head.center { margin-inline: auto; text-align: center; }
.kicker { display: inline-block; font-size: 12.5px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--coral); margin-bottom: 12px; }
h2 { font-size: clamp(1.9rem, 3.4vw, 2.75rem); line-height: 1.1; letter-spacing: -0.035em; font-weight: 800; margin: 0 0 14px; }
.sec-head p { color: var(--ink-2); margin: 0; font-size: 16.5px; }

/* ---------- services ---------- */
.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r); padding: 30px 26px;
  display: flex; flex-direction: column; transition: transform .3s, box-shadow .3s, border-color .3s; position: relative;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: #d6d0c6; }
.card-ico { width: 48px; height: 48px; border-radius: 13px; display: grid; place-items: center; margin-bottom: 20px; }
.ico-blue { background: var(--blue-soft); color: var(--blue); }
.ico-coral { background: var(--coral-soft); color: var(--coral); }
.ico-green { background: var(--green-soft); color: var(--green); }
.card h3 { font-size: 19.5px; font-weight: 800; letter-spacing: -0.02em; margin: 0 0 8px; }
.card .price { font-size: 13px; font-weight: 800; color: var(--coral); margin-bottom: 12px; }
.card p { color: var(--ink-2); font-size: 14.5px; margin: 0 0 18px; }
.card ul { list-style: none; padding: 0; margin: 0 0 22px; display: grid; gap: 9px; }
.card li { font-size: 14px; color: #3b4457; display: flex; gap: 9px; align-items: flex-start; }
.card li svg { flex: 0 0 auto; margin-top: 3px; color: var(--green); }
.card .btn { margin-top: auto; width: 100%; }

/* ---------- work ---------- */
.work-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.work {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden;
  display: flex; flex-direction: column; transition: transform .3s, box-shadow .3s; position: relative;
}
.work:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.work-art { height: 168px; position: relative; overflow: hidden; display: grid; place-items: center; }
.work-art .blob { position: absolute; border-radius: 50%; filter: blur(28px); opacity: .55; }
.art-window { position: relative; width: 76%; background: #fff; border-radius: 9px; box-shadow: 0 14px 30px -14px rgba(15,23,42,.45); overflow: hidden; transform: translateY(10px); transition: transform .45s cubic-bezier(.2,.7,.2,1); }
.work:hover .art-window { transform: translateY(2px) scale(1.03); }
.art-bar { height: 14px; background: #f1f5f9; display: flex; align-items: center; gap: 3px; padding: 0 6px; }
.art-bar i { width: 4px; height: 4px; border-radius: 50%; background: #cbd5e1; display: block; }
.art-body { padding: 9px; display: grid; gap: 5px; }
.art-body .l1 { height: 22px; border-radius: 4px; }
.art-body .l2 { height: 5px; border-radius: 3px; background: #e2e8f0; }
.art-body .l3 { height: 5px; width: 60%; border-radius: 3px; background: #e2e8f0; }
.work-body { padding: 22px; display: flex; flex-direction: column; flex: 1; }
.work-cat { font-size: 11.5px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: #94a3b8; margin-bottom: 6px; }
.work h3 { font-size: 20px; font-weight: 800; letter-spacing: -0.02em; margin: 0 0 8px; }
.work p { font-size: 14.5px; color: var(--ink-2); margin: 0 0 18px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 18px; }
.chip { font-size: 11.5px; font-weight: 600; padding: 4px 9px; border-radius: 6px; background: var(--bg-2); color: var(--ink-2); border: 1px solid var(--line); }
.work-link { margin-top: auto; display: inline-flex; align-items: center; gap: 7px; font-weight: 700; font-size: 14px; color: var(--coral); }
.work-link svg { transition: transform .3s; }
.work:hover .work-link svg { transform: translate(3px,-3px); }

/* ---------- stats band ---------- */
.band { background: var(--ink); color: #fff; padding: 56px 0; }
.band-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }
.band-item { text-align: center; }
.band-item .n { font-size: clamp(2rem, 3.4vw, 2.8rem); font-weight: 800; letter-spacing: -0.04em; line-height: 1; background: linear-gradient(120deg,#fff,#a5b4fc); -webkit-background-clip: text; background-clip: text; color: transparent; }
.band-item .l { font-size: 13.5px; color: #94a3b8; margin-top: 8px; }

/* ---------- testimonials ---------- */
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.quote { background: var(--white); border: 1px solid var(--line); border-radius: var(--r); padding: 26px; display: flex; flex-direction: column; }
.quote .stars { font-size: 14px; margin-bottom: 12px; }
.quote p { font-size: 15px; color: #2b3447; margin: 0 0 20px; line-height: 1.62; }
.quote footer { display: flex; align-items: center; gap: 11px; margin-top: auto; }
.quote .av { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; font-size: 13px; color: #fff; }
.quote cite { font-style: normal; font-weight: 800; font-size: 13.5px; display: block; }
.quote small { color: #94a3b8; font-size: 12px; }

/* ---------- faq ---------- */
.faq-wrap { display: grid; grid-template-columns: .8fr 1.2fr; gap: 56px; align-items: start; }
.faq { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q { width: 100%; background: none; border: 0; padding: 20px 0; display: flex; justify-content: space-between; gap: 18px; align-items: center; text-align: left; font-size: 16px; font-weight: 700; color: var(--ink); }
.faq-q:hover { color: var(--blue); }
.pm { flex: 0 0 auto; width: 24px; height: 24px; border-radius: 7px; border: 1px solid var(--line); background: var(--white); display: grid; place-items: center; transition: transform .3s, background .3s, color .3s, border-color .3s; }
.faq-item.open .pm { transform: rotate(45deg); background: var(--ink); color: #fff; border-color: var(--ink); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .38s cubic-bezier(.4,0,.2,1); }
.faq-a p { margin: 0 0 20px; color: var(--ink-2); font-size: 15px; }

/* ---------- contact ---------- */
.contact { background: var(--bg-2); border-top: 1px solid var(--line); }
.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 52px; align-items: start; }
.contact h2 { margin-bottom: 14px; }
.contact .lead { color: var(--ink-2); margin: 0 0 28px; }
.info-list { display: grid; gap: 10px; }
.info { display: flex; gap: 13px; align-items: center; padding: 14px 16px; background: var(--white); border: 1px solid var(--line); border-radius: 12px; font-size: 14.5px; font-weight: 600; }
.info .ii { width: 32px; height: 32px; border-radius: 9px; background: var(--blue-soft); color: var(--blue); display: grid; place-items: center; flex: 0 0 auto; }
.info a:hover { color: var(--blue); }
.info .lab { display: block; font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #94a3b8; }

.form { background: var(--white); border: 1px solid var(--line); border-radius: 18px; padding: 30px; box-shadow: var(--shadow-sm); }
.field { margin-bottom: 15px; }
.field label { display: block; font-size: 13px; font-weight: 700; margin-bottom: 7px; }
.field input, .field textarea, .field select {
  width: 100%; padding: 13px 15px; border-radius: 10px; border: 1px solid var(--line); background: var(--bg);
  font-family: inherit; font-size: 15px; color: var(--ink); transition: border-color .2s, box-shadow .2s, background .2s; appearance: none;
}
.field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23475069' stroke-width='1.7' fill='none'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 15px center; padding-right: 38px; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--blue); background: #fff; box-shadow: 0 0 0 4px rgba(37,99,235,.12); }
.field textarea { min-height: 112px; resize: vertical; }
.field.two { display: grid; grid-template-columns: 1fr 1fr; gap: 13px; }
.field.two > div { min-width: 0; }
.form .btn { width: 100%; }
.form-status { display: none; margin-top: 14px; padding: 13px 15px; border-radius: 10px; font-size: 14px; font-weight: 600; }
.form-status.show { display: block; animation: fu .35s ease; }
.form-status.ok { background: var(--green-soft); color: #0a6b4b; border: 1px solid #b7e6d3; }
.form-status.err { background: #fee; color: #b42318; border: 1px solid #fbcaca; }
@keyframes fu { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* ---------- footer ---------- */
footer { background: var(--ink); color: #94a3b8; padding: 46px 0; }
.foot { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.foot .logo { color: #fff; }
.foot .logo-mark { background: #fff; color: var(--ink); }
.foot p { margin: 12px 0 0; font-size: 13px; }
.foot-links { display: flex; gap: 22px; font-size: 13.5px; flex-wrap: wrap; }
.foot-links a:hover { color: #fff; }

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .65s cubic-bezier(.2,.7,.2,1), transform .65s cubic-bezier(.2,.7,.2,1); }
.reveal.in, .hero .reveal { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 1000px) {
  .hero-grid { grid-template-columns: 1fr; gap: 46px; }
  .hero-mock { max-width: 520px; }
  .fb-1 { right: -4px; } .fb-2 { left: -4px; }
  .cards-3, .work-grid, .quotes { grid-template-columns: 1fr 1fr; }
  .band-grid { grid-template-columns: 1fr 1fr; gap: 26px; }
  .faq-wrap, .contact-grid { grid-template-columns: 1fr; gap: 34px; }
  .nav-links { display: none; }
  .burger { display: flex; }
  .nav-right .btn { display: none; }
}
@media (max-width: 680px) {
  section { padding: 62px 0; }
  .hero { padding-top: 108px; }
  .cards-3, .work-grid, .quotes { grid-template-columns: 1fr; }
  .hero-cta .btn { width: 100%; }
  .field.two { grid-template-columns: 1fr; }
  .logos-inner { gap: 18px; }
  .logo-row { gap: 20px; }
  .band-grid { grid-template-columns: 1fr 1fr; }
  .form { padding: 22px; }
  h1 .hl { white-space: normal; }
}
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  .browser { transform: none; }
}
