/*
Theme Name: Patačić-Dunat — Sanitetski prijevoz
Theme URI: https://sanitetski-prijevoz.com
Author: Patačić-Dunat SAN PRIJEVOZ d.o.o.
Description: Block (FSE) tema za web stranicu sanitetskog prijevoza Patačić-Dunat, Zagreb. Naslovnica se prikazuje automatski nakon aktivacije teme.
Version: 1.0.0
Requires at least: 6.6
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
Text Domain: sanitetski-prijevoz
*/

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

/* ---------- Base ---------- */
:root { scroll-behavior: smooth; }
body { -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
a { transition: color .15s ease, opacity .15s ease; }

.wp-site-blocks { overflow-x: clip; }

/* Section rhythm */
.sp-section { padding-block: clamp(3rem, 2rem + 4vw, 5.5rem); }
.sp-section--tight { padding-block: clamp(2rem, 1.5rem + 2vw, 3.5rem); }
.sp-eyebrow {
	font-family: 'Manrope', system-ui, sans-serif;
	font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
	font-size: .78rem; color: var(--wp--preset--color--accent); margin: 0 0 .5rem;
}
.sp-lead { color: var(--wp--preset--color--muted); font-size: 1.15rem; }
.sp-muted { color: var(--wp--preset--color--muted); }

/* ---------- Buttons ---------- */
.wp-block-button__link { box-shadow: 0 8px 22px -10px rgba(11,87,164,.7); }
.wp-block-button__link:hover { filter: brightness(1.06); transform: translateY(-1px); }
.wp-block-button.is-style-outline .wp-block-button__link {
	box-shadow: none; border-width: 2px;
}
.sp-btn-wa .wp-block-button__link {
	background: #25d366 !important; color: #063d1c !important;
	box-shadow: 0 8px 22px -10px rgba(37,211,102,.8);
}
.wp-block-button__link { display: inline-flex; align-items: center; gap: .5rem; }
.sp-btn-lg .wp-block-button__link { font-size: 1.12rem; padding-block: .95rem; padding-inline: 1.7rem; }

/* ---------- Header ---------- */
.sp-header {
	position: sticky; top: 0; z-index: 50;
	background: rgba(255,255,255,.92); backdrop-filter: saturate(180%) blur(10px);
	border-bottom: 1px solid var(--wp--preset--color--line);
}
.sp-logo { display: inline-flex; color: var(--wp--preset--color--primary); line-height: 0; }
.sp-logo__mark { width: 46px; height: 46px; display: block; }
@media (max-width: 520px) { .sp-logo__mark { width: 40px; height: 40px; } }
.sp-brand .wp-block-site-title a { font-family: 'Manrope', sans-serif; font-weight: 800; color: var(--wp--preset--color--primary-dark); }
.sp-brand .wp-block-site-title { font-size: 1.15rem; line-height: 1.1; }
.sp-brand__tag { font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--wp--preset--color--accent); font-weight: 700; }
.sp-nav a { color: var(--wp--preset--color--contrast); font-weight: 600; font-size: .98rem; }
.sp-nav a:hover { color: var(--wp--preset--color--primary); }
@media (max-width: 860px) { .sp-nav { display: none !important; } }

/* ---------- Hero (core/cover blok) ---------- */
.sp-hero.wp-block-cover { min-height: 540px; }
.sp-hero .wp-block-cover__inner-container { width: 100%; }
.sp-hero :where(h1,h2,h3){ color:#fff; }
.sp-hero h1 { text-shadow: 0 2px 24px rgba(0,0,0,.3); }
.sp-hero .sp-eyebrow { color: #8ff0ec; }
.sp-hero__sub { color: rgba(255,255,255,.94); font-size: 1.2rem; }
.sp-hero-inner .wp-block-buttons { margin-top: 1.6rem; }
.sp-hero-inner .sp-chips { margin-top: 1.6rem; }
.sp-chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.sp-chips li {
	display: inline-flex; align-items: center; gap: .4rem;
	background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.24);
	padding: .4rem .8rem; border-radius: 999px; font-size: .9rem; font-weight: 600; color: #fff;
}
.sp-chips li::before { content: "✓"; color: #8ff0ec; font-weight: 800; }

/* ---------- Cards / grids ---------- */
.sp-card {
	background: #fff; border: 1px solid var(--wp--preset--color--line);
	border-radius: 18px; padding: 1.6rem !important;
	box-shadow: 0 18px 40px -32px rgba(8,60,114,.55);
	height: 100%;
}
.sp-card:hover { border-color: var(--wp--preset--color--accent); }
.sp-icon {
	width: 52px; height: 52px; border-radius: 14px;
	display: grid; place-items: center; margin-bottom: .9rem;
	background: var(--wp--preset--color--accent-soft); color: var(--wp--preset--color--primary);
}
.sp-icon svg { width: 28px; height: 28px; }

/* Why-us list */
.sp-why { list-style: none; margin: 0; padding: 0; display: grid; gap: .9rem; }
.sp-why li { position: relative; padding-left: 2.15rem; font-weight: 600; color: var(--wp--preset--color--contrast); list-style: none; }
.sp-why li::before {
	content: ""; position: absolute; left: 0; top: 1px; width: 24px; height: 24px; border-radius: 7px;
	background: var(--wp--preset--color--accent-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230b57a4' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center/14px no-repeat;
}

/* Equipment list */
.sp-equip { list-style: none; margin: 0; padding: 0; display: grid; gap: .7rem; }
.sp-equip li { display: flex; gap: .7rem; align-items: center; }
.sp-equip li::before {
	content: ""; flex: 0 0 auto; width: 22px; height: 22px; border-radius: 6px;
	background: var(--wp--preset--color--accent-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230b57a4' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center/14px no-repeat;
}

/* Steps */
.sp-step { position: relative; }
.sp-step .sp-num {
	width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center;
	background: var(--wp--preset--color--primary); color: #fff;
	font-family: 'Manrope', sans-serif; font-weight: 800; font-size: 1.25rem; margin: 0 0 .8rem;
}

/* FAQ (core/details) */
.sp-faq { max-width: 760px; margin-inline: auto; }
.sp-faq .wp-block-details {
	background: #fff; border: 1px solid var(--wp--preset--color--line);
	border-radius: 14px; padding: .35rem 1.2rem; margin-bottom: .8rem;
}
.sp-faq .wp-block-details[open] { border-color: var(--wp--preset--color--accent); }
.sp-faq .wp-block-details summary {
	cursor: pointer; font-family: 'Manrope', sans-serif; font-weight: 700;
	color: var(--wp--preset--color--primary-dark); padding: .85rem 0; list-style: none;
	display: flex; justify-content: space-between; align-items: center; gap: 1rem;
}
.sp-faq .wp-block-details summary::-webkit-details-marker { display: none; }
.sp-faq .wp-block-details summary::marker { content: ""; }
.sp-faq .wp-block-details summary::after { content: "+"; font-size: 1.5rem; color: var(--wp--preset--color--accent); line-height: 1; }
.sp-faq .wp-block-details[open] summary::after { content: "–"; }
.sp-faq .wp-block-details > *:not(summary) { color: var(--wp--preset--color--muted); padding-bottom: .9rem; margin-top: -.2rem; }

/* CTA band */
.sp-cta { color: #fff; border-radius: 26px; overflow: hidden; padding: clamp(2.5rem, 2rem + 2vw, 3.5rem) 2rem; }
.sp-cta :where(h2,p){ color:#fff; }
.sp-cta-sub { font-size: 1.15rem; }

/* Galerija vozila (core/gallery) */
.sp-gallery { margin-top: 2.5rem; }
.sp-gallery.wp-block-gallery { gap: 1rem; }
.sp-gallery.wp-block-gallery .wp-block-image {
	border-radius: 16px; overflow: hidden;
	box-shadow: 0 18px 40px -30px rgba(8,60,114,.6);
	border: 1px solid var(--wp--preset--color--line);
}
.sp-gallery.wp-block-gallery .wp-block-image img { border-radius: 16px; }

/* Reviews placeholder */
.sp-reviews-note {
	border: 1px dashed var(--wp--preset--color--line); border-radius: 16px;
	background: var(--wp--preset--color--surface); color: var(--wp--preset--color--muted);
}

/* Google recenzije CTA */
.sp-reviews-cta {
	max-width: 620px; margin: 2.5rem auto 0; text-align: center;
	background: #fff; border: 1px solid var(--wp--preset--color--line); border-radius: 20px;
	padding: 2.4rem 2rem; box-shadow: 0 24px 50px -34px rgba(8,60,114,.55);
}
.sp-google-g { width: 46px; height: 46px; margin: 0 auto .9rem; display: block; }
.sp-reviews-cta h3 {
	font-family: 'Manrope', sans-serif; font-weight: 800; color: var(--wp--preset--color--primary-dark);
	font-size: 1.3rem; margin: 0 0 .5rem;
}
.sp-reviews-cta p { color: var(--wp--preset--color--muted); margin: 0 auto 1.4rem; max-width: 46ch; }
.sp-review-btn {
	display: inline-flex; align-items: center; gap: .5rem;
	background: var(--wp--preset--color--primary); color: #fff !important;
	font-family: 'Manrope', sans-serif; font-weight: 700; font-size: 1.02rem;
	padding: .85rem 1.6rem; border-radius: 999px; text-decoration: none;
	box-shadow: 0 8px 22px -10px rgba(11,87,164,.7);
}
.sp-review-btn:hover { filter: brightness(1.06); transform: translateY(-1px); }

/* ---------- Stranica O nama ---------- */
.sp-pagehero { color: #fff; padding-block: clamp(3rem, 2rem + 3vw, 4.5rem); }
.sp-pagehero :where(h1,h2){ color: #fff; }
.sp-pagehero .sp-eyebrow { color: #8ff0ec; }
.sp-pagehero h1 { text-shadow: 0 2px 24px rgba(0,0,0,.22); }
.sp-pagehero__lead { color: rgba(255,255,255,.94); font-size: 1.2rem; max-width: 62ch; margin-inline: auto; }
.sp-chips--center { justify-content: center; margin-top: 1.6rem; }
.sp-about-img { border-radius: 20px; box-shadow: 0 30px 60px -40px rgba(8,60,114,.6); }
.sp-about-img img { border-radius: 20px; width: 100%; display: block; }
.sp-card--narrow { max-width: 620px; margin-inline: auto; }
.sp-why--center { max-width: 720px; margin-inline: auto; }
.sp-cta .is-style-outline .wp-block-button__link,
.sp-pagehero .is-style-outline .wp-block-button__link {
	color: #fff; border-color: rgba(255,255,255,.65); background: transparent;
}
.sp-cta .is-style-outline .wp-block-button__link:hover,
.sp-pagehero .is-style-outline .wp-block-button__link:hover {
	background: rgba(255,255,255,.12); border-color: #fff;
}

/* ---------- Blog: lista ---------- */
.sp-post-grid { gap: 1.6rem !important; margin-top: 2.5rem; }
.sp-post-card {
	background: #fff; border: 1px solid var(--wp--preset--color--line); border-radius: 18px; overflow: hidden;
	box-shadow: 0 18px 40px -32px rgba(8,60,114,.55); height: 100%;
}
.sp-post-card:hover { border-color: var(--wp--preset--color--accent); }
.sp-post-card__img { margin: 0; }
.sp-post-card__img img { width: 100%; display: block; }
.sp-post-card__body { padding: 1.3rem 1.4rem 1.5rem !important; }
.sp-post-meta { font-size: .82rem; color: var(--wp--preset--color--muted); font-weight: 600; margin: 0 0 .4rem; }
.sp-post-card .wp-block-post-title { font-size: 1.2rem; line-height: 1.25; margin: 0 0 .5rem; }
.sp-post-card .wp-block-post-title a { color: var(--wp--preset--color--primary-dark); }
.sp-post-card .wp-block-post-title a:hover { color: var(--wp--preset--color--primary); }
.sp-post-card .wp-block-post-excerpt { color: var(--wp--preset--color--muted); font-size: .98rem; margin: 0; }
.sp-post-card .wp-block-post-excerpt__more-link { color: var(--wp--preset--color--primary); font-weight: 700; display: inline-block; margin-top: .5rem; }
.wp-block-query-pagination { margin-top: 2.5rem; gap: .4rem; }
.wp-block-query-pagination .page-numbers { padding: .4rem .8rem; border-radius: 8px; }
.wp-block-query-pagination .page-numbers.current { background: var(--wp--preset--color--primary); color: #fff; }

/* ---------- Blog: pojedina objava ---------- */
.sp-post-hero-img { box-shadow: 0 30px 60px -40px rgba(8,60,114,.6); border-radius: 20px; overflow: hidden; }
.sp-post-hero-img img { border-radius: 20px; width: 100%; display: block; }
.sp-single-head .wp-block-post-title { max-width: 20ch; }
.sp-article .wp-block-post-content { font-size: 1.08rem; line-height: 1.7; }
.sp-article h2 { margin-top: 2.4rem; }
.sp-article h3 { margin-top: 1.6rem; }
.sp-article ul, .sp-article ol { padding-left: 1.3rem; }
.sp-article li { margin-bottom: .5rem; }
.sp-post-meta time { color: var(--wp--preset--color--muted); }

/* Callout u članku */
.sp-callout {
	background: var(--wp--preset--color--accent-soft); border-left: 4px solid var(--wp--preset--color--accent);
	border-radius: 10px; padding: 1rem 1.2rem; color: var(--wp--preset--color--contrast);
}

/* Tablica u članku */
.sp-table table { border-collapse: collapse; width: 100%; }
.sp-table th, .sp-table td { border: 1px solid var(--wp--preset--color--line); padding: .7rem .9rem; text-align: left; vertical-align: top; }
.sp-table thead th { background: var(--wp--preset--color--primary); color: #fff; font-family: 'Manrope', sans-serif; }
.sp-table tbody td:first-child { background: var(--wp--preset--color--surface-2); }
.sp-table tbody tr:nth-child(even) td:not(:first-child) { background: var(--wp--preset--color--surface); }

/* ---------- Kontakt ---------- */
.sp-contact-lines { line-height: 1.7; }
.sp-contact-lines strong { color: var(--wp--preset--color--primary-dark); font-family: 'Manrope', sans-serif; }
.sp-form-placeholder {
	border: 2px dashed var(--wp--preset--color--line); border-radius: 16px;
	background: var(--wp--preset--color--surface); padding: 2rem 1.6rem; text-align: center;
	color: var(--wp--preset--color--muted); margin-top: 1rem;
}
.sp-form-placeholder__title { font-family: 'Manrope', sans-serif; font-weight: 800; color: var(--wp--preset--color--primary-dark); margin: 0 0 .4rem; }
.sp-form-placeholder code { background: #fff; border: 1px solid var(--wp--preset--color--line); border-radius: 6px; padding: .1rem .35rem; font-size: .9em; }
.sp-map { border-radius: 20px; overflow: hidden; line-height: 0; margin-top: 2rem; box-shadow: 0 24px 50px -34px rgba(8,60,114,.55); border: 1px solid var(--wp--preset--color--line); }
.sp-map iframe { width: 100%; height: 400px; border: 0; display: block; }
.sp-map-link { text-align: center; margin-top: .8rem; font-weight: 600; }

/* ---------- Footer ---------- */
.sp-footer { background: var(--wp--preset--color--primary-dark); color: rgba(255,255,255,.82); }
.sp-footer :where(h2,h3,strong,.wp-block-site-title a){ color:#fff; }
.sp-footer a { color: rgba(255,255,255,.82); }
.sp-footer a:hover { color: #fff; }
.sp-footer .sp-legal { font-size: .82rem; color: rgba(255,255,255,.55); }

/* ---------- Mobile sticky call bar ---------- */
.sp-callbar { display: none; }
@media (max-width: 860px) {
	.sp-callbar {
		display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 100;
		gap: .5rem; padding: .55rem .7rem; background: rgba(255,255,255,.96);
		border-top: 1px solid var(--wp--preset--color--line); backdrop-filter: blur(8px);
	}
	.sp-callbar a {
		flex: 1; text-align: center; padding: .8rem; border-radius: 12px;
		font-family: 'Manrope', sans-serif; font-weight: 800; font-size: 1rem; color: #fff;
		display: inline-flex; align-items: center; justify-content: center; gap: .45rem;
	}
	.sp-callbar .c { background: var(--wp--preset--color--primary); }
	.sp-callbar .w { background: #25d366; color: #063d1c; }
	.wp-site-blocks { padding-bottom: 4.5rem; }
}

.sp-post-card {
    background: #fff;
    border: 1px solid var(--wp--preset--color--line);
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 18px 40px -32px rgba(8,60,114,.55);
    height: 100%;
}

p.gform_required_legend {
    display: none;
}

.gform-body.gform_body label {
    padding-left: 5px;
    margin-bottom: 2px;
}

div#gform_fields_1 {
    row-gap: 18px;
}

label#label_1_7_1 {
    text-align: left;
}

span.spacer {
    display: inline-table;
    width: 16px;
}