:root {
  --ink: #132f46;
  --red: #aa352c;
  --line: #cbd3d7;
  font-family: "Inter", "Segoe UI", system-ui, sans-serif;
  color: var(--ink);
  line-height: 1.55;
}
* { box-sizing: border-box; }
body, h1, h2, h3, p { margin: 0; }
img { display: block; max-width: 100%; }
a { color: inherit; text-underline-offset: .24em; }
a:hover { text-decoration: underline; }
:focus-visible { outline: 3px solid #ec9d48; outline-offset: 4px; }
.wrap { width: min(83rem, 90%); margin-inline: auto; }
.bar, nav, .section-head { display: flex; align-items: center; justify-content: space-between; }
header { background: white; border-bottom: 1px solid var(--line); }
header .bar { min-height: 5rem; }
.logo { width: 7.75rem; height: auto; }
nav { gap: 2rem; font-weight: 650; }
nav a, .button { text-decoration: none; white-space: nowrap; }
.outline { border: 1px solid var(--ink); border-radius: 3px; padding: .48rem 1.25rem; }
.outline:hover { background: var(--ink); color: white; text-decoration: none; }
.skip { position: absolute; z-index: 5; padding: .8rem; background: white; transform: translateY(-130%); }
.skip:focus { transform: none; }
.hero {
  position: relative; isolation: isolate; color: white; background-color: var(--ink);
  background-image: linear-gradient(90deg,rgba(8,27,42,.97),rgba(8,27,42,.86) 33%,rgba(8,27,42,.23) 78%),
    linear-gradient(0deg,rgba(8,27,42,.55),transparent 36%), url('assets/maglaj.jpg');
  background-size: cover; background-position: center 55%;
}
.hero-inner { padding-block: clamp(5rem,10vw,10rem) clamp(6rem,11vw,11rem); position: relative; }
.eyebrow, .brand { font-size: .875rem; font-weight: 750; letter-spacing: .11em; text-transform: uppercase; }
.eyebrow { display: flex; align-items: center; gap: .75rem; }
.eyebrow::before { content: ''; width: 2rem; height: 3px; background: #cb5346; }
h1, h2, h3 { line-height: 1.04; letter-spacing: -.055em; }
h1 { font-size: clamp(3rem,6.8vw,6.8rem); margin-block: 1.4rem; }
h1 span { color: #f87b66; }
.intro { font-size: clamp(1.03rem,1.5vw,1.22rem); max-width: 32rem; margin-bottom: 2rem; }
.button { display: inline-block; border: 0; border-radius: 3px; background: white; color: var(--ink); padding: .92rem 1.55rem; font: inherit; font-weight: 700; cursor: pointer; }
.button:hover { background: #e0edf1; text-decoration: none; }
.caption { position: absolute; right: 0; bottom: 1.1rem; font-size: .85rem; }
.caption span { font-size: 1.25rem; vertical-align: middle; }
.section, .contact { padding-block: clamp(3.8rem,7vw,7.5rem); }
.section-head { align-items: end; gap: 1rem; margin-bottom: 2.2rem; }
h2 { font-size: clamp(2.5rem,4.3vw,4.5rem); margin-top: .8rem; }
.text-link, .product-copy a, .mail { font-weight: 650; }
.products { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: clamp(.8rem,1.8vw,2rem); }
article { display: flex; flex-direction: column; border-top: 2px solid var(--ink); }
.photo { background: #f4f6f6; aspect-ratio: 3 / 2; display: grid; place-items: center; overflow: hidden; }
.photo img { width: 86%; height: 84%; object-fit: contain; mix-blend-mode: multiply; }
.full img { width: 100%; height: 100%; object-fit: cover; }
.wordmark img { width: 65%; }
.product-copy { display: flex; flex-direction: column; flex: 1; align-items: start; padding-top: 1.3rem; }
.brand { color: var(--red); font-size: .81rem; }
h3 { font-size: clamp(1.45rem,2vw,2rem); margin: .4rem 0 .7rem; }
.product-copy > p:not(.brand) { color: #465663; padding-bottom: 1.2rem; }
.product-copy a { margin-top: auto; font-size: .93rem; }
.about-band { background: #e9f0f3; border-bottom: 1px solid var(--line); }
.about { display: grid; grid-template-columns: 5fr 6fr; gap: clamp(2rem,6vw,6rem); align-items: center; }
.about h2 { margin-bottom: 1.6rem; }
.about-copy > p:not(.eyebrow) { color: #465663; font-size: 1.08rem; max-width: 34rem; }
.about-copy > p + p { margin-top: 1rem; }
.about-copy a { color: var(--ink); font-weight: 650; text-decoration-color: var(--red); text-decoration-thickness: 2px; text-decoration-line: underline; }
.about-graphic { margin: 0; position: relative; border-top: 2px solid var(--ink); }
.about-graphic svg { display: block; width: 100%; height: auto; font-family: inherit; }
.g-bg { fill: white; }
.g-dot { fill: #d5dde1; }
.g-num { font-size: 150px; font-weight: 800; letter-spacing: -.06em; fill: var(--ink); }
.g-plus { fill: var(--red); }
.g-cap { font-size: 22px; font-weight: 750; letter-spacing: .11em; text-transform: uppercase; fill: var(--red); }
.g-river { fill: none; stroke: var(--ink); stroke-width: 5; stroke-linecap: round; stroke-dasharray: 1200; stroke-dashoffset: 0; }
.g-river-soft { fill: none; stroke: #bcd3dc; stroke-width: 26; stroke-linecap: round; opacity: .6; }
.g-pin circle { fill: var(--red); }
.g-pin .g-ring { fill: white; stroke: var(--red); stroke-width: 3; }
.g-home circle:not(.g-ring) { fill: var(--ink); }
.g-home .g-ring { stroke: var(--ink); }
.g-label { font-size: 17px; font-weight: 650; fill: #465663; }
.g-strong { fill: var(--ink); font-weight: 750; }
.g-badge rect { fill: var(--ink); }
.g-badge-big { font-size: 46px; font-weight: 800; fill: white; }
.g-badge-small { font-size: 15px; font-weight: 650; letter-spacing: .08em; text-transform: uppercase; fill: #d4e1e6; }
.about-tags { list-style: none; margin: 0; padding: 0; display: flex; position: absolute; left: 0; bottom: 0; transform: translateY(50%); gap: .5rem; padding-left: 1.2rem; }
.about-tags li { background: white; border: 1px solid var(--ink); border-radius: 3px; padding: .3rem .8rem; font-size: .85rem; font-weight: 700; }
@media (prefers-reduced-motion: no-preference) {
  .about-graphic.in .g-river { animation: draw 2.2s ease-out both; }
  .about-graphic.in .g-pin { animation: pop .5s ease-out both; transform-box: fill-box; transform-origin: center; }
  .about-graphic.in .g-pin:nth-of-type(1) { animation-delay: .7s; }
  .about-graphic.in .g-pin:nth-of-type(2) { animation-delay: 1.2s; }
  .about-graphic.in .g-pin:nth-of-type(3) { animation-delay: 1.7s; }
}
@keyframes draw { from { stroke-dashoffset: 1200; } }
@keyframes pop { from { opacity: 0; } }
.catalog { background: #f4f6f6; border-top: 1px solid var(--line); padding-block: clamp(3rem,5.5vw,5.5rem); }
.catalog-inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem 4rem; }
.catalog h2 { font-size: clamp(2rem,3.4vw,3.4rem); margin-bottom: 1rem; }
.catalog-inner > div > p:not(.eyebrow) { max-width: 34rem; color: #465663; }
.olx-button { flex-shrink: 0; display: flex; align-items: center; gap: 1.1rem; background: white; border: 2px solid var(--ink); border-radius: 3px; padding: 1rem 1.6rem; font-weight: 700; text-decoration: none; transition: background .15s, color .15s; }
.olx-button img { width: 4.6rem; height: auto; }
.olx-button:hover { background: var(--ink); color: white; text-decoration: none; }
.olx-button:hover img { filter: invert(1); }
.contact { background: #112e46; color: white; }
.contact-grid { display: grid; grid-template-columns: 4fr 6fr; gap: 8%; }
.contact h2 { margin-bottom: 1.3rem; }
.contact-grid > div > p:not(.eyebrow) { max-width: 24rem; color: #d4e1e6; }
.mail { display: inline-block; margin-block: 1.4rem; }
.fields { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: .9rem 1rem; margin-bottom: .9rem; }
label { font-weight: 600; display: block; font-size: .94rem; }
small { font-weight: 400; }
input, textarea, select { width: 100%; color: var(--ink); background: #fff; border: 1px solid #c4d0d5; border-radius: 3px; padding: .72rem; margin-top: .35rem; font: inherit; font-size: 1rem; }
textarea { resize: vertical; min-height: 6rem; }
form .button { margin-top: 1rem; }
.note { font-size: .88rem; color: #d4e1e6; margin-top: .8rem; }
footer .bar { padding-block: 1.5rem; gap: 1rem; flex-wrap: wrap; font-size: .91rem; }
footer .bar { flex-direction: column; align-items: flex-start; gap: .4rem; }
.company { font-style: normal; display: flex; flex-direction: column; gap: .15rem; color: #465663; }
@media (min-width: 60rem) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .hero { background-attachment: scroll, scroll, fixed; }
}
@media (max-width: 62rem) {
  .products { grid-template-columns: repeat(2,minmax(0,1fr)); row-gap: 2.2rem; }
}
@media (max-width: 46rem) {
  .wrap { width: 89%; }
  nav { gap: 1.15rem; }
  .hero { background-image: linear-gradient(90deg,rgba(8,27,42,.89),rgba(8,27,42,.60)),url('assets/maglaj.jpg'); }
  .section-head, .contact-grid { display: grid; grid-template-columns: 1fr; gap: 1.4rem; }
  .contact h2 br { display: none; }
  .catalog-inner { flex-direction: column; align-items: start; }
  .about { grid-template-columns: 1fr; padding-bottom: 5rem; }
}
@media (max-width: 33rem) {
  .logo { width: 6.3rem; }
  .fields, .products { grid-template-columns: 1fr; }
  .photo { aspect-ratio: 2 / 1; }
  header .bar { min-height: 4.3rem; }
  nav a[href="#o-nama"] { display: none; }
}
