/* ==========================================================================
   husar-rimac.hr – podtema husar_rimac (base theme: bootstrap5)
   Datoteka ide u: web/themes/custom/husar_rimac/css/style.css
   ========================================================================== */

/* --- Fontovi (self-hosted; latin-ext sadrži č ć đ š ž) ------------------- */

@font-face {
  font-family: 'Cormorant Garamond Variable';
  font-style: normal;
  font-display: swap;
  font-weight: 300 700;
  src: url('../fonts/cormorant-garamond-latin-ext-wght-normal.woff2') format('woff2-variations');
  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: 'Cormorant Garamond Variable';
  font-style: normal;
  font-display: swap;
  font-weight: 300 700;
  src: url('../fonts/cormorant-garamond-latin-wght-normal.woff2') format('woff2-variations');
  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: 'DM Sans Variable';
  font-style: normal;
  font-display: swap;
  font-weight: 100 1000;
  src: url('../fonts/dm-sans-latin-ext-wght-normal.woff2') format('woff2-variations');
  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: 'DM Sans Variable';
  font-style: normal;
  font-display: swap;
  font-weight: 100 1000;
  src: url('../fonts/dm-sans-latin-wght-normal.woff2') format('woff2-variations');
  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;
}
/* potpis u sekciji "O meni" */
@font-face {
  font-family: 'Allura';
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url('../fonts/allura-latin-400-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;
}


/* --- Paleta -------------------------------------------------------------- */

:root {
  /* vaša paleta */
  --hr-bg:     #FAF9F6;   /* glavna pozadina */
  --hr-navy:   #263D59;   /* primarna boja */
  --hr-solo:   #EAF0FA;
  --hr-duo:    #E8F3EF;
  --hr-mini:   #FBF1D9;
  --hr-power:  #F7E9ED;
  --hr-golden: #F5EBDD;

  /* izvedene boje */
  --hr-navy-dark: #1B2D44;
  --hr-muted:     #55637A;   /* sporedni tekst, ~5.7:1 na pozadini */
  --hr-line:      #CBD3DE;
  --hr-border:    #E4DFD3;
  --hr-on-navy:   #D5DCE6;

  /* naglašene boje kružića iznad kartica */
  --hr-solo-accent:   #6F87B6;
  --hr-duo-accent:    #6AA08C;
  --hr-mini-accent:   #D8B04F;
  --hr-power-accent:  #C65A78;
  --hr-golden-accent: #D6B38E;

  --hr-font-body: 'DM Sans Variable', 'DM Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --hr-font-head: 'Cormorant Garamond Variable', 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --hr-wrap: 1200px;
  --hr-space: 88px;
}

:root {
  --ic-mic-w: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FFFFFF' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='9' y='2' width='6' height='11' rx='3'/%3E%3Cpath d='M5 10v1a7 7 0 0 0 14 0v-1'/%3E%3Cpath d='M12 18v4'/%3E%3C/svg%3E");
  --ic-users-w: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FFFFFF' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='9' cy='8' r='3.5'/%3E%3Cpath d='M2.5 20c0-3.6 2.9-6.5 6.5-6.5s6.5 2.9 6.5 6.5'/%3E%3Ccircle cx='17' cy='9' r='2.8'/%3E%3Cpath d='M17 14c2.8 0 4.5 2.4 4.5 5'/%3E%3C/svg%3E");
  --ic-group-w: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FFFFFF' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='8' r='3'/%3E%3Cpath d='M6 20c0-3.3 2.7-6 6-6s6 2.7 6 6'/%3E%3Ccircle cx='5.5' cy='10' r='2.2'/%3E%3Cpath d='M1.5 19c0-2.4 1.8-4.3 4-4.3'/%3E%3Ccircle cx='18.5' cy='10' r='2.2'/%3E%3Cpath d='M22.5 19c0-2.4-1.8-4.3-4-4.3'/%3E%3C/svg%3E");
  --ic-star-w: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FFFFFF' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolygon points='12 2 15.1 8.6 22 9.3 16.8 14 18.2 21 12 17.5 5.8 21 7.2 14 2 9.3 8.9 8.6'/%3E%3C/svg%3E");
  --ic-groupmic-w: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FFFFFF' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='3.8' r='2'/%3E%3Cpath d='M8.6 11.4c0-1.9 1.5-3.4 3.4-3.4s3.4 1.5 3.4 3.4'/%3E%3Ccircle cx='5.4' cy='5.6' r='1.6'/%3E%3Cpath d='M2.2 11c0-1.7 1.4-3 3.2-3'/%3E%3Ccircle cx='18.6' cy='5.6' r='1.6'/%3E%3Cpath d='M21.8 11c0-1.7-1.4-3-3.2-3'/%3E%3Crect x='10.3' y='13' width='3.4' height='6' rx='1.7'/%3E%3Cpath d='M7.8 16.4a4.2 4.2 0 0 0 8.4 0'/%3E%3Cpath d='M12 20.6v2.2'/%3E%3C/svg%3E");
  --ic-up-w: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FFFFFF' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 19V5'/%3E%3Cpath d='M5.5 11.5L12 5l6.5 6.5'/%3E%3C/svg%3E");
  --ic-user-s: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234F6584' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='8' r='4'/%3E%3Cpath d='M4 21c0-4.4 3.6-8 8-8s8 3.6 8 8'/%3E%3C/svg%3E");
  --ic-users-s: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234F6584' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='9' cy='8' r='3.5'/%3E%3Cpath d='M2.5 20c0-3.6 2.9-6.5 6.5-6.5s6.5 2.9 6.5 6.5'/%3E%3Ccircle cx='17' cy='9' r='2.8'/%3E%3Cpath d='M17 14c2.8 0 4.5 2.4 4.5 5'/%3E%3C/svg%3E");
  --ic-clock-s: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234F6584' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 7v5l3 2'/%3E%3C/svg%3E");
  --ic-check-s: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234F6584' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M8 12.5l2.7 2.7L16 9.5'/%3E%3C/svg%3E");
  --ic-cash-s: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234F6584' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2' y='6' width='20' height='12' rx='2'/%3E%3Ccircle cx='12' cy='12' r='2.5'/%3E%3C/svg%3E");
  --ic-box-s: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234F6584' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 8l-9-5-9 5v8l9 5 9-5z'/%3E%3Cpath d='M3 8l9 5 9-5M12 13v8'/%3E%3C/svg%3E");
  --ic-phone-n: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23263D59' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 16.9v3a2 2 0 0 1-2.2 2 19.8 19.8 0 0 1-8.6-3.1 19.5 19.5 0 0 1-6-6A19.8 19.8 0 0 1 2.1 4.2 2 2 0 0 1 4.1 2h3a2 2 0 0 1 2 1.7c.1 1 .4 1.9.7 2.8a2 2 0 0 1-.5 2.1L8.1 9.9a16 16 0 0 0 6 6l1.3-1.3a2 2 0 0 1 2.1-.4c.9.3 1.8.6 2.8.7a2 2 0 0 1 1.7 2z'/%3E%3C/svg%3E");
  --ic-mail-n: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23263D59' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2' y='4' width='20' height='16' rx='2'/%3E%3Cpath d='M22 7l-10 6L2 7'/%3E%3C/svg%3E");
  --ic-pin-n: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23263D59' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 21s-7-5.6-7-11a7 7 0 0 1 14 0c0 5.4-7 11-7 11z'/%3E%3Ccircle cx='12' cy='10' r='2.5'/%3E%3C/svg%3E");
  --ic-fb-w: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23FFFFFF' stroke='none'%3E%3Cpath d='M14 8h2.5V5H14a4 4 0 0 0-4 4v2H7.5v3H10v7h3v-7h2.5l.5-3H13V9a1 1 0 0 1 1-1z'/%3E%3C/svg%3E");
  --ic-ig-w: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FFFFFF' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='3' width='18' height='18' rx='5'/%3E%3Ccircle cx='12' cy='12' r='4'/%3E%3Ccircle cx='17.5' cy='6.5' r='1.1' fill='%23FFFFFF' stroke='none'/%3E%3C/svg%3E");
  --ic-send-w: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FFFFFF' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 2L11 13'/%3E%3Cpath d='M22 2l-7 20-4-9-9-4z'/%3E%3C/svg%3E");
}


/* --- Osnova -------------------------------------------------------------- */

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--hr-bg);
  color: var(--hr-navy);
  font-family: var(--hr-font-body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
*, *::before, *::after { box-sizing: border-box; }

h1, h2, h3, h4 {
  font-family: var(--hr-font-head);
  font-weight: 500;
  line-height: 1.15;
  color: var(--hr-navy);
}
a { color: var(--hr-navy); }

.region .block { margin: 0; }

.wrap {
  width: 100%;
  max-width: var(--hr-wrap);
  margin: 0 auto;
  padding-left: 32px;
  padding-right: 32px;
}
.sec { padding-top: var(--hr-space); padding-bottom: var(--hr-space); }
section[id] { scroll-margin-top: 16px; }

a:focus-visible, button:focus-visible, input:focus-visible,
select:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--hr-navy);
  outline-offset: 3px;
}
.dark a:focus-visible { outline-color: var(--hr-golden); }

.skip-link { position: absolute; left: -9999px; top: 0; }
.skip-link:focus {
  left: 16px; top: 16px; z-index: 10000;
  padding: 10px 16px; border-radius: 8px; background: #fff; color: var(--hr-navy);
}


/* --- Zaglavlje ----------------------------------------------------------- */

.site-header { background: #fff; }
.site-header__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 32px;
  padding-top: 12px;
  padding-bottom: 12px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--hr-navy);
}
.brand__mark {
  display: block;
  height: clamp(72px, 9vw, 118px);
  width: auto;
  max-width: 260px;
  object-fit: contain;
}
.brand__text { display: flex; flex-direction: column; line-height: 1.1; }
.brand__name { font-family: var(--hr-font-head); font-size: 24px; font-weight: 600; }
.brand__slogan {
  margin-top: 4px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--hr-muted);
}

.site-header nav ul {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 6px 40px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.site-header nav li { margin: 0; padding: 0; }
.site-header nav a {
  display: block;
  padding: 10px 0;
  font-size: 17px;
  font-weight: 500;
  color: var(--hr-navy);
  text-decoration: none;
  border-bottom: 2px solid transparent;
}
.site-header nav a:hover,
.site-header nav a:focus-visible { border-bottom-color: var(--hr-navy); }
.site-header nav h2 { display: none; }


/* --- Raspored zaglavlja: logotip lijevo, izbornik desno (svugdje) -------- */

.site-header .site-header__inner {
  display: flex !important;
  flex-flow: row nowrap !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 16px !important;
}
.site-header .site-header__inner > * {
  flex: 0 1 auto !important;
  width: auto !important;
  max-width: 100%;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}
.site-header .site-header__inner > :first-child { order: 1 !important; margin-right: auto !important; margin-left: 0 !important; }
.site-header .site-header__inner > :last-child  { order: 2 !important; margin-left: auto !important; margin-right: 0 !important; }
.site-header .site-header__inner > :only-child  { margin-right: auto !important; }
.site-header nav { display: block; margin-left: auto; }
.site-header nav > ul { justify-content: flex-end; }


/* --- Hamburger izbornik (gumb dodaje js/nav.js) -------------------------- */

.site-header nav { position: relative; }
.hr-burger {
  display: none;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 1px solid var(--hr-line);
  border-radius: 10px;
  background: #fff;
  color: var(--hr-navy);
  cursor: pointer;
  align-items: center;
  justify-content: center;
}
.hr-burger:focus-visible { outline: 3px solid var(--hr-navy); outline-offset: 2px; }
.hr-burger__bars,
.hr-burger__bars::before,
.hr-burger__bars::after {
  display: block;
  width: 22px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: transform .2s ease, background-color .2s ease;
}
.hr-burger__bars { position: relative; }
.hr-burger__bars::before,
.hr-burger__bars::after { content: ""; position: absolute; left: 0; }
.hr-burger__bars::before { top: -7px; }
.hr-burger__bars::after { top: 7px; }
.is-open .hr-burger__bars { background: transparent; }
.is-open .hr-burger__bars::before { transform: translateY(7px) rotate(45deg); }
.is-open .hr-burger__bars::after { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 860px) {
  .site-header nav .hr-burger { display: inline-flex; }
  .site-header nav ul {
    display: none;
    position: absolute;
    right: 0;
    top: calc(100% + 8px);
    z-index: 100;
    flex-direction: column;
    flex-wrap: nowrap;
    gap: 0;
    min-width: 230px;
    padding: 8px 20px;
    background: #fff;
    border: 1px solid var(--hr-border);
    border-radius: 12px;
    box-shadow: 0 12px 30px rgb(38 61 89 / 16%);
  }
  .site-header nav.is-open ul { display: flex; }
  .site-header nav li + li { border-top: 1px solid var(--hr-border); }
  .site-header nav a { padding: 14px 0; border-bottom: 0; }
  .site-header nav a:hover { text-decoration: underline; text-underline-offset: 6px; }
}


/* --- Podizbornik (O meni → Marija Husar Rimac): otvara se klikom --------- */

.site-header nav li.hr-has-sub { position: relative; display: flex; align-items: center; gap: 2px; }
.site-header nav .dropdown-toggle::after { display: none; }
.hr-sub-toggle {
  flex: none;
  width: 30px;
  height: 36px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--hr-navy);
  cursor: pointer;
  position: relative;
}
.hr-sub-toggle::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  margin: -2px 0 0 -5px;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 6px solid currentColor;
  transition: transform .2s ease;
}
.hr-has-sub.is-open > .hr-sub-toggle::before { transform: rotate(180deg); }
.hr-sub-toggle:focus-visible { outline: 3px solid var(--hr-navy); outline-offset: 1px; border-radius: 6px; }

.site-header nav ul ul {
  display: none;
  position: absolute;
  left: 0;
  top: 100%;
  z-index: 100;
  flex-direction: column;
  flex-wrap: nowrap;
  gap: 0;
  min-width: 270px;
  margin: 0;
  padding: 6px 20px;
  background: #fff;
  border: 1px solid var(--hr-border);
  border-radius: 12px;
  box-shadow: 0 12px 30px rgb(38 61 89 / 16%);
}
.site-header nav li.hr-has-sub.is-open > ul { display: flex; }
.site-header nav ul ul a { padding: 12px 0; white-space: nowrap; }

@media (max-width: 860px) {
  .site-header nav .hr-burger { margin-left: auto; }
  .site-header nav li.hr-has-sub { flex-wrap: wrap; }
  .site-header nav li.hr-has-sub > a { flex: 1; }
  .site-header nav ul ul {
    position: static;
    flex: 0 0 100%;
    min-width: 0;
    padding: 0 0 6px 16px;
    border: 0;
    border-radius: 0;
    box-shadow: none;
  }
  .site-header nav ul ul a { padding: 10px 0; white-space: normal; }
}


/* --- Hero: fotografija preko cijele širine, tekst preko slike ------------ */

.sec--hero { padding: 0; background: var(--hr-navy); color: #fff; }
.sec--hero > .wrap { max-width: none; padding: 0; }

.hr-hero { position: relative; overflow: hidden; }
.hr-hero__img {
  display: block;
  width: 100%;
  height: clamp(380px, 56vw, 680px);
  object-fit: cover;
  object-position: 30% center;
}
.hr-hero__text {
  position: absolute;
  left: 55%;
  right: 3%;
  top: 50%;
  transform: translateY(-20%);
}
.hr-hero h1 {
  margin: 0;
  font-size: clamp(2rem, 4.8vw, 4.1rem);
  font-weight: 500;
  line-height: 1.18;
  color: #fff;
  text-shadow: 0 2px 18px rgb(0 0 0 / 40%);
}
.hr-hero h1 span { display: block; }


/* --- Naslov sekcije s crtama --------------------------------------------- */

.hr-title {
  display: flex;
  align-items: center;
  gap: 28px;
  margin: 0 0 48px;
  font-family: var(--hr-font-head);
  font-size: clamp(22px, 2.3vw, 30px);
  font-weight: 500;
  letter-spacing: 0.2em;
  line-height: 1.2;
  text-transform: uppercase;
  color: var(--hr-navy);
}
.hr-title::before,
.hr-title::after {
  content: "";
  flex: 1 1 40px;
  height: 1px;
  background: var(--hr-line);
}
.hr-title--after::before { display: none; }


/* --- Programi ------------------------------------------------------------ */

.hr-cards {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 20px;
}
.hr-card {
  --tint: var(--hr-solo);
  --accent: var(--hr-solo-accent);
  --badge: var(--ic-mic-w);
  display: flex;
  flex-direction: column;
  padding: 28px 22px 24px;
  background: var(--card-bg, #fff);   /* za obojenu pozadinu kartica: --card-bg: var(--tint); */
  border: 1px solid var(--hr-border);
  border-radius: 6px;
  box-shadow: 0 6px 24px rgb(38 61 89 / 7%);
  transition: background-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.hr-card:hover {
  background: var(--tint);
  box-shadow: 0 12px 32px rgb(38 61 89 / 12%);
  transform: translateY(-3px);
}
.hr-card--solo   { --tint: var(--hr-solo);   --accent: var(--hr-solo-accent);   --badge: var(--ic-mic-w); }
.hr-card--duo    { --tint: var(--hr-duo);    --accent: var(--hr-duo-accent);    --badge: var(--ic-users-w); }
.hr-card--mini   { --tint: var(--hr-mini);   --accent: var(--hr-mini-accent);   --badge: var(--ic-group-w); }
.hr-card--power  { --tint: var(--hr-power);  --accent: var(--hr-power-accent);  --badge: var(--ic-groupmic-w); }
.hr-card--golden { --tint: var(--hr-golden); --accent: var(--hr-golden-accent); --badge: var(--ic-group-w); }

.hr-card__name {
  margin: 0 0 22px;
  font-family: var(--hr-font-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-align: center;
  text-transform: uppercase;
}
.hr-card__name::before {
  content: "";
  display: block;
  width: 60px;
  height: 60px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background-color: var(--accent);
  background-image: var(--badge);
  background-position: center;
  background-repeat: no-repeat;
  background-size: 52%;
  box-shadow: 0 0 0 6px var(--tint);
}

.hr-facts {
  display: flex;
  flex-direction: column;
  gap: 12px;
  list-style: none;
  margin: 0 0 20px;
  padding: 0;
}
.hr-facts li {
  position: relative;
  margin: 0;
  padding-left: 32px;
  font-size: 14px;
  line-height: 1.45;
}
.hr-facts li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1px;
  width: 18px;
  height: 18px;
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
}
.hr-facts strong { font-weight: 700; }
.f-dob::before      { background-image: var(--ic-user-s); }
.f-grupa::before    { background-image: var(--ic-users-s); }
.f-dolazak::before,
.f-termin::before   { background-image: var(--ic-clock-s); }
.f-otvoreno::before { background-image: var(--ic-check-s); }
.f-cijena::before   { background-image: var(--ic-cash-s); }
.f-paket::before    { background-image: var(--ic-box-s); }

.hr-card__text {
  margin: auto 0 0;
  font-size: 14px;
  line-height: 1.55;
  color: var(--hr-muted);
}


/* --- O meni -------------------------------------------------------------- */

/* pozadina cijele širine; boju promijenite ovdje */
:root { --hr-about-bg: #EAF0FA; }
#o-meni, .sec--about { background: var(--hr-about-bg); }

.hr-about {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 64px;
  align-items: center;
}
.hr-about__photo { margin: 0; }
.hr-about__photo img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  object-position: center;
  border-radius: 4px;
  background: var(--hr-golden);
}
.hr-about__text .hr-title { margin-bottom: 28px; }
.hr-about__text p { max-width: 560px; margin: 0 0 18px; color: var(--hr-navy); }
.hr-more {
  display: inline-block;
  margin-top: 6px;
  padding: 12px 28px;
  border: 1px solid var(--hr-navy);
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  color: var(--hr-navy);
  transition: background-color .2s ease, color .2s ease;
}
.hr-more:hover, .hr-more:focus-visible { background: var(--hr-navy); color: #fff; }
.hr-about__text p.hr-more-wrap { margin-top: 24px; }

/* podstranica (npr. "Više o Mariji") */
.hr-page { max-width: 820px; margin: 0 auto; padding: var(--hr-space, 80px) 24px; }
.hr-page h1, .hr-page h2 { font-family: var(--hr-font-head); color: var(--hr-navy); }
.hr-page p { margin: 0 0 1.1em; line-height: 1.7; }
.hr-page img { max-width: 100%; height: auto; border-radius: 4px; }

/* gumb "na vrh" */
.hr-top {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 90;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--hr-navy) var(--ic-up-w) center / 24px no-repeat;
  box-shadow: 0 6px 18px rgb(38 61 89 / 30%);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity .25s ease, transform .25s ease, visibility .25s, background-color .2s ease;
}
.hr-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.hr-top:hover { background-color: var(--hr-navy-dark); }
.hr-top:focus-visible { outline: 3px solid var(--hr-navy); outline-offset: 3px; }

.hr-signature {
  margin: 8px 0 0 !important;
  font-family: 'Allura', 'Brush Script MT', cursive;
  font-size: 44px;
  line-height: 1.1;
  color: var(--hr-navy);
}


/* --- Kontakt ------------------------------------------------------------- */

.region-contact {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 64px;
  align-items: start;
}
.hr-contact .hr-title { margin-bottom: 32px; }
.hr-ci {
  display: flex;
  flex-direction: column;
  gap: 22px;
  list-style: none;
  margin: 0 0 28px;
  padding: 0;
}
.hr-ci li {
  position: relative;
  margin: 0;
  padding-left: 52px;
  line-height: 1.5;
}
.hr-ci li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 2px;
  width: 30px;
  height: 30px;
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
}
.ci-phone::before { background-image: var(--ic-phone-n); }
.ci-mail::before  { background-image: var(--ic-mail-n); }
.ci-pin::before   { background-image: var(--ic-pin-n); }
.hr-ci strong { display: block; font-weight: 700; }
.hr-ci a { text-decoration: none; }
.hr-ci a:hover { text-decoration: underline; text-underline-offset: 3px; }

.hr-social { display: flex; gap: 12px; margin: 0; }
.hr-social a {
  display: block;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: var(--hr-navy);
  background-position: center;
  background-repeat: no-repeat;
  background-size: 50%;
  font-size: 0;              /* tekst ostaje za čitače zaslona */
  line-height: 0;
  overflow: hidden;
  transition: background-color .2s ease;
}
.hr-social a:hover { background-color: var(--hr-navy-dark); }
.soc-fb { background-image: var(--ic-fb-w); }
.soc-ig { background-image: var(--ic-ig-w); }

/* Webform: 2 × 2 polja, poruka i gumb preko cijele širine */
.webform-submission-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  align-items: start;
}
.webform-submission-form .form-item { margin: 0; }
.webform-submission-form .form-item-poruka,
.webform-submission-form .form-actions,
.webform-confirmation,
.webform-submission-form > .form-wrapper { grid-column: 1 / -1; }

.webform-submission-form input[type="text"],
.webform-submission-form input[type="email"],
.webform-submission-form input[type="tel"],
.webform-submission-form select,
.webform-submission-form textarea {
  display: block;
  width: 100%;
  min-height: 46px;
  padding: 11px 14px;
  border: 1px solid #CDD3DC;
  border-radius: 3px;
  background-color: #fff;
  color: var(--hr-navy);
  font-family: var(--hr-font-body);
  font-size: 15px;
}
.webform-submission-form textarea { min-height: 110px; resize: vertical; }
.webform-submission-form ::placeholder { color: #6B7788; opacity: 1; }
.webform-submission-form input:hover,
.webform-submission-form select:hover,
.webform-submission-form textarea:hover { border-color: var(--hr-navy); }

.webform-submission-form .form-actions { margin: 4px 0 0; }
.webform-submission-form .form-actions .form-submit,
.webform-submission-form .form-actions button[type="submit"] {
  min-height: 46px;
  padding: 0 28px 0 52px;
  border: 1px solid var(--hr-navy);
  border-radius: 3px;
  background-color: var(--hr-navy);
  background-image: var(--ic-send-w);
  background-position: 24px center;
  background-repeat: no-repeat;
  background-size: 18px;
  color: #fff;
  font-family: var(--hr-font-body);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color .2s ease;
}
.webform-submission-form .form-actions .form-submit:hover,
.webform-submission-form .form-actions button[type="submit"]:hover {
  background-color: var(--hr-navy-dark);
  border-color: var(--hr-navy-dark);
}
.webform-confirmation__message { font-size: 17px; }


/* --- Karta --------------------------------------------------------------- */

.sec-map { background: #E9E5DA; line-height: 0; }
.sec-map iframe { display: block; width: 100%; height: 380px; border: 0; }


/* --- Podnožje ------------------------------------------------------------ */

.site-footer { background: var(--hr-navy); color: var(--hr-on-navy); }
.site-footer .wrap { padding-top: 56px; padding-bottom: 32px; }
.foot-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1fr);
  gap: 48px;
}
.site-footer h2 {
  margin: 0 0 16px;
  font-family: var(--hr-font-body);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--hr-golden);
}
.site-footer p { margin: 0 0 10px; font-size: 15px; }
.site-footer a { color: var(--hr-on-navy); text-decoration: none; }
.site-footer a:hover { color: var(--hr-golden); }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin: 0 0 10px; font-size: 15px; }
.site-footer .brand__mark {
  height: 72px;
  padding: 8px 10px;
  border-radius: 6px;
  background: #fff;   /* JPG logotip ima svijetlu pozadinu */
}
.site-footer .brand__name { color: #fff; }
.site-footer .brand__slogan { color: var(--hr-on-navy); }
.foot-copy {
  margin: 40px 0 0;
  padding-top: 22px;
  border-top: 1px solid #3F5878;
  font-size: 14px;
  color: #AEBBCC;
}


/* --- Responzivnost ------------------------------------------------------- */

@media (max-width: 1100px) {
  .hr-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  :root { --hr-space: 60px; }
  .hr-about, .region-contact, .foot-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 40px;
  }
  .hr-title { gap: 16px; letter-spacing: 0.14em; }
}
@media (max-width: 700px) {
  .hr-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hr-hero__text {
    left: 0;
    right: 0;
    top: auto;
    bottom: 0;
    transform: none;
    padding: 22px 20px;
    background: rgb(27 45 68 / 55%);
  }
}
@media (max-width: 560px) {
  .wrap { padding-left: 20px; padding-right: 20px; }
  .webform-submission-form { grid-template-columns: minmax(0, 1fr); }
  .sec--hero > .wrap { padding: 0; }
}
@media (max-width: 480px) {
  .hr-cards { grid-template-columns: minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hr-card, .hr-social a, .webform-submission-form .form-actions .form-submit { transition: none; }
  .hr-card:hover { transform: none; }
}
