/* Početna: uvod, o meni, 4 usluge i 4 sajta u "staklenim" karticama. */
.ip-home { overflow-x: clip; }
.ip-home .ip-title { margin-bottom: 1rem; }

/* ---------- Sekcije ---------- */
.ip-home .ip-hm-section, .ip-home .ip-faq { margin-top: 3rem; padding-top: 0; border-top: 0; }
.ip-hm-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
/* Donja margina prati naslov, da dugme stoji u njegovoj ravni. */
.ip-hm-head .ip-link-more { flex: none; margin-bottom: 1rem; }

.ip-home .ip-hm-section > .ipu-sections { margin-top: 0; }

/* O meni: uvodni pasus i tri prednosti u istom staklu. */
.ip-hm-about { overflow: hidden; }
.ip-hm-about > p { margin: 0; padding: 1.75rem 1.75rem 0; font-size: 1.0625rem; line-height: 1.75; color: #cfd0da; }
.ip-hm-about > p:last-of-type { padding-bottom: 1.5rem; }
.ip-hm-about strong { font-weight: 600; color: #fff; }
.ip-hm-points { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 0; padding: 0; list-style: none; border-top: 1px solid rgb(255 255 255 / .1); }
.ip-hm-points li { padding: 1.375rem 1.25rem 1.5rem 1.75rem; }
.ip-hm-points li + li { padding-left: 1.25rem; border-left: 1px solid rgb(255 255 255 / .1); }
.ip-hm-points li > span { display: grid; place-items: center; width: 2.5rem; height: 2.5rem; background: rgb(0 212 255 / .13); border: 1px solid rgb(0 212 255 / .25); border-radius: .75rem; }
.ip-hm-points svg { color: #7de8ff; }
.ip-hm-points h3 { margin: .875rem 0 0; font-size: .9375rem; font-weight: 600; line-height: 1.35; color: #fff; }
.ip-hm-points p { margin: .3rem 0 0; font-size: .8125rem; line-height: 1.55; color: #a9a9b4; }

/* Meka svetla iza kartica, da se staklo vidi. */
.ip-hm-glow { position: relative; isolation: isolate; }
.ip-hm-glow::before { content: ""; position: absolute; inset: 2rem 0 0; z-index: -1; pointer-events: none; background: radial-gradient(38% 42% at 18% 28%, rgb(0 212 255 / .22), transparent 72%), radial-gradient(40% 45% at 84% 74%, rgb(56 110 255 / .2), transparent 72%); filter: blur(18px); }

/* Moj alat (hakovansajt.com): ikonica, tekst i dugme u jednom staklu. */
.ip-hm-tool { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 1.25rem; padding: 1.5rem 1.75rem; }
.ip-hm-tool-icon { display: grid; place-items: center; width: 3.25rem; height: 3.25rem; background: rgb(0 212 255 / .13); border: 1px solid rgb(0 212 255 / .25); border-radius: 1rem; }
.ip-hm-tool svg { color: #7de8ff; }
.ip-hm-tool h3 { margin: 0; font-size: 1.0625rem; font-weight: 700; color: #fff; }
.ip-hm-tool p { margin: .35rem 0 0; font-size: .875rem; line-height: 1.6; color: #b6b6c1; }
.ip-hm-tool-btn, .ip-hm-tool-btn:hover, .ip-hm-tool-btn:focus-visible { position: relative; z-index: 1; color: #fff; border-color: rgb(0 212 255 / .5); }
.ip-hm-tool-btn { background: rgb(0 212 255 / .1); }
.ip-hm-tool-btn:hover, .ip-hm-tool-btn:focus-visible { background: rgb(0 212 255 / .2); }

/* Pitanja bez pozadinske šare. */
.ip-home .ip-faq-list::before { content: none; }

/* Završni poziv (stil kutije je u wp.css, isti na svim stranicama). */
.ip-home .ip-cta { margin-top: 3rem; }

@media (max-width: 639px) {
    .ip-home .ip-hm-section, .ip-home .ip-faq { margin-top: 2.5rem; }
    .ip-hm-about > p { padding: 1.25rem 1.125rem 0; font-size: .9375rem; }
    .ip-hm-about > p:last-of-type { padding-bottom: 1.125rem; }
    .ip-hm-points { grid-template-columns: 1fr; }
    .ip-hm-points li, .ip-hm-points li + li { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: .875rem; padding: 1rem 1.125rem; border-left: 0; }
    .ip-hm-points li + li { border-top: 1px solid rgb(255 255 255 / .1); }
    .ip-hm-points li > span { grid-row: span 2; }
    .ip-hm-points h3 { margin-top: 0; }
    .ip-hm-tool { grid-template-columns: auto minmax(0, 1fr); align-items: start; gap: 1rem; padding: 1.25rem 1.125rem; }
    .ip-hm-tool-icon { width: 2.5rem; height: 2.5rem; border-radius: .75rem; }
    .ip-hm-tool-btn { grid-column: 1 / -1; }
}
