/* Tarea site additions (ISO/IEC 27001 certification mark)
   Mark usage per ICR Adriatica rules (RU 04): original colors and
   proportions, clear space around the mark, never larger than the
   company logo. */

/* --- Footer: CERTIFIKATI column --------------------------------- */
footer.primary .footer-cert {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

footer.primary .footer-cert .cert-seal {
    width: 92px;
    height: auto;
    display: block;
    margin-bottom: 18px;
}

footer.primary .footer-cert .cert-caption {
    font-size: 11px;
    line-height: 1.9;
    opacity: .55;
    margin: 0;
    max-width: 220px;
    letter-spacing: .3px;
}

/* Show the Tarea logo in the bottom footer bar on desktop (theme
   hides it) so the certification mark never outranks the brand. */
footer.primary .footer-bottom .logo {
    display: block;
}

footer.primary .footer-bottom .logo img {
    width: 100px;
    height: auto;
}

/* Mobile: theme switches .footer-top to a column with explicit order
   (cta 1, menu 2, contact 3) — slot the certification block last and
   center it like the rest of the mobile footer. */
@media (max-width: 767px) {
    footer.primary .footer-cert {
        order: 4;
        width: 100%;
        align-items: center;
        text-align: center;
        margin: 0 0 50px;
    }
}

/* --- Home page: certification strip ----------------------------- */
section.certificates-strip {
    background: #fff;
    padding: 64px 0 96px;
    text-align: center;
    position: relative;
}

section.certificates-strip .strip-rule {
    position: relative;
    height: 1px;
    background: #ececec;
    margin-bottom: 60px;
}

section.certificates-strip .strip-rule span {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    background: #fff;
    padding: 5px 22px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    color: #262831;
}

section.certificates-strip .cert-seal {
    width: 118px;
    height: auto;
    display: block;
    margin: 0 auto 28px;
}

section.certificates-strip .cert-caption {
    font-size: 14px;
    line-height: 1.85;
    color: #5a6065;
    max-width: 540px;
    margin: 0 auto;
}

section.certificates-strip .cert-caption b {
    font-weight: 615;
    color: #262831;
}

@media (max-width: 767px) {
    section.certificates-strip {
        padding: 48px 0 72px;
    }

    section.certificates-strip .cert-seal {
        width: 96px;
    }
}

/* --- Contact page: cyber form redesign --------------------------- */
/* Tamna staklena kartica s neonskim akcentima umjesto bijele kartice teme. */
section.contact-form div.contact-form {
    background: #080809;
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 6px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 30px 90px rgba(0, 0, 0, .5), inset 0 1px 0 rgba(255, 255, 255, .04);
}

section.contact-form div.contact-form .tabs {
    position: relative;
    z-index: 1;
}

section.contact-form div.contact-form .tabs .title {
    color: #fff;
    position: relative;
    padding-left: 15px;
}

section.contact-form div.contact-form .tabs .title::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: linear-gradient(57deg, #42ea95, #03c7fd);
    box-shadow: 0 0 10px rgba(66, 234, 149, .8);
}

/* Polja: tema crta vizualni okvir polja preko .ginput_container::before
   (apsolutno pozicionirani sloj iza prozirnog inputa) — stiliziramo taj sloj. */
section.contact-form .ginput_container {
    position: relative;
}

section.contact-form .ginput_container::before {
    background: rgba(255, 255, 255, .05) !important;
    background-image: none !important;
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 4px;
    transition: border-color .3s ease, box-shadow .3s ease, background-color .3s ease;
}

section.contact-form .ginput_container:focus-within::before {
    background: rgba(66, 234, 149, .06) !important;
    background-image: none !important;
    border-color: #42ea95;
    box-shadow: 0 0 0 1px rgba(66, 234, 149, .3), 0 0 26px rgba(66, 234, 149, .12);
}

section.contact-form .gform_wrapper input.large,
section.contact-form .gform_wrapper textarea.large {
    background: transparent !important;
    background-image: none !important;
    border: none !important;
    color: #fff !important;
    caret-color: #42ea95;
    outline: none;
}

/* Labela u mirovanju stoji unutar polja kao placeholder — bez pozadine.
   Kad je tema podigne (klasa .is-active, top:3px preko ruba polja),
   tamni chip maskira liniju ruba ispod teksta (Material "outlined" stil). */
section.contact-form .gfield_label {
    background: transparent !important;
}

section.contact-form label.gfield_label.is-active {
    background: #080809 !important;
    padding: 0 8px !important;
    margin-left: -8px;
    border-radius: 2px;
    line-height: 1.3;
}

/* Chromeov autofill ne smije vratiti bijelu pozadinu */
section.contact-form .gform_wrapper input.large:-webkit-autofill {
    -webkit-box-shadow: 0 0 0 1000px #10151a inset;
    -webkit-text-fill-color: #fff;
}

section.contact-form .gfield_label {
    color: rgba(255, 255, 255, .78) !important;
    z-index: 2;
    /* Labela prekriva polje — klik mora proći kroz nju do inputa
       (labela nema for atribut pa bi klik na nju inače bio "mrtav"). */
    pointer-events: none;
}

section.contact-form .ginput_container::before {
    pointer-events: none;
}

/* Aktivno polje: labela zasvijetli u neonski zeleno da ostane čitljiva */
section.contact-form li.gfield:focus-within .gfield_label {
    color: #42ea95 !important;
    text-shadow: 0 0 12px rgba(66, 234, 149, .45);
}

section.contact-form .gfield_required {
    color: #42ea95 !important;
}

/* Privola */
section.contact-form .ginput_container_consent,
section.contact-form .gfield_consent_label {
    color: rgba(255, 255, 255, .6) !important;
}

section.contact-form .gfield_consent_label a {
    color: #42ea95 !important;
}

/* Poruke o greškama */
section.contact-form .validation_message,
section.contact-form .gfield_validation_message {
    color: #ff5f7a;
}

section.contact-form .validation-summary-errors {
    color: #ff5f7a;
    font-size: 13px;
    border: 1px solid rgba(255, 95, 122, .35);
    background: rgba(255, 95, 122, .07);
    border-radius: 4px;
    padding: 14px 18px;
    margin-bottom: 28px;
}

section.contact-form .validation-summary-errors ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

section.contact-form .gform_wrapper input.input-validation-error,
section.contact-form .gform_wrapper textarea.input-validation-error {
    border-color: rgba(255, 95, 122, .6);
}

/* Gumb za slanje — pojačan neonski sjaj na hover */
section.contact-form .gform_button:hover {
    box-shadow: 0 0 32px rgba(64, 219, 92, .35);
}

/* --- Privacy page ------------------------------------------------ */
/* body.home postavlja bijeli tekst globalno, a tema naslovima u prozi
   ne zadaje boju — na svijetloj podlozi .overview sekcije moraju biti tamni. */
section.two-columns-content.overview .left-column .subtitle,
section.two-columns-content.overview .left-column .title,
section.two-columns-content .textarea h2,
section.two-columns-content .textarea h3,
section.two-columns-content .textarea h4,
section.two-columns-content .textarea h5 {
    color: #14181d;
}

/* Tema ne stilizira linkove u prozi (.textarea) — dodaj brand akcent. */
section.two-columns-content .textarea a {
    color: #40db5c;
    font-weight: 530;
}

section.two-columns-content .textarea a:hover {
    text-decoration: underline;
}

/* Tema na malim ekranima stisne oba stupca na 50% umjesto da ih složi
   jedan ispod drugoga. */
@media (max-width: 959px) {
    section.two-columns-content .container {
        flex-flow: column;
    }

    section.two-columns-content .left-column {
        padding-right: 0;
        margin-bottom: 40px;
    }
}

/* --- Success page ------------------------------------------------ */
section.hero-standard .success-actions {
    margin-top: 44px;
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

/* Temini pill gumbi nisu stilizirani u hero-standard kontekstu */
section.hero-standard .success-actions .button,
section.hero-standard .success-actions .button-2 {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.3px;
    text-transform: uppercase;
    padding: 16px 30px;
    border-radius: 50px;
    min-width: 200px;
    color: #fff;
}

section.hero-standard .success-actions .button {
    background-image: linear-gradient(57deg, #40db5c, #03c7fd 50%, #40db5c);
    background-size: 200% auto;
    transition: background-position 1.25s ease;
}

section.hero-standard .success-actions .button:hover {
    background-position: 100%;
}

section.hero-standard .success-actions .button-2 {
    background: #000;
    border: 1px solid hsla(0, 0%, 100%, .2);
    transition: background .3s ease, color .3s ease;
}

section.hero-standard .success-actions .button-2:hover {
    background: #fff;
    color: #000;
}

/* --- Contact page: reassurance block ---------------------------- */
section.contact-form .contact-cert {
    margin-top: 48px;
    display: flex;
    align-items: center;
    gap: 18px;
    max-width: 340px;
}

section.contact-form .contact-cert .cert-seal {
    width: 72px;
    height: auto;
    flex-shrink: 0;
}

section.contact-form .contact-cert p {
    font-size: 11px;
    line-height: 1.8;
    opacity: .65;
    margin: 0;
    color: #fff;
    letter-spacing: .3px;
}
