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

:root{
  --navy:#071C34;
  --navy-2:#102D49;
  --silver:#AEB8C4;
  --soft:#F3F5F7;
  --ink:#142A40;
  --muted:#607284;
  --white:#FFFFFF;
  --line:#D5DDE4;
  --max:1180px;
  --gutter:clamp(22px,4vw,54px);
  --section:clamp(96px,9vw,136px);
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:#fff;color:var(--ink);font:17px/1.7 "Manrope",Arial,sans-serif}
img{max-width:100%;display:block}
a,button{-webkit-tap-highlight-color:transparent}
a:focus-visible,button:focus-visible{outline:2px solid var(--navy);outline-offset:4px}
.wrap{width:min(var(--max),calc(100% - (2 * var(--gutter))));margin-inline:auto}
.section{padding:var(--section) 0}
h1,h2,h3{font-family:"Lora",Georgia,serif;font-weight:400;color:inherit}
h1{font-size:clamp(3.1rem,6.1vw,5.6rem);line-height:1.06;letter-spacing:-.035em}
h2{font-size:clamp(2.55rem,4.25vw,4.25rem);line-height:1.13;letter-spacing:-.027em;margin:0 0 34px}
h3{font-size:clamp(1.8rem,2.5vw,2.25rem);line-height:1.28}
p{max-width:650px}
.eyebrow{display:flex;align-items:center;gap:12px;margin:0 0 30px;font-size:13px;line-height:1.4;font-weight:700;letter-spacing:.11em;text-transform:uppercase;color:#718191}
.eyebrow i{display:block;width:30px;height:1px;background:var(--silver)}
.eyebrow.light{color:#c7d1da}.eyebrow.light i{background:#8798a8}
.btn{display:inline-block;margin-top:28px;padding:14px 22px;background:var(--navy);color:#fff;text-decoration:none;text-transform:uppercase;font-size:13px;font-weight:700;letter-spacing:.065em}
.btn:hover{background:var(--navy-2)}
.two-col{display:grid;grid-template-columns:1fr 1fr;gap:clamp(64px,8vw,116px);align-items:center}

/* Header + hero */
.header{position:absolute;z-index:20;top:0;left:0;width:100%;height:92px;padding:0 var(--gutter);display:flex;align-items:center;justify-content:space-between;color:#fff;transition:.22s ease}
.header img{width:58px;max-height:66px;object-fit:contain}
.header nav{display:flex;align-items:center;gap:30px}
.header nav a{font-size:13px;font-weight:600;letter-spacing:.045em;color:#fff;text-decoration:none}
.header nav a:hover{opacity:.72}
.header.scrolled{position:fixed;background:rgba(255,255,255,.94);color:var(--navy);backdrop-filter:blur(12px);box-shadow:0 1px 0 rgba(7,28,52,.08)}
.header.scrolled nav a{color:var(--navy)}
.header.scrolled img{filter:brightness(.36) saturate(1.6)}
.menu{display:none;background:none;border:0;color:inherit;font:600 13px "Manrope";letter-spacing:.08em;text-transform:uppercase}
.hero{min-height:780px;height:100vh;max-height:960px;background:linear-gradient(90deg,rgba(5,20,38,.62),rgba(5,20,38,.14)),linear-gradient(145deg,#73818c,#1b344b);color:#fff;display:flex;align-items:flex-end}
.hero-copy{padding-bottom:clamp(90px,11vh,130px)}
.hero h1{margin:0 0 34px;max-width:900px}
.discover{color:#fff;text-decoration:none;font-size:14px;font-weight:600}
.discover:hover{text-decoration:underline}

/* About */
.about{padding-top:128px;padding-bottom:118px}
.about .intro{font-size:19px;line-height:1.65}
.principle-note{border-left:1px solid var(--silver);padding-left:24px;margin-top:28px}
.photo{min-height:540px;background:linear-gradient(145deg,#d6dde2,#8999a7);display:grid;place-items:center;text-align:center;color:#fff;font-size:12px;letter-spacing:.08em}
.photo small{font-size:11px}

/* Mission / vision */
.mission{padding-top:108px;padding-bottom:116px}
.mv-v13{display:grid;grid-template-columns:1fr 1fr;gap:clamp(60px,8vw,96px);margin-top:54px}
.mv-item{max-width:530px}
.mv-item+.mv-item{padding-left:46px;border-left:1px solid var(--line)}
.mv-index{margin:0 0 20px;font-size:13px;font-weight:700;letter-spacing:.11em;color:#8795a3;text-transform:uppercase}
.mv-item h3{font-size:clamp(1.85rem,2.6vw,2.25rem);margin:0 0 22px}
.mv-item>p:last-child{font-size:17px;line-height:1.7;color:#56687a;margin:0}

/* Goals */
.goals-section{background:var(--soft);padding:108px 0 116px}
.goals-section .eyebrow{margin-bottom:48px}
.goals-grid{display:grid;grid-template-columns:1fr 1fr;column-gap:76px}
.goals-grid article{display:grid;grid-template-columns:54px 1fr;gap:18px;padding:29px 0 33px;border-top:1px solid #cfd7de}
.goals-grid b{font-family:"Lora";font-size:26px;font-weight:400;color:#8997a5}
.goals-grid p{margin:0;max-width:none;font-size:17px;line-height:1.65}

/* Principle */
.princip{background:var(--navy);color:#fff;padding:112px 0}
.principle-grid{display:grid;grid-template-columns:.95fr 1.05fr;gap:80px;align-items:center}
.princip h2{margin:0}
.principle-v13{border-left:1px solid var(--silver);padding-left:54px}
.principle-v13 p{margin:0;color:#eef3f6;font-size:19px;line-height:1.72}

/* Breeding */
.breeding{padding-top:128px;padding-bottom:58px}
.breeding p:not(.eyebrow){font-size:17px;line-height:1.7;max-width:610px}
.breeding .profile{min-height:570px}
.breathing-space{height:38px}
.emotional{min-height:520px;background:linear-gradient(90deg,rgba(7,27,50,.12),rgba(7,27,50,.62)),linear-gradient(140deg,#b7a58e,#495d70);display:flex;align-items:center;color:#fff}
.emotional-inner{display:flex;justify-content:flex-end}
.emotional p{width:50%;max-width:620px;margin:0;font-family:"Lora";font-size:clamp(2.4rem,4.25vw,4.25rem);line-height:1.17;letter-spacing:-.025em}
.post-emotional-space{height:82px}

/* Organization */
.organization{padding-top:118px;padding-bottom:132px}
.org-tabs{display:flex;overflow-x:auto;gap:32px;margin:54px 0 56px;border-bottom:1px solid var(--line);scrollbar-width:thin}
.org-tabs button{flex:0 0 auto;border:0;border-bottom:2px solid transparent;background:none;padding:14px 0 13px;color:#687989;font:700 13px/1.45 "Manrope";letter-spacing:.055em;text-transform:uppercase;cursor:pointer}
.org-tabs button.active{color:var(--navy);border-bottom-color:var(--navy)}
.org-tabs button:hover{color:var(--navy)}
.org-people{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:50px 28px}
.org-person{border:0;padding:0}
.portrait-placeholder{aspect-ratio:4/5;background:linear-gradient(145deg,rgba(255,255,255,.35),rgba(255,255,255,0)),#e8ecef;display:grid;place-items:center;margin-bottom:20px;color:#82909e}
.portrait-placeholder span{width:64px;height:64px;border:1px solid var(--silver);border-radius:50%;display:grid;place-items:center;font:400 18px "Lora";letter-spacing:.04em}
.person-copy{border-top:1px solid var(--line)}
.org-person strong{display:block;padding-top:14px;font:500 19px/1.35 "Lora";color:var(--ink)}
.org-person small{display:block;margin-top:7px;font-size:15px;line-height:1.5;color:#667789}

/* Documents */
.documents{background:var(--soft);padding:112px 0 120px}
.documents-title{margin-bottom:64px}
.document-center{display:grid;grid-template-columns:1.15fr 1fr 1fr;border-top:1px solid #cfd6dd}
.document-group{padding:34px 42px 12px}.document-group:first-child{padding-left:0}.document-group:last-child{padding-right:0}
.document-group+.document-group{border-left:1px solid #cfd6dd}
.document-group-head{min-height:84px}
.document-index{display:block;margin-bottom:8px;font:400 28px/1 "Lora";color:#8997a5}
.document-group h3{margin:0;font-size:23px;font-weight:500}
.document-list{margin-top:18px}
.document-row{display:flex;align-items:center;justify-content:space-between;gap:24px;min-height:56px;padding:15px 0;border-bottom:1px solid #cfd6dd;color:var(--ink);text-decoration:none;font-size:17px;line-height:1.45;transition:.18s ease}
.document-row:hover{color:#51677b;padding-left:5px}
.document-type{flex:0 0 auto;color:#7c8a98;font-size:13px;font-weight:700;letter-spacing:.07em}
.documents-note{margin:40px 0 0;max-width:none;color:#708091;font-size:14px}

/* Contact */
.contact-section{padding:124px 0 132px}
.contact-v17{display:grid;grid-template-columns:.95fr 1.05fr;gap:105px;align-items:start}
.contact-intro>p:last-child{font-size:17px;color:#536577}
.contact-details{border-top:1px solid var(--line)}
.contact-item{display:grid;grid-template-columns:145px 1fr;gap:26px;padding:27px 0 29px;border-bottom:1px solid var(--line)}
.contact-item>span{font-size:13px;font-weight:700;letter-spacing:.1em;color:#7c8a98}
.contact-item a,.contact-item p{margin:0;max-width:none;color:var(--ink);text-decoration:none;font-size:18px;line-height:1.55}
.contact-pending{color:#6f7f8e!important;font-style:italic}

/* Footer */
.site-footer{background:var(--navy);color:#fff;padding:82px 0 0}
.footer-main{display:grid;grid-template-columns:1.05fr .75fr 1.2fr;gap:72px;padding-bottom:76px}
.footer-brand img{width:76px;margin-bottom:20px;filter:brightness(0) invert(1);opacity:.82}
.footer-brand p{margin:0;max-width:none;font-size:14px;line-height:1.6;color:#c4ced8}
.footer-nav{display:flex;flex-direction:column;gap:14px}
.footer-nav a{width:max-content;color:#dbe3ea;text-decoration:none;font-size:14px}
.footer-signature{display:flex;justify-content:flex-end}
.footer-signature p{margin:0;font:400 clamp(1.7rem,2.5vw,2.35rem)/1.3 "Lora";color:#d8e0e7}
.footer-bottom{min-height:72px;border-top:1px solid rgba(174,184,196,.28);display:flex;align-items:center;justify-content:space-between;gap:28px}
.footer-bottom p{margin:0;max-width:none;font-size:13px;color:#9aa9b7}
.back-to-top{color:#c9d3dc;text-decoration:none;font-size:13px;font-weight:700;letter-spacing:.06em;text-transform:uppercase}

/* Future Uzgoj subpage */
.subpage{min-height:100vh;background:var(--navy);color:#fff}
.subpage-hero{min-height:100vh;display:flex;align-items:center;background:radial-gradient(circle at 75% 35%,#173956 0,#0b2743 34%,#071b32 72%)}
.subpage-hero h1{margin:0 0 36px}.subpage-hero p:not(.eyebrow){font-size:18px;color:#dce4eb;margin-bottom:34px}

/* Responsive */
@media(max-width:1050px){
  .org-people{grid-template-columns:repeat(3,1fr)}
  .document-center{grid-template-columns:1fr}
  .document-group,.document-group:first-child,.document-group:last-child{padding:34px 0 26px}
  .document-group+.document-group{border-left:0;border-top:1px solid #cfd6dd}
  .document-group-head{min-height:0}
}
@media(max-width:800px){
  :root{--gutter:22px;--section:92px}
  body{font-size:16px}
  h1{font-size:clamp(2.8rem,12vw,4.2rem)}
  h2{font-size:clamp(2.25rem,9.5vw,3.3rem)}
  .eyebrow{font-size:12px;margin-bottom:24px}
  .header{height:76px;padding:0 20px}.header img{width:50px}.header nav{display:none}.menu{display:block;font-size:13px}
  .header.open{height:auto;min-height:76px;align-items:flex-start;padding-top:14px;padding-bottom:22px;background:rgba(255,255,255,.97);color:var(--navy)}
  .header.open nav{display:flex;position:absolute;top:76px;left:0;width:100%;padding:20px;flex-direction:column;align-items:flex-start;gap:18px;background:rgba(255,255,255,.97)}
  .header.open nav a{color:var(--navy);font-size:14px}
  .hero{min-height:700px}.hero-copy{padding-bottom:88px}
  .two-col,.principle-grid,.contact-v17{grid-template-columns:1fr;gap:54px}
  .about{padding-top:96px;padding-bottom:90px}.about .intro{font-size:18px}
  .mission{padding:86px 0 92px}.mv-v13{grid-template-columns:1fr;gap:62px;margin-top:44px}.mv-item+.mv-item{padding-left:24px}
  .goals-section{padding:88px 0 94px}.goals-grid{grid-template-columns:1fr}.goals-grid article{grid-template-columns:48px 1fr}
  .princip{padding:90px 0}.principle-v13{padding-left:24px}.principle-v13 p{font-size:17px}
  .breeding{padding-top:94px;padding-bottom:46px}.breeding .profile{min-height:390px}.breathing-space{height:24px}
  .emotional{min-height:430px}.emotional p{width:90%;font-size:clamp(2.1rem,9vw,3.25rem)}.post-emotional-space{height:62px}
  .organization{padding:92px 0 102px}.org-tabs{margin:42px 0 46px;gap:26px}.org-tabs button{font-size:12.5px}
  .org-people{grid-template-columns:repeat(2,1fr);gap:38px 18px}.org-person strong{font-size:18px}.org-person small{font-size:14px}
  .documents{padding:90px 0 96px}.documents-title{margin-bottom:50px}.document-row{font-size:16px}.document-type{font-size:12px}
  .contact-section{padding:92px 0 98px}.contact-item{grid-template-columns:110px 1fr;gap:18px}.contact-item a,.contact-item p{font-size:16px}
  .site-footer{padding-top:66px}.footer-main{grid-template-columns:1fr;gap:46px;padding-bottom:60px}.footer-signature{justify-content:flex-start}.footer-signature p{font-size:28px}.footer-bottom{padding:22px 0;min-height:0}
}
@media(max-width:480px){
  .org-people{grid-template-columns:1fr 1fr}
  .contact-item{grid-template-columns:1fr;gap:8px}
  .footer-bottom{flex-direction:column;align-items:flex-start;gap:14px}
}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*{transition:none!important}}


/* =========================================================
   UOSKS v2.1 — FINAL HEADER + HERO DIRECTION
   Only first-screen refinements; later sections stay v2.0.
   ========================================================= */

.header{
  position:absolute;
  inset:0 0 auto;
  width:100%;
  height:94px;
  padding:0;
  background:transparent;
  color:#fff;
}
.header-inner{
  height:100%;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:42px;
}
.brand{
  display:flex;
  align-items:center;
  gap:18px;
  flex:0 0 auto;
  color:#fff;
  text-decoration:none;
}
.brand img{
  width:60px;
  max-height:68px;
  object-fit:contain;
}
.brand span{
  font-family:"Manrope",Arial,sans-serif;
  font-size:12px;
  font-weight:600;
  line-height:1.42;
  letter-spacing:.055em;
  text-transform:uppercase;
}
.header nav{
  margin-left:auto;
  gap:clamp(20px,2.2vw,32px);
}
.header nav a{
  font-size:13px;
  font-weight:600;
  letter-spacing:.04em;
}
.header.scrolled{
  height:78px;
  padding:0;
}
.header.scrolled .brand{color:var(--navy)}
.header.scrolled .brand img{filter:brightness(.36) saturate(1.6)}
.header.scrolled .header-inner{height:100%}

/* Hero uses the approved deep navy identity. The background remains a
   controlled photographic placeholder until the final generated horse image. */
.hero{
  position:relative;
  isolation:isolate;
  min-height:760px;
  height:min(86vh,850px);
  max-height:850px;
  overflow:hidden;
  background:
    radial-gradient(ellipse at 77% 48%, rgba(72,91,105,.44) 0%, rgba(29,50,69,.24) 25%, rgba(7,28,52,0) 53%),
    linear-gradient(112deg, #071C34 0%, #071C34 38%, #102D49 67%, #071C34 100%);
}
.hero::after{
  content:"FINALNA HERO FOTOGRAFIJA — PORTRET SPORTSKOG KONJA";
  position:absolute;
  z-index:-2;
  right:6%;
  top:48%;
  transform:translateY(-50%);
  width:min(43vw,560px);
  aspect-ratio:4/5;
  display:grid;
  place-items:center;
  border:1px solid rgba(174,184,196,.16);
  color:rgba(255,255,255,.28);
  font:600 11px/1.5 "Manrope",Arial,sans-serif;
  letter-spacing:.08em;
  text-align:center;
}
.hero-shade{
  position:absolute;
  z-index:-1;
  inset:0;
  background:linear-gradient(90deg,rgba(7,28,52,.42) 0%,rgba(7,28,52,.24) 42%,rgba(7,28,52,.06) 74%,rgba(7,28,52,.12) 100%);
  pointer-events:none;
}
.hero-copy{
  position:relative;
  z-index:1;
  height:100%;
  padding-top:190px;
  padding-bottom:78px;
  display:flex;
  flex-direction:column;
  justify-content:center;
  align-items:flex-start;
}
.hero h1{
  margin:0;
  max-width:760px;
  font-size:clamp(4rem,5.35vw,4.9rem);
  line-height:1.075;
  letter-spacing:-.035em;
}
.discover{
  display:inline-flex;
  align-items:center;
  gap:13px;
  margin-top:52px;
  font-size:13px;
  font-weight:700;
  letter-spacing:.08em;
  text-transform:uppercase;
}
.discover span{
  font-size:18px;
  font-weight:400;
  transform:translateY(-1px);
}

@media(max-width:980px){
  .brand span{display:none}
  .header nav{gap:20px}
}
@media(max-width:800px){
  .header{height:78px;padding:0}
  .header-inner{gap:18px}
  .brand img{width:52px}
  .header nav{display:none}
  .header.open{
    height:auto;
    min-height:78px;
    padding:0;
  }
  .header.open .header-inner{min-height:78px;align-items:flex-start;padding-top:13px}
  .header.open nav{
    top:78px;
    padding:22px var(--gutter) 26px;
  }
  .hero{
    min-height:660px;
    height:82vh;
    max-height:740px;
    background:
      radial-gradient(ellipse at 75% 38%,rgba(72,91,105,.36) 0%,rgba(16,45,73,.15) 35%,rgba(7,28,52,0) 60%),
      linear-gradient(155deg,#071C34 0%,#102D49 62%,#071C34 100%);
  }
  .hero::after{
    top:34%;
    right:-10%;
    width:72vw;
    opacity:.58;
  }
  .hero-shade{
    background:linear-gradient(0deg,rgba(7,28,52,.68) 0%,rgba(7,28,52,.20) 62%,rgba(7,28,52,.12) 100%);
  }
  .hero-copy{
    padding-top:150px;
    padding-bottom:62px;
    justify-content:flex-end;
  }
  .hero h1{
    max-width:620px;
    font-size:clamp(2.75rem,11.5vw,4.15rem);
    line-height:1.08;
  }
  .discover{margin-top:34px;font-size:12.5px}
}


/* =========================================================
   UOSKS v2.2 — About / Mission & Vision / Goals / Principle
   Final-polish pass for hierarchy and editorial rhythm.
   ========================================================= */

.subsection-label{
  margin:0 0 34px;
  font-family:"Manrope",Arial,sans-serif;
  font-size:13px;
  line-height:1.4;
  font-weight:700;
  letter-spacing:.11em;
  text-transform:uppercase;
  color:#718191;
}

/* Mission + Vision are intentionally quieter than main sections */
.mission{
  padding-top:96px;
  padding-bottom:108px;
}
.mission .subsection-label{
  margin-bottom:46px;
}
.mv-v13{
  margin-top:0;
  gap:clamp(58px,7vw,90px);
}
.mv-index{
  margin-bottom:17px;
  font-size:12px;
  letter-spacing:.12em;
  color:#8b98a4;
}
.mv-item h3{
  margin:0 0 18px;
  font-size:clamp(1.9rem,2.45vw,2.25rem);
  line-height:1.25;
}
.mv-item > p:last-child{
  max-width:500px;
  font-size:17px;
  line-height:1.72;
  color:#586a7a;
}
.mv-item + .mv-item{
  padding-left:42px;
  border-left:1px solid #d8dfe5;
}

/* Goals: preserve the successful layout, just tighten hierarchy */
.goals-section{
  padding-top:100px;
  padding-bottom:108px;
}
.goals-section .subsection-label{
  margin-bottom:42px;
}
.goals-grid{
  column-gap:72px;
}
.goals-grid article{
  grid-template-columns:48px 1fr;
  gap:18px;
  padding:27px 0 31px;
}
.goals-grid b{
  font-size:23px;
  color:#8d99a5;
}
.goals-grid p{
  font-size:17px;
  line-height:1.66;
}

/* Principle becomes a manifesto, not another equally loud content section */
.princip{
  padding:104px 0 108px;
}
.principle-grid{
  grid-template-columns:.72fr 1.28fr;
  gap:clamp(62px,8vw,104px);
  align-items:center;
}
.princip .eyebrow{
  margin:0;
  color:#b8c4cf;
}
.princip .eyebrow i{
  background:#7e90a1;
}
.princip h2{
  display:none;
}
.principle-v13{
  padding-left:50px;
  border-left:1px solid rgba(174,184,196,.55);
}
.principle-v13 p{
  max-width:720px;
  font-family:"Lora",Georgia,serif;
  font-size:clamp(1.8rem,2.6vw,2.2rem);
  font-weight:400;
  line-height:1.48;
  letter-spacing:-.012em;
  color:#f1f4f6;
}

/* Main labels retain the two-line signature; subsections no longer imitate them */
.about .eyebrow,
.breeding .eyebrow,
.organization .eyebrow,
.documents .eyebrow,
.contact-section .eyebrow{
  font-size:13px;
}

@media(max-width:800px){
  .subsection-label{
    font-size:12px;
    margin-bottom:30px;
  }
  .mission{
    padding-top:82px;
    padding-bottom:90px;
  }
  .mission .subsection-label{
    margin-bottom:38px;
  }
  .mv-v13{
    gap:54px;
  }
  .mv-item + .mv-item{
    padding-left:22px;
  }
  .mv-item h3{
    font-size:clamp(1.8rem,7vw,2.15rem);
  }
  .goals-section{
    padding-top:84px;
    padding-bottom:92px;
  }
  .goals-section .subsection-label{
    margin-bottom:34px;
  }
  .goals-grid article{
    grid-template-columns:44px 1fr;
  }
  .goals-grid b{
    font-size:21px;
  }
  .princip{
    padding:86px 0 90px;
  }
  .principle-grid{
    grid-template-columns:1fr;
    gap:40px;
  }
  .princip .eyebrow{
    margin-bottom:0;
  }
  .principle-v13{
    padding-left:22px;
  }
  .principle-v13 p{
    font-size:clamp(1.65rem,7vw,2rem);
    line-height:1.5;
  }
}


/* =========================================================
   UOSKS v2.3 — Breeding / Emotional break / Organization
   Focused final-polish pass; no redesign.
   ========================================================= */

/* UZGOJ: give the horse image slightly more authority than the copy */
.breeding .two-col{
  grid-template-columns:minmax(0,.82fr) minmax(0,1fr);
  gap:clamp(64px,7.5vw,108px);
}
.breeding{
  padding-top:122px;
  padding-bottom:54px;
}
.breeding h2{
  max-width:560px;
  margin-bottom:30px;
}
.breeding p:not(.eyebrow){
  max-width:560px;
}
.breeding .profile{
  min-height:600px;
  aspect-ratio:4/5;
}

/* The emotional image is itself the pause, so the lead-in stays restrained. */
.breathing-space{
  height:30px;
}
.emotional{
  min-height:540px;
}
.emotional-inner{
  min-height:540px;
  align-items:center;
}
.emotional p{
  width:48%;
  max-width:600px;
}

/* Give the emotional image enough exit space before people/organization. */
.post-emotional-space{
  height:96px;
}

/* ORGANIZATION: preserve concept, refine rhythm and tab readability. */
.organization{
  padding-top:108px;
  padding-bottom:128px;
}
.organization h2{
  margin-bottom:0;
}
.org-tabs{
  margin-top:50px;
  margin-bottom:60px;
  gap:34px;
}
.org-tabs button{
  font-size:13.5px;
  padding-top:15px;
  padding-bottom:14px;
}
.org-people{
  gap:54px 30px;
}
.portrait-placeholder{
  margin-bottom:21px;
}
.org-person strong{
  font-size:19px;
}
.org-person small{
  font-size:15px;
}

/* Tablet: three people where space allows, then two on mobile. */
@media(max-width:1050px) and (min-width:801px){
  .breeding .two-col{
    grid-template-columns:.9fr 1.1fr;
    gap:64px;
  }
  .breeding .profile{
    min-height:520px;
  }
  .post-emotional-space{
    height:82px;
  }
}

@media(max-width:800px){
  .breeding{
    padding-top:90px;
    padding-bottom:40px;
  }
  .breeding .two-col{
    grid-template-columns:1fr;
    gap:48px;
  }
  .breeding .profile{
    min-height:0;
    aspect-ratio:4/5;
  }
  .breathing-space{
    height:20px;
  }
  .emotional,
  .emotional-inner{
    min-height:450px;
  }
  .emotional p{
    width:92%;
    max-width:560px;
  }
  .post-emotional-space{
    height:68px;
  }
  .organization{
    padding-top:88px;
    padding-bottom:100px;
  }
  .org-tabs{
    margin-top:40px;
    margin-bottom:48px;
    gap:26px;
  }
  .org-tabs button{
    font-size:12.5px;
  }
  .org-people{
    gap:40px 18px;
  }
}


/* =========================================================
   UOSKS v2.4 — Documents / Contact / Footer final polish
   Lower-page refinement only; structure and visual language preserved.
   ========================================================= */

/* DOCUMENTS — already strong; refine rhythm and interaction only */
.documents{
  padding-top:108px;
  padding-bottom:116px;
}
.documents-title{
  margin-bottom:60px;
}
.document-group{
  padding-top:32px;
}
.document-index{
  font-size:26px;
}
.document-group h3{
  font-size:22px;
  line-height:1.32;
}
.document-row{
  min-height:58px;
  padding:16px 0;
}
.document-row:hover{
  padding-left:4px;
}
.documents-note{
  margin-top:38px;
  font-size:14px;
}

/* CONTACT — slightly calmer transition from document center */
.contact-section{
  padding-top:116px;
  padding-bottom:124px;
}
.contact-v17{
  gap:clamp(72px,8vw,104px);
}
.contact-intro h2{
  margin-bottom:26px;
}
.contact-intro > p:last-child{
  max-width:520px;
  line-height:1.72;
}
.contact-item{
  padding-top:25px;
  padding-bottom:27px;
}
.contact-item > span{
  font-size:12.5px;
}
.contact-item a,
.contact-item p{
  font-size:17px;
}

/* FOOTER — finish with restraint; improve vertical alignment */
.site-footer{
  padding-top:78px;
}
.footer-main{
  gap:68px;
  padding-bottom:72px;
  align-items:start;
}
.footer-brand img{
  margin-bottom:18px;
}
.footer-nav{
  gap:13px;
}
.footer-signature p{
  max-width:500px;
  line-height:1.32;
}
.footer-bottom{
  min-height:70px;
}
.footer-bottom p,
.back-to-top{
  font-size:13px;
}

/* Keep links comfortably targetable on touch devices */
.footer-nav a,
.back-to-top{
  padding-block:2px;
}

@media(max-width:800px){
  .documents{
    padding-top:86px;
    padding-bottom:92px;
  }
  .documents-title{
    margin-bottom:46px;
  }
  .document-group{
    padding-top:30px;
    padding-bottom:24px;
  }
  .document-group h3{
    font-size:21px;
  }
  .documents-note{
    margin-top:30px;
  }

  .contact-section{
    padding-top:88px;
    padding-bottom:94px;
  }
  .contact-v17{
    gap:52px;
  }
  .contact-item{
    padding-top:23px;
    padding-bottom:25px;
  }

  .site-footer{
    padding-top:62px;
  }
  .footer-main{
    gap:42px;
    padding-bottom:56px;
  }
  .footer-nav{
    gap:12px;
  }
  .footer-bottom{
    padding-top:21px;
    padding-bottom:21px;
  }
}


/* =========================================================
   UOSKS v2.5 — Approved HERO photograph integration
   ========================================================= */

.hero{
  background-image:url("hero-horse.jpg");
  background-size:cover;
  background-position:center center;
  background-repeat:no-repeat;
}

/* Remove the temporary photo-frame placeholder from v2.1. */
.hero::after{
  content:none;
  display:none;
}

/* Keep the approved photograph sophisticated; add only enough navy
   protection for the white headline on the left. */
.hero-shade{
  background:
    linear-gradient(90deg,
      rgba(7,28,52,.50) 0%,
      rgba(7,28,52,.34) 30%,
      rgba(7,28,52,.13) 56%,
      rgba(7,28,52,.02) 78%,
      rgba(7,28,52,.06) 100%);
}

/* The source image already carries deliberate negative space on the left. */
.hero h1{
  text-shadow:0 2px 18px rgba(3,14,27,.14);
}

@media(max-width:800px){
  .hero{
    /* Mobile crop keeps the horse readable while preserving a dark field
       behind the headline in the lower-left. */
    background-position:61% center;
  }
  .hero-shade{
    background:
      linear-gradient(0deg,
        rgba(7,28,52,.78) 0%,
        rgba(7,28,52,.55) 35%,
        rgba(7,28,52,.12) 72%,
        rgba(7,28,52,.06) 100%),
      linear-gradient(90deg,
        rgba(7,28,52,.24) 0%,
        rgba(7,28,52,.05) 75%);
  }
}


/* =========================================================
   UOSKS v2.6 — Approved "O Udruženju" photograph integration
   ========================================================= */

.about-photo{
  min-height:0;
  margin:0;
  overflow:hidden;
  background:#d7d9d8;
  aspect-ratio:4/5;
}
.about-photo img{
  width:100%;
  height:100%;
  object-fit:cover;
  /* Preserve the horse's eye + human gesture inside the portrait crop. */
  object-position:55% center;
}
@media(max-width:800px){
  .about-photo{
    aspect-ratio:4/5;
  }
  .about-photo img{
    object-position:53% center;
  }
}


/* =========================================================
   UOSKS v2.7 — Approved UZGOJ photograph integration
   ========================================================= */

.breeding-photo{
  min-height:0 !important;
  margin:0;
  overflow:hidden;
  background:#e7e3da;
  aspect-ratio:4/5;
}
.breeding-photo img{
  width:100%;
  height:100%;
  display:block;
  object-fit:cover;
  /* Keep the full conformation readable in the portrait website frame. */
  object-position:50% center;
}

@media(max-width:800px){
  .breeding-photo{
    aspect-ratio:4/5;
  }
  .breeding-photo img{
    object-position:50% center;
  }
}


/* =========================================================
   UOSKS v2.7.1 — FIX: Uzgoj image must show the full horse
   The source image is landscape; do not force it into a portrait crop.
   ========================================================= */

.breeding .two-col{
  grid-template-columns:minmax(0,.82fr) minmax(0,1.18fr);
  gap:clamp(60px,7vw,100px);
}

.breeding-photo{
  aspect-ratio:3/2 !important;
  min-height:0 !important;
  overflow:hidden;
  background:#e7e3da;
}

.breeding-photo img{
  width:100%;
  height:100%;
  object-fit:contain !important;
  object-position:center center !important;
  background:#e7e3da;
}

@media(max-width:1050px){
  .breeding .two-col{
    grid-template-columns:1fr 1.12fr;
    gap:54px;
  }
}

@media(max-width:800px){
  .breeding .two-col{
    grid-template-columns:1fr;
  }
  .breeding-photo{
    aspect-ratio:3/2 !important;
    width:100%;
  }
  .breeding-photo img{
    object-fit:contain !important;
    object-position:center center !important;
  }
}


/* =========================================================
   UOSKS v2.8 — Final Emotional Break
   Full-bleed visual pause between Uzgoj and Organizacija.
   ========================================================= */

.sr-only{
  position:absolute !important;
  width:1px !important;
  height:1px !important;
  padding:0 !important;
  margin:-1px !important;
  overflow:hidden !important;
  clip:rect(0,0,0,0) !important;
  white-space:nowrap !important;
  border:0 !important;
}

.emotional-final{
  position:relative;
  width:100%;
  min-height:0 !important;
  height:auto !important;
  overflow:hidden;
  background:#243126;
}
.emotional-final .emotional-image{
  display:block;
  width:100%;
  height:auto;
  aspect-ratio:16/9;
  object-fit:cover;
  object-position:center center;
}

/* This is deliberately a visual "breath": no extra overlay in CSS.
   The approved image already contains the controlled dark field and statement. */
.emotional-final::before,
.emotional-final::after{
  content:none !important;
  display:none !important;
}

/* Keep a measured exit before Organization, without turning it into a void. */
.emotional-final + .post-emotional-space{
  height:92px;
}

@media(max-width:800px){
  .emotional-final{
    /* On mobile we preserve the full composition rather than aggressively crop it. */
    background:#243126;
  }
  .emotional-final .emotional-image{
    width:100%;
    height:auto;
    aspect-ratio:auto;
    object-fit:contain;
  }
  .emotional-final + .post-emotional-space{
    height:64px;
  }
}

/* v2.9 — Press and bilingual navigation */
.header-inner{gap:16px}
.lang-switch{display:flex;align-items:center;gap:8px;flex-shrink:0;font:700 12px/1.3 "Manrope",Arial,sans-serif;letter-spacing:.08em;color:#8798a9}
.lang-switch a{text-decoration:none;color:inherit}
.lang-switch a[aria-current="page"]{color:var(--navy)}
.header:not(.scrolled) .lang-switch a[aria-current="page"]{color:#fff}
.press-section{background:#fff;border-top:1px solid #e6eaee;border-bottom:1px solid #e6eaee}
.press-layout{display:grid;grid-template-columns:1fr 1fr;gap:8%;align-items:start}
.press-layout h2{max-width:560px}
.press-intro{padding-top:45px;max-width:490px}
.press-intro p{font-size:17px;line-height:1.8}
.press-muted{color:#7d8a97;font-size:14px!important}
.press-link{display:inline-block;margin-top:18px;padding-bottom:9px;border-bottom:1px solid #aeb8c4;font:700 12px/1.5 "Manrope",Arial,sans-serif;letter-spacing:.09em;text-decoration:none;color:#071c34}
.press-link span{margin-left:20px}
.press-page{min-height:70vh;padding:155px 0 110px;background:#f3f5f7}
.press-page h1{font:500 clamp(38px,5vw,68px)/1.15 "Lora",Georgia,serif;color:#071c34}
.press-empty{margin-top:58px;max-width:690px;padding:34px 0;border-top:1px solid #cbd3db;border-bottom:1px solid #cbd3db;color:#536579;line-height:1.8}
@media(max-width:1000px){.lang-switch{margin-left:auto}.press-layout{grid-template-columns:1fr;gap:0}.press-intro{padding-top:0}}
@media(max-width:600px){.lang-switch{font-size:11px;gap:5px}.press-page{padding:125px 0 75px}}

.emotional-en{min-height:420px!important;display:flex;align-items:center;justify-content:center;padding:70px 24px;background:linear-gradient(125deg,#122b40,#243a43)!important}
.emotional-en-copy{position:static!important;width:auto!important;height:auto!important;clip:auto!important;overflow:visible!important;white-space:normal!important;max-width:850px;margin:0 auto;text-align:center;color:white;font:500 clamp(30px,4vw,56px)/1.25 "Lora",Georgia,serif}

/* v3.0 — navigation separation and PRESS visual rhythm */
@media(min-width:801px){
 .header .lang-switch{margin-left:clamp(30px,3.2vw,48px);padding-left:24px;border-left:1px solid rgba(255,255,255,.38);min-height:22px;justify-content:center}
 .header.scrolled .lang-switch{border-left-color:rgba(7,28,52,.25)}
 .header-inner{gap:12px}
}
.press-section{background:#102D49!important;color:#fff;border:0!important;padding-top:68px!important;padding-bottom:70px!important}
.press-layout{grid-template-columns:minmax(0,1.2fr) minmax(0,.8fr);align-items:center;gap:9%}
.press-section .eyebrow{color:#b6c5d3}
.press-section .eyebrow i{background:#b6c5d3}
.press-section h2{color:#fff!important;font-size:clamp(32px,3.7vw,52px);line-height:1.16}
.press-section .press-intro{padding:0;max-width:430px}
.press-section .press-intro p{font-size:16px;line-height:1.75;color:#d7e0e9}
.press-section .press-link{color:#fff;border-bottom-color:#aeb8c4;margin-top:16px}
@media(max-width:1000px){.press-layout{grid-template-columns:1fr;gap:18px}}
@media(max-width:800px){.press-section{padding-top:55px!important;padding-bottom:58px!important}.header .lang-switch{margin-left:auto;padding-right:8px}.header nav{display:none}}

/* v3.1: consistent portraits and accessible biographies */
.person-portrait{width:100%;aspect-ratio:4/5;object-fit:cover;object-position:center 20%;display:block;margin-bottom:20px;background:#fff}
.bio-trigger{margin-top:16px;padding:0 0 8px;background:transparent;border:0;border-bottom:1px solid #aeb8c4;color:#102d49;font:700 11px/1.5 "Manrope",Arial,sans-serif;letter-spacing:.1em;cursor:pointer}
.bio-trigger span{margin-left:12px;font-size:15px}.bio-trigger:hover{border-bottom-color:#102d49}
.bio-dialog{width:min(850px,calc(100% - 32px));max-height:min(85vh,900px);padding:0;border:0;background:#fff;color:#142a40;box-shadow:0 30px 90px #071c3450;overflow:auto}
.bio-dialog::backdrop{background:rgba(7,28,52,.73)}
.bio-content{display:grid;grid-template-columns:36% 1fr;min-height:370px}
.bio-visual{background:#f3f5f7;min-height:370px}.bio-visual img{display:block;width:100%;height:100%;max-height:600px;object-fit:cover;object-position:center top}.bio-initials{display:grid;place-items:center;height:100%;min-height:370px;font:400 60px "Lora",Georgia,serif;color:#9ca9b6}
.bio-text{padding:56px 45px 50px}.bio-text h2{font:500 clamp(26px,3vw,38px)/1.2 "Lora",Georgia,serif;margin:12px 0;color:#071c34}.bio-text>p:last-child{font-size:15px;line-height:1.85;margin-top:26px}.bio-kicker{font:700 11px "Manrope",Arial,sans-serif;letter-spacing:.14em;color:#8796a4}.bio-role{color:#718091;font-size:14px}
.bio-close{position:absolute;right:12px;top:12px;width:38px;height:38px;border:0;background:#f3f5f7;color:#071c34;font-size:28px;cursor:pointer;z-index:2}
@media(max-width:640px){.bio-content{grid-template-columns:1fr}.bio-visual{height:250px;min-height:0}.bio-visual img{object-position:center 20%}.bio-initials{min-height:250px}.bio-text{padding:30px 26px 38px}.bio-dialog{max-height:90vh}}

/* v3.2 — logo visibility, original mark preserved */
.header{height:106px}
.brand{gap:15px}
.brand img{width:76px;max-height:84px;height:auto;filter:none!important;object-fit:contain}
.header.scrolled .brand img{filter:brightness(0) saturate(100%) invert(10%) sepia(31%) saturate(1194%) hue-rotate(173deg) brightness(92%) contrast(99%)!important}
.header.scrolled{height:84px}
.header.scrolled .brand img{width:64px;max-height:70px}
.footer-brand img{filter:none!important;opacity:1}
@media(max-width:1100px) and (min-width:801px){.brand img{width:66px}.brand span{font-size:10px}}
@media(max-width:800px){.header{height:82px}.brand img{width:58px;max-height:64px}.header.scrolled{height:76px}.header.scrolled .brand img{width:54px}}

/* v3.3 — original silver logo, exact heraldic details retained */
.brand .brand-mark{display:block;position:relative;flex:0 0 auto;width:76px;height:78px;line-height:0}
.brand .brand-mark img{position:absolute;inset:0;width:100%!important;height:100%!important;max-height:none!important;object-fit:contain;filter:none!important}
.brand .brand-mark .logo-navy{opacity:0}
.header.scrolled .brand .brand-mark .logo-silver{opacity:0}
.header.scrolled .brand .brand-mark .logo-navy{opacity:1}
.header.scrolled .brand .brand-mark{width:64px;height:66px}
.footer-brand img{filter:none!important;opacity:1}
@media(max-width:1100px) and (min-width:801px){.brand .brand-mark{width:66px;height:68px}}
@media(max-width:980px){.brand>span:not(.brand-mark){display:block}}
@media(max-width:800px){
 .header-inner{gap:8px}
 .brand{gap:9px;min-width:0}
 .brand .brand-mark{width:51px;height:54px}
 .header.scrolled .brand .brand-mark{width:47px;height:50px}
 .brand>span:not(.brand-mark){display:block;font-size:9px;line-height:1.3;letter-spacing:.025em;max-width:143px}
 .header .lang-switch{margin-left:auto;padding-right:0}
 .menu{flex:0 0 auto}
}
@media(max-width:390px){.brand>span:not(.brand-mark){font-size:8px;max-width:117px}.brand .brand-mark{width:45px;height:49px}.header.scrolled .brand .brand-mark{width:43px;height:46px}}

/* QA: unpublished documents are informational, not clickable. */
.document-row:not(a){cursor:default}

/* v3.5: bilingual, selectable headline on clean photography */
.emotional-live{min-height:440px!important;height:clamp(440px,42vw,650px)!important;display:block!important;position:relative;isolation:isolate;background:#1b3028!important}
.emotional-live .emotional-image{position:absolute;inset:0;width:100%;height:100%;aspect-ratio:auto;object-fit:cover;object-position:center}
.emotional-live::after{content:""!important;display:block!important;position:absolute;inset:0;z-index:0;background:linear-gradient(90deg,rgba(7,28,52,.04) 0%,rgba(7,28,52,.10) 42%,rgba(7,28,52,.72) 100%)}
.emotional-live .emotional-live-inner{position:relative;z-index:1;display:flex;justify-content:flex-end;align-items:center;height:100%;width:min(1180px,calc(100% - 64px));margin:auto}
.emotional-live .emotional-live-copy{width:min(46%,540px);max-width:none;margin:0;color:#fff;font:500 clamp(31px,3.6vw,53px)/1.19 "Lora",Georgia,serif;letter-spacing:-.02em;text-shadow:0 2px 20px rgba(0,0,0,.25)}
@media(max-width:800px){
.emotional-live{height:480px!important;min-height:0!important}
.emotional-live .emotional-image{height:100%;object-fit:cover;object-position:36% center}
.emotional-live::after{background:linear-gradient(0deg,rgba(7,28,52,.87),rgba(7,28,52,.05) 78%)}
.emotional-live .emotional-live-inner{align-items:flex-end;justify-content:flex-start;width:calc(100% - 44px);padding-bottom:40px}
.emotional-live .emotional-live-copy{width:100%;font-size:clamp(29px,7vw,42px)}
}
