/* =========================================================
   Lunero Invest – statična različica (kopija Wix Studio strani)
   Barve, pisava in razmerja so povzeti po obstoječi Wix strani.
   ========================================================= */

@font-face {
  font-family: "Manrope";
  src: url("../fonts/manrope-latin-ext-wght-normal.woff2?v=2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
  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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Manrope";
  src: url("../fonts/manrope-latin-wght-normal.woff2?v=2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
  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;
}

:root {
  /* Barve iz Wix strani */
  --navy: #132b4a;        /* glava, noga */
  --navy-btn: #142c49;    /* gumbi */
  --grey: #e7e6e8;        /* sive sekcije */
  --cream: #fefff1;       /* kontakt, pravne strani, vrednote */
  --text: #424242;
  --text-dark: #2c2d2e;
  --brown: #56201e;       /* naslov kontaktnega obrazca, galerija */
  --beige: #ebd9c5;       /* okvir obrazca */
  --orange: #c0480f;      /* gumb Pošlji */
  --peach: #ffbe98;       /* aktivna povezava v nogi */
  --green-box: #e8efcf;   /* Naša zgodba */
  --tan: #d4c6a1;         /* vrednote */
  --light: #fef5f0;

  --t1: #b6bd9c; --t2: #ccc2d3; --t3: #ebd9c5; --t4: #ffbe98; --t5: #c19e66; --t6: #ef8958;

  --font: "Manrope", "Helvetica Neue", Arial, sans-serif;

  /* Vsebina je na Wixu široka pol zaslona (1060 px pri 2120 px) */
  --wrap: max(1060px, 50vw);
  --gut: clamp(18px, 4vw, 40px);
  --header-h: 100px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.3;
  color: var(--text);
  background: #fff;
  -webkit-font-smoothing: antialiased;
}
body.bg-cream { background: var(--cream); }
body.bg-grey { background: var(--grey); }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, p, ul, ol { margin: 0; }
h1, h2, h3 { font-weight: 400; text-wrap: balance; }
:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; }

.wrap { width: min(100% - 2 * var(--gut), var(--wrap)); margin-inline: auto; }
.wrap-narrow { width: min(100% - 2 * var(--gut), 860px); margin-inline: auto; }
.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-link { position: absolute; left: 12px; top: -60px; background: #fff; color: var(--navy); padding: 10px 14px; z-index: 100; }
.skip-link:focus { top: 12px; }

/* Tipografija (velikosti kot na Wixu) */
.t-display { font-size: 37.6px; line-height: 1.2; }
.t-h2 { font-size: 30.4px; line-height: 1.2; }
.t-h3 { font-size: 22.4px; line-height: 1.2; }
.t-label { font-size: 18px; line-height: 1.3; }
.t-label--16 { font-size: 16px; }
.t-sub { font-size: 14.4px; font-weight: 600; line-height: 1.2; }
.t-small { font-size: 14.8px; line-height: 1.3; }

/* Gumbi */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 42px; padding: 0 18px;
  background: var(--navy-btn); color: var(--light);
  border: 1px solid #000; border-radius: 0;
  font: 400 16px/1 var(--font); text-decoration: none; cursor: pointer;
  transition: background-color .2s;
}
.btn:hover { background: #22406a; }
.arrow-link {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 16px; color: var(--text); text-decoration: none;
}
.arrow-link svg { width: 30px; height: 10px; transition: transform .2s; }
.arrow-link:hover svg { transform: translateX(5px); }

/* ---------- Glava ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--navy); }
.header-row { height: var(--header-h); display: flex; align-items: center; justify-content: space-between; }
.logo img { width: 95px; height: 95px; }
.menu-toggle {
  width: 44px; height: 44px; display: grid; place-content: center; gap: 4px;
  background: none; border: 0; cursor: pointer; padding: 0;
}
.menu-toggle span { display: block; width: 14px; height: 1.5px; background: #fff; transition: transform .2s, opacity .2s; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(5.5px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-5.5px) rotate(-45deg); }
.site-menu {
  position: absolute; top: calc(100% + 8px); right: clamp(12px, 2.2vw, 48px);
  width: min(476px, calc(100% - 24px));
  background: #fff; padding: 10px 0; display: none;
  box-shadow: 0 8px 30px rgba(0, 0, 0, .15);
}
.site-menu.open { display: block; }
.site-menu ul { list-style: none; padding: 0; }
.site-menu a {
  display: block; padding: 11px 16px; text-align: center;
  font-size: 16px; color: #000; text-decoration: none;
}
.site-menu a:hover { background: #faf4ef; }
.site-menu a[aria-current="page"] { background: #fdf0e8; color: var(--orange); }
.menu-backdrop { position: fixed; inset: 0; background: rgba(0, 0, 0, .45); z-index: 40; }

/* ---------- Domov: hero ---------- */
.hero { position: relative; height: clamp(440px, 34.2vw, 820px); overflow: hidden; background: #2b2420; color: #fff; }
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0,0,0,.35) 0%, rgba(0,0,0,0) 45%); }
.hero-content {
  position: absolute; z-index: 1; left: 32.9%; bottom: 58px;
  width: min(635px, calc(100% - 2 * var(--gut)));
}
.hero h1 { font-size: 37.6px; line-height: 1.2; font-weight: 400; }
.hero-content > p { margin-top: 8px; max-width: 584px; font-size: 16px; line-height: 1.3; }
.btn-hero {
  margin-top: 30px; display: flex; align-items: center; gap: 14px;
  height: 60px; padding: 0 28px; width: 100%;
  background: var(--navy-btn); color: #fefff1; border-radius: 0 0 3px 3px;
  font-size: 16px; text-decoration: none;
}
.btn-hero svg { width: 30px; height: 10px; transition: transform .2s; }
.btn-hero:hover svg { transform: translateX(5px); }

/* ---------- Domov: uvodni bloki ---------- */
.intro { padding: 70px 0 70px; }
.intro .t-label { margin-bottom: 7px; }
.intro .intro-text { margin-top: 23px; max-width: 581px; color: var(--text-dark); }
.intro .arrow-link { margin-top: 33px; }
.intro--done { padding: 70px 0 50px; }
.intro--done .t-display { margin-top: 7px; }
.intro--done .intro-text { margin-top: 22px; color: var(--text); max-width: 665px; }
.intro--done .arrow-link { margin-top: 37px; }

/* ---------- Domov: projektni bloki (siva podlaga) ---------- */
.feature { background: var(--grey); }
.feature + .feature { margin-top: 40px; }
.feature-grid { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr auto; min-height: 610px; }
.feature-main { position: relative; min-height: 420px; }
.feature-main img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.feature-text h2 { margin-bottom: 13px; }
.feature-text p { max-width: 361px; }
.feature-text .btn { margin-top: 24px; }
.thumbs { display: flex; align-items: flex-end; }
.thumbs img { width: 231px; aspect-ratio: 231 / 199; object-fit: cover; }

/* Pirniče: slika levo (sega 71 px čez rob vsebine) */
.feature--left .feature-main { margin-left: -71px; grid-row: 1 / span 2; }
.feature--left .feature-text { grid-column: 2; grid-row: 1; padding: 95px 0 0 84px; }
.feature--left .thumbs { grid-column: 2; grid-row: 2; padding: 30px 0 37px 49px; gap: 53px; }
/* Tacen: slika desno */
.feature--right .feature-main { grid-column: 2; grid-row: 1 / span 2; margin-right: -70px; }
.feature--right .feature-text { grid-column: 1; grid-row: 1; padding: 104px 0 0 0; }
.feature--right .feature-text p { font-size: 19.2px; line-height: 1.2; }
.feature--right .thumbs { grid-column: 1; grid-row: 2; padding: 30px 0 32px 0; margin-left: -51px; gap: 37px; }
.feature--right .thumbs img { width: 230px; }

/* ---------- Domov: kvalitete ---------- */
.qualities { padding: 70px 0 70px; }
.qualities .t-sub { margin-top: 7px; }
.tiles { list-style: none; padding: 0; margin-top: 55px; display: grid; grid-template-columns: repeat(3, 1fr); }
.tile { aspect-ratio: 1.4; padding: 22px 24px 24px; display: flex; flex-direction: column; justify-content: space-between; }
.tile-num { font-size: 16px; }
.tile-title { font-size: 22.4px; line-height: 1.2; max-width: 230px; }
.tile:nth-child(1) { background: var(--t1); }
.tile:nth-child(2) { background: var(--t2); }
.tile:nth-child(3) { background: var(--t3); }
.tile:nth-child(4) { background: var(--t4); }
.tile:nth-child(5) { background: var(--t5); }
.tile:nth-child(6) { background: var(--t6); }

/* ---------- Kontaktni blok (domov + kontakt) ---------- */
.contact-sec { background: var(--grey); padding: 54px 0 92px; }
.bg-cream .contact-sec { background: var(--cream); padding-top: 50px; }
.contact-grid { display: grid; grid-template-columns: 414fr 622fr; gap: 0 2.3%; align-items: start; }
.contact-img { width: 100%; aspect-ratio: 414 / 716; object-fit: cover; margin-top: 44px; }
.contact-box { background: var(--beige); padding: 30px 29px 32px; color: var(--brown); }
.contact-box h2 { font-size: 30.4px; line-height: 1.2; }
.contact-box > p { margin-top: 8px; font-size: 14.8px; line-height: 1.3; }
.contact-form { margin-top: 52px; display: grid; gap: 30px; }
.field { display: grid; gap: 4px; }
.field label { font-size: 14px; color: var(--brown); }
.field input, .field textarea {
  width: 100%; border: 0; border-bottom: 1px solid rgba(86, 32, 30, .55); border-radius: 0;
  background: transparent; padding: 8px 2px; font: 400 16px/1.3 var(--font); color: var(--text-dark);
}
.field textarea { min-height: 70px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-bottom: 2px solid var(--brown); padding-bottom: 7px; }
.hp { position: absolute; left: -9999px; }
.form-foot { display: flex; justify-content: flex-end; }
.btn-send {
  width: min(270px, 100%); height: 41px; border: 0; border-radius: 3px;
  background: var(--orange); color: var(--light); font: 400 16px var(--font); cursor: pointer;
}
.btn-send:hover { background: #a63d0c; }
.btn-send[disabled] { opacity: .65; cursor: wait; }
.form-status { min-height: 1.3em; font-size: 14.8px; }
.form-status.ok { color: #2f5b2a; }
.form-status.err { color: #9b1c0c; }

/* ---------- O nas ---------- */
.page-title { padding: 50px 0 30px; }
.story { padding: 0 0 80px; }
.story-grid { display: grid; grid-template-columns: 484fr 576fr; align-items: center; }
.story-box { background: var(--green-box); padding: 38px 28px 34px; }
.story-box h2 { margin-bottom: 30px; }
.story-box p { font-size: 14.8px; line-height: 1.3; }
.story-box p + p { margin-top: 18px; }
.story-logo { display: grid; place-items: center; padding: 24px; }
.story-logo img { width: min(400px, 100%); aspect-ratio: 1; object-fit: cover; }
.values { padding: 0 0 70px; }
.values-box { background: var(--cream); padding: 22px 26px; display: grid; grid-template-columns: 500fr 506fr; gap: 20px; }
.values-box > img { width: 100%; height: 100%; min-height: 360px; object-fit: cover; }
.values-list h2 { margin: 6px 0 20px; }
.values-list ol { list-style: none; padding: 0; display: grid; gap: 7px; }
.values-list li { background: var(--tan); min-height: 58px; padding: 10px 14px; display: flex; align-items: center; gap: 14px; font-size: 18.4px; line-height: 1.2; }
.values-list li span { font-size: 14px; font-weight: 700; min-width: 18px; }

/* ---------- Projekti ---------- */
.projects-page { padding: 50px 0 90px; }
.projects-page h1 { text-align: center; font-size: 37.6px; font-weight: 500; }
.lead-center { margin: 24px auto 0; max-width: 760px; text-align: center; font-size: 14.8px; line-height: 1.4; }
.proj-cards { margin-top: 48px; display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.proj-card { text-decoration: none; color: var(--text); display: block; }
.proj-card .img { overflow: hidden; }
.proj-card img { width: 100%; aspect-ratio: 1.37; object-fit: cover; transition: transform .5s ease; }
.proj-card:hover img { transform: scale(.94); }
.proj-card h2 { margin-top: 18px; font-size: 16px; font-weight: 700; }
.proj-card--wide { grid-column: 1 / -1; }
.proj-card--wide img { aspect-ratio: 2.6; }
.proj-card p { margin-top: 10px; font-size: 14.8px; line-height: 1.35; max-width: 520px; }

/* ---------- Posamezen projekt ---------- */
.project { padding: 46px 0 70px; }
.project h1 { text-align: center; font-size: 30.4px; line-height: 1.2; }
.project .lead { margin-top: 22px; text-align: center; font-size: 14.8px; line-height: 1.55; }
.project-main { margin-top: 30px; width: 100%; aspect-ratio: 855 / 523; object-fit: cover; }
.project-body { margin-top: 40px; font-size: 14.8px; line-height: 1.9; }
.project-body section + section { margin-top: 28px; }
.project-body h2 { font-size: 14.8px; font-weight: 400; line-height: 1.9; }
.project-body ul { list-style: none; padding: 0; }
.project-body p + p { margin-top: 14px; }
.gallery-title { margin-top: 70px; font-size: 14.8px; font-weight: 700; color: var(--brown); }
.gallery { position: relative; margin-top: 18px; }
.gallery-track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.gallery-track::-webkit-scrollbar { display: none; }
.gallery-track > .slide { flex: 0 0 100%; scroll-snap-align: start; display: block; cursor: zoom-in; }
.gallery-track img { width: 100%; aspect-ratio: 1.76; object-fit: cover; }
.gallery--contain .gallery-track img { aspect-ratio: 2.2; object-fit: contain; background: #f4f4f2; }
.gallery-title + .gallery { margin-top: 18px; }
.gallery + .gallery-title { margin-top: 48px; }
.download { margin-top: 26px; }
.project-main--natural { aspect-ratio: auto; object-fit: contain; width: auto; max-width: 100%; max-height: 560px; margin-inline: auto; }
.gallery-btn {
  position: absolute; top: 50%; translate: 0 -50%;
  width: 44px; height: 44px; border: 0; border-radius: 50%;
  background: rgba(255, 255, 255, .85); color: #000; cursor: pointer;
  display: grid; place-items: center;
}
.gallery-btn svg { width: 18px; height: 18px; }
.gallery-btn.prev { left: 14px; }
.gallery-btn.next { right: 14px; }
.gallery-count { position: absolute; right: 14px; bottom: 14px; background: rgba(0, 0, 0, .55); color: #fff; font-size: 13px; padding: 4px 10px; }
.project-nav { background: #000; color: #fff; }
.project-nav .wrap { height: 68px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; }
.project-nav a, .project-nav span { font-size: 14px; text-decoration: none; }
.project-nav .next { justify-self: end; }
.project-nav .off { color: #6b6b6b; }
.grid-link svg { width: 18px; height: 18px; display: block; }
.grid-link { color: var(--t6); }

/* ---------- Pravne strani ---------- */
.legal { padding: 50px 0 90px; }
.legal h1 { font-size: 30.4px; line-height: 1.2; margin-bottom: 26px; }
.legal-row { display: grid; grid-template-columns: 288fr 772fr; gap: 50px; padding: 20px 0 26px; border-top: 1px solid rgba(66, 66, 66, .55); }
.legal-row h2 { font-size: 22.4px; line-height: 1.2; }
.legal-row p, .legal-row li { font-size: 14.8px; line-height: 1.3; }
.legal-row p + p, .legal-row p + ul, .legal-row ul + p { margin-top: 12px; }
.legal-row ul { padding-left: 18px; }
.legal-row li + li { margin-top: 4px; }

/* ---------- 404 ---------- */
.notfound { padding: 120px 0; text-align: center; }
.notfound p { margin-top: 16px; }
.notfound .btn { margin-top: 28px; }

/* ---------- Noga ---------- */
.site-footer { background: var(--navy); color: #fff; padding: 28px 0 48px; }
.site-footer .logo img { width: 100px; height: 100px; }
.footer-cols { margin-top: 18px; display: grid; grid-template-columns: 164fr 164fr 262fr 262fr; gap: 24px; max-width: 980px; }
.fbox { border: 1px solid rgba(255, 255, 255, .85); border-radius: 3px; padding: 14px 16px 16px; }
.flabel { font-size: 13px; font-weight: 700; margin-bottom: 10px; }
.fbox ul { list-style: none; padding: 0; }
.fbox li, .fbox p { font-size: 20px; line-height: 1.3; }
.fbox a { text-decoration: none; }
.fbox a:hover { text-decoration: underline; }
.fbox .social a { text-decoration: underline; }
.fbox .social li + li { margin-top: 20px; }
.fbox a[aria-current="page"] { color: var(--peach); }

/* ---------- Odzivnost ---------- */
@media (max-width: 1100px) {
  .hero-content { left: var(--gut); }
  .feature--left .feature-main { margin-left: calc(-1 * var(--gut)); }
  .feature--right .feature-main { margin-right: calc(-1 * var(--gut)); }
  .feature--right .thumbs { margin-left: 0; }
  .feature--left .feature-text { padding-left: 48px; }
  .feature--left .thumbs { padding-left: 48px; gap: 20px; }
  .thumbs img, .feature--right .thumbs img { width: calc(50% - 10px); }
  .feature--right .thumbs { gap: 20px; padding-right: 48px; }
  .feature--right .feature-text { padding-right: 48px; }
}
@media (max-width: 860px) {
  :root { --header-h: 76px; }
  .logo img { width: 68px; height: 68px; }
  .site-footer .logo img { width: 80px; height: 80px; }
  .t-display, .hero h1, .projects-page h1 { font-size: 30px; }
  .t-h2, .contact-box h2, .project h1, .legal h1 { font-size: 26px; }
  .hero { height: 560px; }
  .hero-content { bottom: 32px; }
  .feature-grid { grid-template-columns: 1fr; min-height: 0; }
  .feature-main, .feature--left .feature-main, .feature--right .feature-main { grid-column: 1; grid-row: auto; margin: 0 calc(-1 * var(--gut)); aspect-ratio: 1.15; min-height: 0; }
  .feature--left .feature-text, .feature--right .feature-text { grid-column: 1; grid-row: auto; padding: 36px 0 0; }
  .feature--left .thumbs, .feature--right .thumbs { grid-column: 1; grid-row: auto; padding: 30px 0 40px; margin: 0; gap: 14px; }
  .feature--right .feature-main { order: -1; }
  .tiles { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .contact-img { aspect-ratio: 1.3; margin: 0 0 0; }
  .story-grid, .values-box { grid-template-columns: 1fr; }
  .story-logo img { width: min(300px, 100%); }
  .proj-cards { grid-template-columns: 1fr; gap: 44px; }
  .legal-row { grid-template-columns: 1fr; gap: 12px; }
  .footer-cols { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 520px) {
  .tiles { grid-template-columns: 1fr; }
  .tile { aspect-ratio: 2.2; }
  .footer-cols { grid-template-columns: 1fr; }
  .btn-hero { padding: 0 18px; }
  .fbox li, .fbox p { font-size: 18px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .proj-card img, .arrow-link svg, .btn-hero svg { transition: none; }
}
