@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@400;500;600;700;800&display=swap');

:root {
  --paper: #f5f8fc;
  --ink: #063e73;
  --blue: #063e73;
  --blue-light: #285d8c;
  --yellow: #ffdc35;
  --muted: #52687d;
  --line: #d6e1ed;
  --cirrus-fg: #063e73;
  --cirrus-bg: #f5f8fc;
  --cirrus-select-bg: #ffdc3566;
  --font-family: 'DM Sans', Arial, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 30px; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--font-family); font-size: 16px; line-height: 1.6; }
a { color: inherit; text-decoration: none; }
a:hover { color: inherit; }
button, input, textarea, select { font: inherit; }
button, a, input, textarea, select, summary { -webkit-tap-highlight-color: transparent; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid var(--yellow); outline-offset: 6px; }
input:focus, textarea:focus, select:focus { outline: 2px solid var(--blue-light); outline-offset: 2px; }
.shell { width: min(1280px, calc(100% - 112px)); margin-inline: auto; }
.brand-intro { background: var(--blue); color: white; }
.site-header { min-height: 122px; display: flex; align-items: center; justify-content: space-between; gap: 30px; border-bottom: 1px solid #ffffff26; }
.logo { display: inline-flex; flex-shrink: 0; align-items: center; }
.logo img { width: 222px; height: auto; display: block; }
.site-header nav { display: flex; gap: 35px; font-size: 15px; }
.site-header nav a:hover { color: var(--yellow); }
.btn.button { background: var(--yellow); color: var(--blue); border: 1px solid var(--yellow); border-radius: 8px; padding: 18px 25px; display: inline-flex; align-items: center; justify-content: center; gap: 28px; cursor: pointer; font-family: var(--font-family); font-size: 15px; font-weight: 700; text-transform: none; letter-spacing: 0; height: auto; min-height: 54px; line-height: 1.4; margin: 0; box-shadow: none; transition: background .2s, transform .2s; }
.btn.button:hover { background: #ffe665; border-color: #ffe665; transform: translateY(-2px); color: var(--blue); }
.btn.button.small { padding: 12px 20px; min-height: 46px; font-size: 14px; gap: 20px; }
.eyebrow { font-size: 12px; font-weight: 700; letter-spacing: 1.4px; display: flex; align-items: center; gap: 10px; }
.square { width: 8px; height: 8px; background: var(--yellow); }
.agency-hero { padding-top: 48px; }
.agency-hero .eyebrow { color: #d5e5f7; }
h1, h2, h3 { font-family: Manrope, Arial, sans-serif; color: inherit; }
.agency-hero h1 { font-size: clamp(64px, 7.9vw, 114px); letter-spacing: -.065em; line-height: 1.1; font-weight: 600; margin: 30px 0 37px; }
.highlight { position: relative; display: inline-block; z-index: 0; color: var(--blue); }
.highlight::before { content: ''; background: var(--yellow); position: absolute; inset: 13% -12px 0; z-index: -1; transform: rotate(-1.2deg); }
.hero-bottom { display: flex; align-items: center; justify-content: space-between; gap: 25px; margin: 0 0 51px; }
.hero-bottom p { font-size: 18px; line-height: 1.65; color: #d5e5f7; }
.hero-meta { border-top: 1px solid #ffffff26; padding: 22px 0; display: flex; justify-content: space-between; gap: 20px; font-size: 12px; letter-spacing: 1px; color: #d5e5f7; }
.hero-meta a { letter-spacing: 0; font-size: 14px; color: white; }
.hero-meta a span { margin-left: 14px; }
.showcase { background: #e5edf6; padding: 28px 0 21px; }
.showcase-top { display: flex; justify-content: space-between; gap: 20px; font-size: 12px; letter-spacing: 1px; margin-bottom: 22px; }
.showcase-grid { gap: 24px; }
.concept { min-height: 410px; padding: 24px 28px; overflow: hidden; position: relative; border-radius: 12px; }
.concept-light { background: #fffdf2; color: #163c61; }
.concept-dark { background: #123451; color: white; }
.mock-nav { display: flex; align-items: center; justify-content: space-between; gap: 10px; border-bottom: 1px solid #163c6126; padding-bottom: 15px; font-size: 12px; }
.mock-nav b { font-size: 23px; letter-spacing: -1px; }
.concept-dark .mock-nav { border-color: #ffffff25; }
.mock-content { padding-top: 27px; }
.mock-tag { font-size: 12px; letter-spacing: 1px; }
.mock-content h2 { font-size: 46px; line-height: 1.12; letter-spacing: -2px; font-weight: 500; margin: 17px 0 25px; }
.architecture { display: flex; gap: 8px; height: 90px; margin-top: 18px; }
.arch-panel { background: #e4d38c; flex: 1; border-top: 1px solid #c2ad60; }
.arch-panel:nth-child(2) { background: #c3ae63; }
.arch-panel:nth-child(3) { background: #f2e8bf; }
.mock-footer { display: flex; justify-content: space-between; align-items: end; gap: 16px; padding-top: 19px; font-size: 12px; }
.mock-content em { font-family: Georgia, serif; color: var(--yellow); font-weight: 400; }
.product-demo { width: 86%; margin: 28px auto -49px; padding: 20px; background: #f5f8fc; color: var(--blue); border-radius: 12px 12px 0 0; transform: rotate(-5deg); box-shadow: 0 10px 30px #001d3b33; }
.product-demo > span { font-size: 12px; letter-spacing: 1px; }
.demo-heading { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.demo-heading strong { font-size: 22px; }
.demo-heading > span { font-size: 12px; border: 1px solid var(--line); padding: 2px 8px; border-radius: 10px; }
.bars { display: flex; height: 92px; align-items: end; gap: 10px; margin: 20px 0; }
.bars i { flex: 1; background: #9cb7d1; border-radius: 4px 4px 0 0; height: 30%; }
.bars i:nth-child(2n) { height: 45%; }
.bars i:nth-child(3n) { height: 60%; }
.bars i:nth-child(5) { height: 50%; }
.bars i:nth-child(7) { height: 70%; }
.bars i:nth-child(8) { height: 85%; }
.bars i:nth-child(9) { height: 100%; background: var(--blue); }
.demo-footer { font-size: 12px; display: flex; justify-content: space-between; gap: 10px; border-top: 1px solid var(--line); padding-top: 8px; }
.showcase-caption { display: flex; justify-content: space-between; gap: 20px; margin-top: 18px; font-size: 12px; color: var(--muted); }
.showcase-caption > span:last-child { letter-spacing: 1px; }
.section { padding-top: 100px; padding-bottom: 100px; }
h2 { font-size: 48px; line-height: 1.2; letter-spacing: -2px; font-weight: 500; margin: 22px 0; }
p { margin: 0 0 20px; }
.services { gap: 70px; }
.section-intro > p { max-width: 365px; color: var(--muted); }
.service-list article { display: grid; grid-template-columns: 30px 1fr 40px; gap: 20px; border-top: 1px solid var(--line); padding: 24px 0 29px; }
.number { font-size: 14px; padding-top: 9px; color: var(--muted); }
h3 { font-size: 25px; letter-spacing: -.6px; font-weight: 600; margin: 0 0 12px; }
.service-list p { font-size: 16px; color: var(--muted); line-height: 1.7; max-width: 390px; }
.service-symbol { font-size: 37px; line-height: 1.3; color: var(--blue-light); }
.tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tags span { font-size: 12px; border: 1px solid var(--line); padding: 3px 10px; border-radius: 30px; }
.process { background: var(--blue); color: white; }
.process-head { display: flex; justify-content: space-between; align-items: end; gap: 30px; }
.process-head > p { max-width: 355px; color: #ccdeef; font-size: 16px; }
.process-head h2 { margin-bottom: 40px; }
.steps { gap: 40px; margin-top: 20px; }
.steps article { border-top: 1px solid #ffffff40; padding-top: 26px; }
.steps article > span { font-size: 12px; color: var(--yellow); letter-spacing: 1px; }
.steps h3 { margin-top: 24px; font-size: 23px; }
.steps p { color: #ccdeef; font-size: 16px; max-width: 320px; }
.support-grid { gap: 90px; margin-bottom: 40px; }
.support-grid > div { padding-top: 27px; }
.support-grid p { color: var(--muted); }
.support-grid ul { list-style: none; padding: 0; margin: 24px 0; }
.support-grid li { border-top: 1px solid var(--line); padding: 12px 0; font-size: 16px; }
.support-grid li::before { content: '+'; margin-right: 18px; color: var(--blue); }
.faq { max-width: 770px; margin-left: auto; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
summary { display: flex; justify-content: space-between; gap: 20px; padding: 22px 0; cursor: pointer; list-style: none; font-size: 16px; }
summary::-webkit-details-marker { display: none; }
summary span { font-size: 22px; line-height: 1; }
.faq details[open] summary span { transform: rotate(45deg); }
.faq p { font-size: 16px; color: var(--muted); max-width: 630px; padding-right: 20px; }
.contact { background: var(--yellow); }
.contact-inner { padding-top: 70px; padding-bottom: 65px; }
.contact h2 { font-size: clamp(46px, 6vw, 86px); line-height: 1.12; letter-spacing: -.055em; margin: 28px 0 30px; }
.contact h2 span { font-family: Georgia, serif; font-style: italic; }
.contact-bottom { display: flex; align-items: center; justify-content: space-between; gap: 25px; }
.contact-bottom p { margin: 0; color: #224765; font-size: 17px; }
.contact .button, form > .button { background: var(--blue); border-color: var(--blue); color: white; }
.contact .button:hover, form > .button:hover { background: var(--blue-light); border-color: var(--blue-light); color: white; }
footer.shell { width: 100%; max-width: none; padding: 32px max(56px, calc((100% - 1280px) / 2)); display: flex; justify-content: space-between; align-items: center; gap: 20px; background: var(--blue); color: white; text-align: left; margin: 0; }
footer .logo img { width: 190px; }
footer > span { font-size: 14px; color: #ccdeef; }
dialog { border: 0; border-radius: 18px; padding: 32px; width: min(520px, calc(100% - 32px)); max-height: calc(100dvh - 40px); overflow-y: auto; background: var(--paper); color: var(--ink); }
dialog::backdrop { background: #002546aa; backdrop-filter: blur(5px); }
.dialog-head { display: flex; align-items: center; justify-content: space-between; gap: 15px; }
.dialog-head h2 { font-size: 28px; letter-spacing: -1px; margin: 0 0 15px; }
.dialog-head button { border: 0; background: transparent; color: var(--blue); font-size: 32px; line-height: 1; padding: 6px; min-width: 40px; cursor: pointer; margin: 0; }
.dialog-head + p { font-size: 16px; color: var(--muted); }
label { display: block; margin-top: 18px; font-size: 14px; }
#brief-form input, #brief-form textarea, #brief-form select { font-family: var(--font-family); font-size: 16px; border-color: #9bb2c8; background: white; margin-top: 7px; color: var(--ink); }
textarea { resize: vertical; }
form > .button { margin-top: 22px !important; width: 100%; }
.form-note.info { font-size: 12px; color: var(--muted); margin: 12px 0 0; text-align: center; }
@media (min-width: 1600px) { .agency-hero h1 { font-size: 120px; } }
@media (max-width: 1023px) {
  .shell { width: calc(100% - 64px); }
  .services { gap: 35px; }
  .section-intro > p { max-width: 600px; }
  h2 { font-size: 39px; }
  .support-grid { gap: 40px; }
  .mock-nav > span:nth-child(2) { display: none; }
  .concept { padding: 20px; }
  .mock-content h2 { font-size: 36px; }
  .steps { gap: 25px; }
  .site-header nav { gap: 22px; }
  .logo img { width: 190px; }
  footer.shell { padding-inline: 32px; }
}
@media (max-width: 767px) {
  .shell { width: calc(100% - 40px); }
  .site-header { min-height: 96px; gap: 15px; }
  .site-header nav { display: none; }
  .logo img { width: 160px; }
  .site-header .btn.button { padding: 10px 14px; font-size: 13px; gap: 12px; }
  .agency-hero { padding-top: 34px; }
  .agency-hero h1 { font-size: clamp(44px, 10.7vw, 78px); margin-top: 26px; }
  .highlight::before { inset-inline: -6px; }
  .hero-bottom { display: block; margin-bottom: 36px; }
  .hero-bottom p { font-size: 16px; margin-bottom: 25px; }
  .hero-meta { flex-wrap: wrap; font-size: 12px; gap: 12px; }
  .hero-meta a { font-size: 14px; }
  .hero-meta a span { margin-left: 5px; }
  .showcase-top { flex-wrap: wrap; font-size: 12px; gap: 8px; }
  .showcase-grid { gap: 18px; }
  .concept { min-height: 405px; padding: 24px; }
  .mock-content h2 { font-size: clamp(34px, 10vw, 45px); }
  .concept-dark { min-height: 420px; }
  .showcase-caption > span:last-child { display: none; }
  .section { padding-top: 65px; padding-bottom: 65px; }
  .services { gap: 25px; }
  h2 { font-size: 36px; letter-spacing: -1.5px; }
  .service-list article { gap: 15px; grid-template-columns: 25px 1fr 25px; }
  .service-symbol { font-size: 28px; }
  .service-list h3 { font-size: 23px; }
  .process-head { display: block; }
  .process-head h2 { margin-bottom: 25px; }
  .process-head > p { max-width: none; }
  .steps { gap: 22px; margin-top: 35px; }
  .steps h3 { margin-top: 15px; }
  .steps p { max-width: none; }
  .support-grid { gap: 0; margin-bottom: 25px; }
  .support-grid > div { padding-top: 0; }
  .faq { margin-left: 0; }
  .contact-inner { padding-top: 50px; padding-bottom: 45px; }
  .contact h2 { font-size: clamp(34px, 8.5vw, 59px); }
  .contact-bottom { display: block; }
  .contact-bottom p { margin-bottom: 25px; font-size: 16px; }
  footer.shell { flex-wrap: wrap; padding: 28px 20px; }
  footer .logo img { width: 160px; }
  footer > span:nth-child(2) { display: none; }
  dialog { padding: 24px; }
  .dialog-head h2 { font-size: 25px; }
}
@media (max-width: 359px) {
  .logo img { width: 140px; }
  .site-header .btn.button { padding-inline: 10px; }
  .service-list article { grid-template-columns: 20px 1fr; gap: 10px; }
  .service-symbol { display: none; }
  .demo-heading { flex-wrap: wrap; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }

/* Real project portfolio and personal introduction. */
.portfolio { background: #e5edf6; }
.portfolio-heading { display: flex; justify-content: space-between; align-items: end; gap: 35px; margin-bottom: 35px; }
.portfolio-heading > p { max-width: 350px; color: var(--muted); }
.portfolio-grid { gap: 24px; }
.project-card.card { background: white; border: 1px solid var(--line); border-radius: 12px; box-shadow: none; overflow: hidden; display: flex; flex-direction: column; transition: box-shadow .2s; }
.project-card:hover { box-shadow: 0 12px 35px #063e7312; }
.project-image { display: block; position: relative; overflow: hidden; }
.project-image img { display: block; width: 100%; height: 270px; object-fit: cover; transition: transform .3s; }
.project-card:hover .project-image img { transform: scale(1.035); }
.project-card:nth-child(3) .project-image img { object-position: center 38%; }
.project-category { position: absolute; bottom: 16px; left: 16px; background: var(--yellow); color: var(--blue); border-radius: 4px; padding: 5px 10px; font-size: 12px; font-weight: 700; letter-spacing: .7px; }
.project-content { padding: 25px; flex: 1; display: flex; flex-direction: column; }
.project-index { font-size: 12px; letter-spacing: 1px; color: var(--muted); }
.project-content h3 { margin: 13px 0 14px; font-size: 24px; }
.project-content p { font-size: 16px; color: var(--muted); margin-bottom: 22px; }
.project-link { border-top: 1px solid var(--line); padding-top: 16px; margin-top: auto; font-size: 14px; font-weight: 600; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; }
.project-link:hover { text-decoration: underline; }
.new-tab-label { font-size: 12px; font-weight: 400; color: var(--muted); }
.about { gap: 85px; border-top: 1px solid var(--line); align-items: center; }
.about-portrait { margin: 0; position: relative; }
.about-portrait img { display: block; width: 100%; height: auto; border-radius: 12px; }
.about-portrait figcaption { background: var(--blue); color: white; display: flex; justify-content: space-between; align-items: center; gap: 15px; padding: 16px 20px; border-radius: 0 0 12px 12px; font-size: 18px; margin-top: -12px; position: relative; }
.about-portrait figcaption span { font-size: 12px; letter-spacing: 1.5px; color: var(--yellow); }
.about-copy h2 { font-size: 42px; }
.about-copy p { color: var(--muted); }
.about-values { display: flex; flex-wrap: wrap; gap: 8px; margin: 28px 0; }
.about-values span { border: 1px solid var(--line); padding: 6px 12px; border-radius: 6px; font-size: 14px; }
.about-contact { font-size: 18px; font-weight: 600; text-decoration: underline; text-underline-offset: 5px; }
.contact-email { display: inline-block; margin-top: 18px; font-weight: 700; text-decoration: underline; text-underline-offset: 5px; }
.bot-trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
#spam-check { margin-top: 22px; min-width: 0; }
.form-status { font-size: 14px; color: var(--muted); margin: 14px 0 0; }
.form-status a { text-decoration: underline; }
.form-status[data-state='success'] { color: #1c633c; }
.form-status[data-state='error'] { color: #a3252d; }
.btn.button:disabled { background: #d6e1ed; border-color: #d6e1ed; color: #405771; cursor: not-allowed; opacity: 1; transform: none; }
@media (max-width: 1023px) {
  .site-header nav { gap: 18px; }
  .project-image img { height: 225px; }
  .project-content { padding: 18px; }
  .project-content h3 { font-size: 21px; }
  .about { gap: 40px; }
  .about-copy h2 { font-size: 34px; }
}
@media (max-width: 767px) {
  .portfolio-heading { display: block; }
  .portfolio-heading > p { max-width: none; }
  .portfolio-grid { gap: 22px; }
  .project-image img { height: 280px; }
  .project-content { padding: 24px; }
  .project-content h3 { font-size: 24px; }
  .about { gap: 35px; }
  .about-copy h2 { font-size: 36px; }
  .about-portrait { max-width: 480px; }
}

/* Language choice is visible at every screen size. */
.header-actions { display: flex; align-items: center; gap: 20px; flex-shrink: 0; }
.site-header .language-switcher { display: inline-flex; gap: 3px; align-items: center; border: 1px solid #ffffff40; border-radius: 6px; padding: 3px; }
.language-switcher a { font-size: 14px; font-weight: 600; padding: 6px 8px; border-radius: 3px; color: white; line-height: 1.4; }
.site-header .language-switcher a:hover { background: #ffffff1a; color: white; }
.site-header .language-switcher a[aria-current='page'] { background: var(--yellow); color: var(--blue); }
@media (max-width: 1200px) {
  .site-header { gap: 24px; }
  .site-header .main-nav { gap: 18px; font-size: 14px; }
  .site-header .logo img { width: 180px; }
  .header-actions { gap: 14px; }
}
@media (min-width: 768px) and (max-width: 1050px) {
  .site-header { flex-wrap: wrap; padding-block: 20px; row-gap: 16px; }
  .site-header .main-nav { order: 3; width: 100%; justify-content: center; }
}
@media (max-width: 767px) {
  html[lang='hr'] .agency-hero h1 { font-size: clamp(38px, 10.7vw, 78px); }
  .site-header .logo img { width: 160px; }
  .site-header .main-nav { display: none; }
  .site-header { flex-wrap: wrap; padding-block: 18px; row-gap: 16px; }
  .header-actions { flex-wrap: wrap; }
}
@media (max-width: 560px) {
  .site-header { gap: 14px; }
  .header-actions { display: contents; }
  .site-header .language-switcher { margin-left: auto; }
  .header-actions > .button { order: 3; width: 100%; }
}
@media (max-width: 359px) {
  .site-header .logo img { width: 135px; }
  .language-switcher a { padding-inline: 6px; }
}
