/* AK agencija – site v2 stylesheet. Hand-written; tokens from the design brief. */

/* ---------- fonts (self-hosted, OFL) ---------- */
@font-face { font-family: 'Unbounded'; font-style: normal; font-weight: 700; font-display: swap;
  src: url('/assets/v2/fonts/unbounded-latin-700-normal.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Unbounded'; font-style: normal; font-weight: 700; font-display: swap;
  src: url('/assets/v2/fonts/unbounded-latin-ext-700-normal.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url('/assets/v2/fonts/inter-latin-var.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url('/assets/v2/fonts/inter-latin-ext-var.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Instrument Serif'; font-style: italic; font-weight: 400; font-display: swap;
  src: url('/assets/fonts/instrument-serif-latin-400-italic.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Instrument Serif'; font-style: italic; font-weight: 400; font-display: swap;
  src: url('/assets/fonts/instrument-serif-latin-ext-400-italic.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }

/* ---------- tokens ---------- */
:root {
  --bg: #F5F3F0;
  --bg-alt: #EFECE6;
  --dark: #1A1A1A;
  --text: #1A1A1A;
  --text-2: #4A4A4A;
  --muted: #8A8A8A;
  --line: #C7C7C7;
  --line-soft: #E3DFD8;
  --accent: #0066FF;
  --accent-deep: #2345BB;
  --accent-soft: #E8F0FF;
  --white: #FFFFFF;
  --radius: 20px;
  --radius-sm: 12px;
  --head: 'Unbounded', 'Arial Black', Arial, sans-serif;
  --body: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --serif: 'Instrument Serif', Georgia, 'Times New Roman', serif;
  --gutter: 16px;
  --top-h: 64px;
}
@media (min-width: 900px) { :root { --gutter: 40px; --top-h: 72px; } }

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: hidden; overflow-x: clip; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: var(--body); font-size: 17px; line-height: 1.6; font-weight: 400;
  -webkit-font-smoothing: antialiased; overflow-x: hidden; overflow-x: clip;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { margin: 0; font-family: var(--head); font-weight: 700; letter-spacing: -0.02em; line-height: 1.1; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
.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; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--accent); color: #fff; padding: 10px 16px; border-radius: 999px; font-weight: 600; }
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.wrap--narrow { max-width: 860px; }

.ico { width: 1.15em; height: 1.15em; flex: none; }

/* ---------- typography ---------- */
.eyebrow {
  font-family: var(--body); font-size: 12px; font-weight: 600; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--muted); margin: 0 0 14px;
}
.eyebrow--accent { color: var(--accent); }
.h1 {
  font-size: clamp(2.5rem, 5.6vw, 5.2rem); line-height: 0.95; text-transform: uppercase;
  margin: 0 0 24px; overflow-wrap: normal; hyphens: manual;
}
.h1 .serif {
  display: block; font-family: var(--serif); font-weight: 400; font-style: italic;
  text-transform: none; color: var(--accent); font-size: 1.1em; line-height: 0.9; letter-spacing: 0;
}
.h1--page { text-transform: none; font-size: clamp(2rem, 5.2vw, 3.6rem); line-height: 1.05; margin-bottom: 16px; }
.h2 { font-size: clamp(1.7rem, 3.6vw, 3rem); line-height: 1.08; margin: 0 0 28px; }
h3 { font-size: 1.05rem; line-height: 1.3; }
.lead { font-size: clamp(1.05rem, 1.4vw, 1.25rem); color: var(--text-2); max-width: 46ch; margin: 0 0 28px; }
.note { font-size: 0.95rem; color: var(--text-2); max-width: 70ch; margin: 24px 0 0; }
.note--bar { border-left: 3px solid var(--accent); padding-left: 16px; }
.company { font-size: 0.9rem; color: var(--text-2); margin: 32px 0 0; max-width: 90ch; }
.link { color: var(--accent); font-weight: 600; display: inline-flex; align-items: center; gap: 6px; }
.link:hover { color: var(--accent-deep); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 12px 24px; border-radius: 999px;
  font-family: var(--body); font-weight: 600; font-size: 1rem; line-height: 1.2;
  border: 1.5px solid var(--text); color: var(--text); background: transparent;
  transition: background .2s ease, color .2s ease, border-color .2s ease, transform .2s ease;
  cursor: pointer; text-align: center;
}
.btn:hover { background: var(--text); color: var(--bg); }
.btn--solid { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn--solid:hover { background: var(--accent-deep); border-color: var(--accent-deep); color: #fff; }
.btn--ghost { border-color: rgba(255,255,255,.6); color: #fff; }
.btn--ghost:hover { background: #fff; color: var(--dark); border-color: #fff; }
.btn:active { transform: translateY(1px); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.btn-row--center { justify-content: center; }
.sec .btn-row:last-child { margin-top: 32px; }

/* ---------- header / nav ---------- */
.top {
  position: sticky; top: 0; z-index: 50;
  background: rgba(245, 243, 240, .88);
  -webkit-backdrop-filter: saturate(160%) blur(12px); backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid var(--line-soft);
}
.top-row { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: var(--top-h); }
.brand { font-family: var(--head); font-weight: 700; font-size: 1.15rem; letter-spacing: -0.02em; }
.top-nav { display: none; }
.top-nav ul { display: flex; gap: 4px; }
.top-nav a { display: block; padding: 8px 12px; font-weight: 500; font-size: 0.95rem; border-radius: 999px; color: var(--text-2); }
.top-nav a:hover, .top-nav a[aria-current="page"] { color: var(--text); background: rgba(0,0,0,.05); }
.burger {
  display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 6px 4px 6px 10px;
  border: 0; background: transparent; color: var(--text); font: 600 0.95rem var(--body); cursor: pointer;
}
.burger-lines { display: inline-flex; flex-direction: column; justify-content: center; gap: 5px; width: 24px; height: 24px; }
.burger-lines i { display: block; height: 2px; background: currentColor; border-radius: 2px; transition: transform .25s ease, opacity .25s ease; }
.burger[aria-expanded="true"] .burger-lines i:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] .burger-lines i:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] .burger-lines i:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.nav-panel {
  position: fixed; left: 0; right: 0; top: var(--top-h); bottom: 0; z-index: 49;
  background: var(--bg); overflow-y: auto; padding: 24px var(--gutter) 40px;
  display: flex; flex-direction: column; justify-content: space-between; gap: 32px;
}
.nav-panel[hidden] { display: none; }
.nav-panel ul li a {
  display: block; padding: 14px 0; font-family: var(--head); font-weight: 700; font-size: 1.5rem;
  border-bottom: 1px solid var(--line-soft);
}
.nav-panel ul li a[aria-current="page"] { color: var(--accent); }
.nav-panel-cta { display: flex; flex-direction: column; gap: 12px; }
.nav-panel-cta .btn { width: 100%; }
body.nav-open { overflow: hidden; }
@media (min-width: 900px) {
  .top-nav { display: block; }
  .burger, .nav-panel { display: none !important; }
}

/* ---------- sections ---------- */
.sec { padding: 64px 0; }
.sec--alt { background: var(--bg-alt); }
.sec--dark { background: var(--dark); color: var(--bg); }
.sec--dark .eyebrow { color: #9A9A9A; }
@media (min-width: 900px) { .sec { padding: 104px 0; } }

/* hero */
.hero { padding: 40px 0 48px; }
.hero-grid { display: grid; gap: 32px; }
.hero-copy .eyebrow { margin-bottom: 20px; }
.hero-photo { margin: 0; }
.hero-photo img {
  width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: center top;
  border-radius: 28px; background: var(--bg-alt);
}
@media (min-width: 900px) {
  .hero { padding: 72px 0 80px; }
  .hero-grid { grid-template-columns: 1.2fr 0.8fr; align-items: center; gap: 56px; }
  .hero-photo img { max-height: 620px; }
}

/* marquee */
.marquee {
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  overflow: hidden; white-space: nowrap; padding: 16px 0; background: var(--bg);
}
.marquee-track {
  display: inline-flex; align-items: center; gap: 28px; width: max-content;
  font-family: var(--head); font-weight: 700; font-size: 0.85rem; letter-spacing: 0.12em; text-transform: uppercase;
  animation: marquee 38s linear infinite; will-change: transform;
}
.marquee-track i { font-style: normal; color: var(--accent); }
@keyframes marquee { from { transform: translate3d(0, 0, 0); } to { transform: translate3d(-50%, 0, 0); } }

/* cards */
.cards { display: grid; gap: 16px; }
.card {
  background: var(--white); border-radius: var(--radius); padding: 28px;
  box-shadow: 0 1px 2px rgba(26, 26, 26, .04), 0 0 0 1px rgba(26, 26, 26, .03);
}
.card h3 { margin: 0 0 10px; }
.card p:last-child { margin-bottom: 0; }
.card p { color: var(--text-2); font-size: 0.98rem; }
.card--row { display: flex; gap: 18px; align-items: flex-start; }
.card--row .icon-box { margin: 0; }
.card--row div { min-width: 0; }
.card--row h3 { margin-top: 6px; }
.card--row h3:last-child { margin-bottom: 0; }
.card--accent { box-shadow: 0 0 0 2px var(--accent); }
.icon-box {
  display: inline-flex; align-items: center; justify-content: center; flex: none;
  width: 44px; height: 44px; border-radius: 12px; background: var(--accent); color: #fff; margin-bottom: 22px;
}
.icon-box .ico { width: 22px; height: 22px; }
.icon-box--sm { width: 38px; height: 38px; border-radius: 10px; margin: 0; }
@media (min-width: 700px) {
  .cards--2 { grid-template-columns: repeat(2, 1fr); }
  .cards--3 { grid-template-columns: repeat(3, 1fr); }
  .cards--4 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1000px) { .cards--4 { grid-template-columns: repeat(4, 1fr); } .cards { gap: 20px; } }
@media (max-width: 699px) and (min-width: 480px) { .cards--3.prices { grid-template-columns: repeat(2, 1fr); } }

/* tags / chips */
.tag {
  display: inline-block; font-size: 0.8rem; font-weight: 600; letter-spacing: 0.02em;
  color: var(--accent); background: var(--accent-soft); border-radius: 999px; padding: 6px 12px; margin: 0 0 14px;
}
.tag--solid { background: var(--accent); color: #fff; text-transform: uppercase; letter-spacing: 0.1em; font-size: 0.72rem; }
.card p.tag { color: var(--accent); font-size: 0.8rem; }
.card p.tag--solid { color: #fff; font-size: 0.72rem; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 24px; }
.chips li { font-size: 0.85rem; font-weight: 500; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line); background: var(--white); }

/* steps (dark) */
.steps-grid { display: grid; gap: 40px; }
.steps-head .h2 { margin-bottom: 0; max-width: 12ch; }
.steps { display: grid; gap: 0; }
.step { display: grid; grid-template-columns: 56px 1fr; gap: 16px; padding: 24px 0; border-top: 1px solid rgba(255,255,255,.14); }
.step:last-child { border-bottom: 1px solid rgba(255,255,255,.14); }
.step-n { font-family: var(--serif); font-style: italic; font-size: 2.2rem; line-height: 1; color: #8A8A8A; padding-top: 2px; }
.step h3 { color: #fff; margin-bottom: 8px; }
.step p { color: #C4C4C4; margin: 0; max-width: 56ch; }
@media (min-width: 900px) {
  .steps-grid { grid-template-columns: 0.9fr 1.1fr; gap: 64px; align-items: start; }
  .steps-head { position: sticky; top: calc(var(--top-h) + 32px); }
  .step { grid-template-columns: 72px 1fr; padding: 32px 0; }
  .step-n { font-size: 2.6rem; }
}

/* faq */
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 18px 0; font-weight: 600; font-size: 1.05rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ''; flex: none; width: 12px; height: 12px; margin-right: 4px;
  border-right: 2px solid var(--accent); border-bottom: 2px solid var(--accent);
  transform: rotate(45deg); transition: transform .25s ease;
}
.faq details[open] summary::after { transform: rotate(-135deg); }
.faq details p { margin: 0 0 20px; color: var(--text-2); max-width: 70ch; }

/* examples */
.feature {
  display: grid; gap: 24px; background: var(--white); border-radius: var(--radius); padding: 24px; margin-bottom: 20px;
  box-shadow: 0 1px 2px rgba(26, 26, 26, .04), 0 0 0 1px rgba(26, 26, 26, .03);
}
.feature-shot { display: block; background: var(--bg-alt); border-radius: var(--radius-sm); padding: 20px; }
.feature-shot img { width: min(100%, 300px); margin: 0 auto; border-radius: 12px; box-shadow: 0 8px 30px rgba(0,0,0,.12); }
.feature-copy .h2 { font-size: clamp(1.5rem, 2.6vw, 2.2rem); margin-bottom: 14px; }
.feature-copy > p { color: var(--text-2); }
.cards--examples { margin-top: 20px; }
.card--example { display: grid; gap: 18px; }
.example-shot { display: block; background: var(--bg-alt); border-radius: var(--radius-sm); padding: 16px; }
.example-shot img { width: min(100%, 220px); margin: 0 auto; border-radius: 10px; box-shadow: 0 6px 24px rgba(0,0,0,.12); }
@media (min-width: 900px) {
  .feature { grid-template-columns: 0.9fr 1.1fr; gap: 40px; padding: 32px; align-items: center; }
  .card--example { grid-template-columns: 180px 1fr; align-items: center; }
}

/* about */
.about-grid { display: grid; gap: 32px; }
.about-photo { margin: 0; }
.about-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); max-width: 440px; }
.about-copy > p { color: var(--text-2); max-width: 56ch; }
.points { margin: 28px 0 0; display: grid; gap: 0; }
.points > div { padding: 16px 0; border-top: 1px solid var(--line); }
.points > div:last-child { border-bottom: 1px solid var(--line); }
.points dt { font-weight: 600; margin-bottom: 4px; }
.points dd { margin: 0; color: var(--text-2); }
@media (min-width: 900px) {
  .about-grid { grid-template-columns: 0.8fr 1.2fr; gap: 64px; align-items: center; }
}

/* contact */
.contact .card--link { display: flex; flex-direction: column; gap: 4px; transition: transform .2s ease, box-shadow .2s ease; }
.contact .card--link:hover { transform: translateY(-3px); box-shadow: 0 12px 30px rgba(26,26,26,.08), 0 0 0 1px rgba(26,26,26,.04); }
.contact-label { font-size: 0.8rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.contact strong { font-family: var(--head); font-size: 1.05rem; overflow-wrap: anywhere; }
.contact .card--link > span:last-child { color: var(--text-2); font-size: 0.95rem; }

/* services page */
.page-hero { padding-top: 48px; }
@media (min-width: 900px) { .page-hero { padding-top: 80px; } }
.cards--services { margin-top: 24px; }
.card--service h2 { font-size: 1.35rem; margin-bottom: 12px; }
.checks { margin: 0 0 24px; padding-top: 20px; border-top: 1px solid var(--line-soft); display: grid; gap: 10px; }
.checks li { display: flex; gap: 10px; align-items: flex-start; color: var(--text-2); font-size: 0.98rem; }
.checks .ico { color: var(--accent); margin-top: 3px; }
.tiles { display: grid; gap: 12px; margin-top: 8px; }
.tile {
  display: flex; align-items: center; gap: 14px; background: var(--white); border-radius: 16px; padding: 16px 18px;
  font-family: var(--head); font-weight: 700; font-size: 0.95rem; letter-spacing: -0.01em;
  box-shadow: 0 1px 2px rgba(26, 26, 26, .04), 0 0 0 1px rgba(26, 26, 26, .03);
}
@media (min-width: 600px) { .tiles { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .tiles { grid-template-columns: repeat(4, 1fr); } }

/* dark cta band */
.cta-band { background: var(--dark); color: #fff; padding: 72px 0; text-align: center; }
.cta-band .h2 { max-width: 20ch; margin: 0 auto 32px; }
.cta-band .btn-row { margin-top: 0; }
@media (min-width: 900px) { .cta-band { padding: 104px 0; } }

/* price cards (marketing packages and website packs) */
.price-card { display: flex; flex-direction: column; align-items: flex-start; }
.price-card > * { width: 100%; }
.price-card > .tag { width: auto; }
.price-card h2, .price-card h3 { font-size: 1.3rem; margin-bottom: 12px; }
.price-card--rec { box-shadow: 0 0 0 2px var(--accent); }
.amount { font-family: var(--head); font-size: 2rem; color: var(--accent); margin: 0 0 16px; line-height: 1; }
.amount span { font-family: var(--body); font-weight: 500; font-size: 0.95rem; color: var(--muted); margin-left: 4px; }
.bullets { display: grid; gap: 8px; margin: 0 0 24px; padding-left: 18px; list-style: disc; color: var(--text-2); font-size: 0.95rem; }
.price-sub { font-size: 0.88rem; color: var(--muted); margin-top: -8px; }
.price-card .btn { margin-top: auto; width: 100%; }
.specs { margin: 0 0 24px; padding-top: 20px; border-top: 1px solid var(--line-soft); display: grid; gap: 14px; }
.specs dt { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin-bottom: 2px; }
.specs dd { margin: 0; color: var(--text); }
.terms .card h3 { font-size: 1.05rem; }

/* footer */
.foot { background: var(--bg-alt); border-top: 1px solid var(--line-soft); padding: 56px 0 32px; }
.foot-grid { display: grid; gap: 32px; }
.foot-brand .brand { margin: 0 0 8px; font-size: 1.3rem; }
.foot-muted { color: var(--text-2); max-width: 32ch; margin: 0; }
.foot-links { display: grid; gap: 8px; }
.foot-links a { color: var(--text-2); }
.foot-links a:hover { color: var(--accent); }
.foot-legal { border-top: 1px solid var(--line); margin-top: 40px; padding-top: 24px; font-size: 0.82rem; color: var(--text-2); }
.foot-legal p { max-width: 100ch; margin-bottom: 10px; }
.foot-copy { color: var(--muted); margin-top: 20px; }
@media (min-width: 700px) { .foot-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; } }

/* ---------- motion ---------- */
@media (prefers-reduced-motion: no-preference) {
  html.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s cubic-bezier(.2,.6,.2,1), transform .6s cubic-bezier(.2,.6,.2,1); }
  html.js .reveal.in { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .marquee-track { animation: none; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}
