/*
Theme Name: Mesnica Dubravko
Theme URI: https://mesnicadubravko.com
Author: Custom Development
Description: Custom ACF tema za Mesnicu Dubravko - čist i svijetao moderan dizajn. Sav sadržaj je editabilan kroz ACF (Options page + polja po stranicama u tabovima). CPT: Proizvod.
Version: 1.0.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
Text Domain: mesnica-dubravko
*/

/* =====================================================
   1. TOKENS & RESET
===================================================== */
:root {
    --red: #C8102E;
    --red-dark: #A50D26;
    --red-bright: #E01434;
    --dark: #1A1512;
    --dark-2: #14100E;
    --muted: #5C534D;
    --cream: #FCF7F2;
    --gold: #E8A33D;
    --white: #ffffff;
    --border: rgba(26, 21, 18, 0.07);
    --radius: 22px;
    --font-display: 'Archivo', sans-serif;
    --font-body: 'Inter', sans-serif;
    --container: 1280px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
    margin: 0;
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--dark);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, h5, h6 { margin: 0; font-family: var(--font-display); font-weight: 800; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }
button { font-family: inherit; cursor: pointer; }

::selection { background: var(--red); color: #fff; }

.container { max-width: var(--container); margin: 0 auto; padding-left: 20px; padding-right: 20px; }
@media (min-width: 640px) { .container { padding-left: 32px; padding-right: 32px; } }

.skip-link {
    position: absolute; left: -9999px; top: 0; background: var(--dark); color: #fff;
    padding: 10px 18px; z-index: 100; border-radius: 0 0 10px 0;
}
.skip-link:focus { left: 0; }

.screen-reader-text {
    border: 0; clip: rect(1px,1px,1px,1px); clip-path: inset(50%); height: 1px;
    margin: -1px; overflow: hidden; padding: 0; position: absolute; width: 1px; word-wrap: normal;
}

/* =====================================================
   2. BUTTONS & SHARED
===================================================== */
.btn {
    display: inline-flex; align-items: center; gap: 10px;
    font-weight: 700; font-size: 16px; line-height: 1;
    padding: 16px 32px; border-radius: 999px; border: 0;
    transition: background-color .25s ease, color .25s ease, border-color .25s ease, box-shadow .25s ease, transform .25s ease;
}
.btn svg { width: 18px; height: 18px; }

.btn-primary {
    background: var(--red); color: #fff;
    box-shadow: 0 8px 24px rgba(200, 16, 46, .32);
}
.btn-primary:hover { background: var(--red-dark); box-shadow: 0 10px 30px rgba(200, 16, 46, .42); transform: translateY(-2px); }

.btn-outline {
    background: #fff; color: var(--dark);
    border: 2px solid rgba(26, 21, 18, .15); padding: 14px 28px;
}
.btn-outline:hover { border-color: var(--red); color: var(--red); }

.btn-dark { background: var(--dark); color: #fff; width: 100%; justify-content: center; padding: 13px 20px; font-size: 15px; }
.btn-dark:hover { background: var(--red); color: #fff; }

.btn-ghost-red {
    background: transparent; color: var(--red);
    border: 2px solid rgba(200, 16, 46, .25); padding: 13px 24px; font-size: 16px;
}
.btn-ghost-red:hover { background: var(--red); color: #fff; border-color: var(--red); }

.eyebrow {
    display: inline-block; color: var(--red); font-size: 13px; font-weight: 700;
    text-transform: uppercase; letter-spacing: .14em; margin-bottom: 16px;
}
.eyebrow--gold { color: var(--gold); }

.eyebrow-pill {
    display: inline-flex; align-items: center; gap: 8px;
    background: rgba(200, 16, 46, .08); color: var(--red);
    font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .12em;
    padding: 8px 16px; border-radius: 999px; margin-bottom: 24px;
}
.eyebrow-pill svg { width: 15px; height: 15px; }

.section-title {
    font-size: 32px; font-weight: 900; letter-spacing: -0.02em; line-height: 1.1; color: var(--dark);
}
@media (min-width: 640px) { .section-title { font-size: 42px; } }

.stars { display: inline-flex; align-items: center; gap: 2px; }
.stars svg { width: 15px; height: 15px; fill: rgba(26,21,18,.15); color: rgba(26,21,18,.15); }
.stars svg.is-filled { fill: var(--gold); color: var(--gold); }
.stars .stars-label { margin-left: 6px; font-size: 13px; font-weight: 600; color: var(--muted); }

/* Scroll reveal */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
.reveal.revealed { opacity: 1; transform: translateY(0); }
.reveal-delay-1.revealed { transition-delay: .12s; }
.reveal-delay-2.revealed { transition-delay: .24s; }
@media (prefers-reduced-motion: reduce) {
    .reveal { opacity: 1; transform: none; transition: none; }
    html { scroll-behavior: auto; }
}

/* =====================================================
   3. HEADER
===================================================== */
.site-header {
    position: fixed; top: 0; left: 0; right: 0; z-index: 50;
    background: transparent;
    transition: background-color .3s ease, box-shadow .3s ease;
}
.site-header.is-solid {
    background: rgba(255, 255, 255, .95);
    -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
    box-shadow: 0 2px 20px rgba(26, 21, 18, .08);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }

.logo { display: inline-flex; align-items: center; gap: 10px; }
.logo-icon {
    display: inline-flex; align-items: center; justify-content: center;
    width: 40px; height: 40px; border-radius: 12px; background: var(--red); color: #fff;
    transition: transform .3s ease;
}
.logo:hover .logo-icon { transform: scale(1.05); }
.logo-icon svg { width: 22px; height: 22px; }
.logo-text { font-family: var(--font-display); font-weight: 800; font-size: 19px; letter-spacing: -0.01em; line-height: 1.05; color: var(--dark); }
.logo-text span { display: block; color: var(--red); }
.logo-img { max-height: 48px; width: auto; }

.main-nav .nav-list { display: flex; align-items: center; gap: 32px; }
.main-nav .nav-list a {
    position: relative; font-size: 15px; font-weight: 600; color: rgba(26, 21, 18, .8);
    transition: color .2s ease; padding-bottom: 2px;
}
.main-nav .nav-list a::after {
    content: ''; position: absolute; left: 0; bottom: -4px; height: 2px; width: 0;
    background: var(--red); transition: width .3s ease;
}
.main-nav .nav-list a:hover { color: var(--red); }
.main-nav .nav-list a:hover::after { width: 100%; }

.header-phone { padding: 12px 20px; font-size: 15px; }
.header-phone svg { width: 16px; height: 16px; }

.nav-toggle {
    display: none; flex-direction: column; justify-content: center; gap: 5px;
    width: 44px; height: 44px; background: none; border: 0; padding: 10px;
}
.nav-toggle span { display: block; height: 2.5px; width: 100%; background: var(--dark); border-radius: 2px; transition: transform .25s ease, opacity .25s ease; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

@media (max-width: 1023px) {
    .main-nav {
        display: none; position: absolute; top: 72px; left: 0; right: 0;
        background: #fff; border-top: 1px solid var(--border);
        padding: 12px 20px 24px; box-shadow: 0 16px 30px rgba(26, 21, 18, .12);
    }
    .main-nav.is-open { display: block; }
    .main-nav .nav-list { flex-direction: column; align-items: stretch; gap: 0; }
    .main-nav .nav-list a { display: block; padding: 13px 8px; font-size: 16px; border-bottom: 1px solid rgba(26, 21, 18, .05); }
    .main-nav .nav-list a::after { display: none; }
    .header-phone { display: none; }
    .nav-toggle { display: flex; }
}

/* =====================================================
   4. HERO (Naslovnica)
===================================================== */
.hero {
    position: relative; overflow: hidden;
    padding: 120px 0 64px;
    background: linear-gradient(180deg, var(--cream) 0%, var(--white) 100%);
}
@media (min-width: 640px) { .hero { padding: 150px 0 96px; } }

.hero::before, .hero::after {
    content: ''; position: absolute; border-radius: 50%; pointer-events: none; filter: blur(64px);
}
.hero::before { top: -160px; right: -160px; width: 520px; height: 520px; background: rgba(200, 16, 46, .05); }
.hero::after { top: 256px; left: -192px; width: 420px; height: 420px; background: rgba(232, 163, 61, .08); }

.hero-grid { position: relative; z-index: 1; display: grid; gap: 48px; align-items: center; }
@media (min-width: 1024px) { .hero-grid { grid-template-columns: 1fr 1fr; gap: 64px; } }

.hero-title {
    font-size: 40px; font-weight: 900; letter-spacing: -0.02em; line-height: 1.05;
    color: var(--dark); margin-bottom: 24px;
}
@media (min-width: 640px) { .hero-title { font-size: 56px; } }
@media (min-width: 1024px) { .hero-title { font-size: 64px; } }

.hero-title .highlight { color: var(--red); position: relative; display: inline-block; }
.hero-title .highlight svg { position: absolute; bottom: -8px; left: 0; width: 100%; height: 8px; }

.hero-text { font-size: 17px; color: var(--muted); line-height: 1.65; max-width: 560px; margin-bottom: 36px; }
@media (min-width: 640px) { .hero-text { font-size: 18px; } }

.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }

.hero-badges { margin-top: 48px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; max-width: 520px; }
.hero-badge { display: flex; align-items: center; gap: 10px; }
.hero-badge .hero-badge-icon {
    display: inline-flex; align-items: center; justify-content: center;
    width: 36px; height: 36px; border-radius: 10px; background: #fff;
    box-shadow: 0 2px 10px rgba(26, 21, 18, .08); color: var(--red); flex-shrink: 0;
}
.hero-badge .hero-badge-icon svg { width: 17px; height: 17px; }
.hero-badge span:last-child { font-size: 13px; font-weight: 600; color: var(--muted); line-height: 1.3; }

.hero-media { position: relative; }
.hero-media-frame { border-radius: 28px; overflow: hidden; box-shadow: 0 24px 60px rgba(26, 21, 18, .18); position: relative; }
.hero-media-frame img { width: 100%; height: 380px; object-fit: cover; }
@media (min-width: 640px) { .hero-media-frame img { height: 480px; } }
@media (min-width: 1024px) { .hero-media-frame img { height: 540px; } }
.hero-media-frame::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(26,21,18,.25), transparent 50%); }

.hero-card {
    position: absolute; bottom: -24px; left: 20px;
    background: #fff; border-radius: 18px; box-shadow: 0 12px 36px rgba(26, 21, 18, .16);
    padding: 16px 24px; display: flex; align-items: center; gap: 16px;
}
@media (min-width: 640px) { .hero-card { left: 32px; } }
.hero-card-icon {
    display: inline-flex; align-items: center; justify-content: center;
    width: 48px; height: 48px; border-radius: 14px; background: rgba(200, 16, 46, .08); color: var(--red);
}
.hero-card-icon svg { width: 24px; height: 24px; }
.hero-card strong { display: block; font-family: var(--font-display); font-weight: 800; font-size: 18px; line-height: 1.2; color: var(--dark); }
.hero-card small { font-size: 13px; font-weight: 500; color: var(--muted); }

/* =====================================================
   5. SECTIONS - PROIZVODI / O NAMA / GARANCIJA / PROCES / KLIJENTI
===================================================== */
.section { padding: 80px 0; }
@media (min-width: 640px) { .section { padding: 112px 0; } }
.section--cream { background: var(--cream); }

.section-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 56px; }
.section-head > div { max-width: 640px; }
.section-head--center { justify-content: center; text-align: center; }

.cards-grid { display: grid; gap: 28px; }
@media (min-width: 640px) { .cards-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .cards-grid { grid-template-columns: repeat(3, 1fr); } }

.product-card {
    background: #fff; border-radius: var(--radius); overflow: hidden;
    border: 1px solid var(--border);
    box-shadow: 0 4px 20px rgba(26, 21, 18, .05);
    transition: transform .3s ease, box-shadow .3s ease;
}
.product-card:hover { transform: translateY(-6px); box-shadow: 0 18px 44px rgba(26, 21, 18, .13); }

.product-card-media { position: relative; overflow: hidden; }
.product-card-media img { width: 100%; height: 224px; object-fit: cover; transition: transform .5s ease; }
.product-card:hover .product-card-media img { transform: scale(1.05); }

.product-tag {
    position: absolute; top: 16px; left: 16px;
    background: rgba(255, 255, 255, .95); color: var(--red);
    font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em;
    padding: 6px 14px; border-radius: 999px; box-shadow: 0 1px 4px rgba(26,21,18,.08);
}

.product-card-body { padding: 24px; }
.product-card-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 8px; }
.product-card-title { font-size: 20px; font-weight: 800; line-height: 1.35; color: var(--dark); }
.product-price { text-align: right; flex-shrink: 0; display:none; }
.product-price strong { display: block; font-family: var(--font-display); font-size: 22px; font-weight: 900; color: var(--red); line-height: 1; }
.product-price small { display: block; font-size: 12px; font-weight: 500; color: var(--muted); margin-top: 4px; }
.product-review { font-size: 15px; color: var(--muted); margin: 12px 0 20px; }

/* O nama */
.split-grid { display: grid; gap: 48px; align-items: center; }
@media (min-width: 1024px) { .split-grid { grid-template-columns: 1fr 1fr; gap: 80px; } }

.split-media { position: relative; }
.split-media-frame { border-radius: 28px; overflow: hidden; box-shadow: 0 20px 50px rgba(26, 21, 18, .14); }
.split-media-frame img { width: 100%; height: 340px; object-fit: cover; }
@media (min-width: 640px) { .split-media-frame img { height: 440px; } }

.split-sticker {
    position: absolute; top: -20px; right: -12px;
    background: var(--red); color: #fff; border-radius: 18px; padding: 16px 24px;
    box-shadow: 0 12px 30px rgba(200, 16, 46, .35); transform: rotate(2deg);
}
@media (min-width: 640px) { .split-sticker { right: -20px; } }
.split-sticker strong { display: block; font-family: var(--font-display); font-size: 24px; font-weight: 900; line-height: 1; }
.split-sticker small { display: block; font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; margin-top: 4px; opacity: .9; }

.split-body .section-title { margin-bottom: 24px; }
.split-text { font-size: 17px; color: var(--muted); line-height: 1.65; margin-bottom: 32px; }

.link-underline {
    display: inline-flex; align-items: center; gap: 8px;
    color: var(--red); font-weight: 700; font-size: 16px; padding-bottom: 4px;
    border-bottom: 2px solid rgba(200, 16, 46, .3);
    transition: border-color .2s ease;
}
.link-underline:hover { border-color: var(--red); }
.link-underline svg { width: 18px; height: 18px; }

/* Garancija banner */
.quality-banner { position: relative; border-radius: 32px; overflow: hidden; }
.quality-banner img { width: 100%; height: 420px; object-fit: cover; }
@media (min-width: 640px) { .quality-banner img { height: 500px; } }
.quality-banner-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(90deg, rgba(26,21,18,.85) 0%, rgba(26,21,18,.55) 45%, transparent 100%);
    display: flex; align-items: center;
}
.quality-banner-content { padding: 28px; max-width: 640px; }
@media (min-width: 640px) { .quality-banner-content { padding: 56px; } }
.quality-banner-content h2 { font-size: 30px; font-weight: 900; letter-spacing: -0.02em; line-height: 1.12; color: #fff; }
@media (min-width: 640px) { .quality-banner-content h2 { font-size: 42px; } }

/* Proces */
.steps { margin-top: 8px; }
.step { display: flex; align-items: center; gap: 20px; padding: 20px 0; border-bottom: 1px solid rgba(26, 21, 18, .08); }
.step:last-child { border-bottom: 0; }
.step-num {
    display: inline-flex; align-items: center; justify-content: center;
    width: 48px; height: 48px; border-radius: 50%; flex-shrink: 0;
    background: #fff; border: 2px solid rgba(200, 16, 46, .2); color: var(--red);
    font-family: var(--font-display); font-weight: 900; font-size: 18px;
    transition: background-color .3s ease, color .3s ease, border-color .3s ease;
}
.step:hover .step-num { background: var(--red); color: #fff; border-color: var(--red); }
.step h3 { font-size: 18px; font-weight: 800; color: var(--dark); }
@media (min-width: 640px) { .step h3 { font-size: 20px; } }

/* Klijenti */
.client-card {
    background: var(--cream); border-radius: var(--radius); padding: 32px;
    border: 1px solid rgba(26, 21, 18, .05);
    transition: border-color .3s ease, box-shadow .3s ease;
}
.client-card:hover { border-color: rgba(200, 16, 46, .25); box-shadow: 0 14px 36px rgba(26, 21, 18, .1); }
.client-card svg { width: 28px; height: 28px; color: rgba(200, 16, 46, .3); margin-bottom: 20px; }
.client-card h3 { font-size: 20px; font-weight: 800; color: var(--dark); margin-bottom: 4px; }
.client-card p { font-size: 14px; font-weight: 600; color: var(--red); text-transform: uppercase; letter-spacing: .04em; margin: 0; }

/* =====================================================
   6. KONTAKT / CTA (tamna sekcija)
===================================================== */
.cta-section { position: relative; overflow: hidden; background: var(--dark); padding: 80px 0; }
@media (min-width: 640px) { .cta-section { padding: 112px 0; } }
.cta-section::before {
    content: ''; position: absolute; top: -128px; right: 0; width: 460px; height: 460px;
    border-radius: 50%; background: rgba(200, 16, 46, .12); filter: blur(64px); pointer-events: none;
}
.cta-inner { position: relative; max-width: 768px; margin: 0 auto; text-align: center; }
.cta-inner h2 { font-size: 32px; font-weight: 900; letter-spacing: -0.02em; line-height: 1.1; color: #fff; margin-bottom: 24px; }
@media (min-width: 640px) { .cta-inner h2 { font-size: 46px; } }
.cta-text { font-size: 18px; color: rgba(255, 255, 255, .7); line-height: 1.65; max-width: 620px; margin: 0 auto 40px; }
.cta-btn-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; margin-bottom: 56px; }
.cta-btn-row .btn-primary:hover { background: var(--red-bright); }

.cta-phone-label { color: rgba(255, 255, 255, .5); font-size: 14px; font-weight: 600; text-transform: uppercase; letter-spacing: .12em; margin-bottom: 12px; }
.cta-phone {
    display: inline-flex; align-items: center; gap: 12px;
    font-family: var(--font-display); font-size: 28px; font-weight: 900; color: #fff;
    transition: color .2s ease;
}
@media (min-width: 640px) { .cta-phone { font-size: 36px; } }
.cta-phone:hover { color: var(--gold); }
.cta-phone-icon {
    display: inline-flex; align-items: center; justify-content: center;
    width: 48px; height: 48px; border-radius: 50%; background: rgba(255, 255, 255, .1);
}
.cta-phone-icon svg { width: 22px; height: 22px; }

/* =====================================================
   7. FOOTER
===================================================== */
.site-footer { background: var(--dark-2); padding: 40px 0; }
.footer-inner { display: flex; flex-direction: column; align-items: center; justify-content: space-between; gap: 24px; }
@media (min-width: 640px) { .footer-inner { flex-direction: row; } }
.footer-logo { display: inline-flex; align-items: center; gap: 10px; }
.footer-logo .logo-icon { width: 36px; height: 36px; border-radius: 10px; }
.footer-logo .logo-icon svg { width: 18px; height: 18px; }
.footer-logo strong { font-family: var(--font-display); font-weight: 800; font-size: 18px; color: #fff; }
.footer-meta { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px 32px; font-size: 14px; color: rgba(255, 255, 255, .5); }
.footer-meta a, .footer-meta span { display: inline-flex; align-items: center; gap: 8px; transition: color .2s ease; }
.footer-meta a:hover { color: #fff; }
.footer-meta svg { width: 14px; height: 14px; }
.footer-copy { font-size: 13px; color: rgba(255, 255, 255, .35); margin: 0; }

/* =====================================================
   8. STRANICA "U PONUDI"
===================================================== */
.page-hero {
    padding: 130px 0 56px; text-align: center;
    background: linear-gradient(180deg, var(--cream) 0%, var(--white) 100%);
}
.page-hero h1 { font-size: 38px; font-weight: 900; letter-spacing: -0.02em; line-height: 1.05; color: var(--dark); }
@media (min-width: 640px) { .page-hero h1 { font-size: 54px; } }

.section--items-top { padding-top: 0; }

.item-card {
    background: #fff; border-radius: 20px; overflow: hidden;
    border: 1px solid var(--border); box-shadow: 0 4px 18px rgba(26, 21, 18, .05);
    transition: transform .3s ease, box-shadow .3s ease;
}
.item-card:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(26, 21, 18, .12); }
.item-card-media {
    background: var(--cream); height: 192px; padding: 16px;
    display: flex; align-items: center; justify-content: center; overflow: hidden;
}
.item-card-media img { max-height: 100%; width: auto; object-fit: contain; transition: transform .5s ease; }
.item-card:hover .item-card-media img { transform: scale(1.05); }
.item-card-body { padding: 20px; }
.item-card-body h3 { font-size: 18px; font-weight: 800; color: var(--dark); margin-bottom: 6px; }
.item-card-body .btn-dark { margin-top: 16px; font-size: 14px; padding: 11px 16px; }

/* Accordion - Ponuda mesa */
.accordion { max-width: 896px; margin: 0 auto; }
.acc-item {
    background: #fff; border-radius: 16px; border: 1px solid var(--border);
    box-shadow: 0 4px 18px rgba(26, 21, 18, .05); margin-bottom: 16px; overflow: hidden;
    transition: border-color .3s ease;
}
.acc-item.is-open { border-color: rgba(200, 16, 46, .25); }
.acc-trigger {
    display: flex; align-items: center; justify-content: space-between; gap: 16px;
    width: 100%; background: none; border: 0; text-align: left;
    padding: 22px 24px; font-family: var(--font-display); font-weight: 800; font-size: 18px; color: var(--dark);
    transition: color .2s ease;
}
@media (min-width: 640px) { .acc-trigger { font-size: 20px; } }
.acc-trigger:hover { color: var(--red); }
.acc-trigger .acc-chevron { flex-shrink: 0; width: 20px; height: 20px; color: var(--muted); transition: transform .3s ease; }
.acc-item.is-open .acc-chevron { transform: rotate(180deg); color: var(--red); }
.acc-panel { max-height: 0; overflow: hidden; transition: max-height .35s ease; }
.acc-panel-inner { padding: 0 24px 24px; }
.acc-list { display: grid; gap: 0 32px; }
@media (min-width: 640px) { .acc-list { grid-template-columns: 1fr 1fr; } }
.acc-list li { border-bottom: 1px solid rgba(26, 21, 18, .06); }
.acc-list li a, .acc-list li > span {
    display: flex; align-items: center; gap: 12px; padding: 10px 0;
    font-size: 15px; font-weight: 600; color: var(--muted); transition: color .2s ease;
}
.acc-list li a:hover { color: var(--red); }
.acc-list .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--red); flex-shrink: 0; }

/* =====================================================
   9. KONTAKT PODACI + FORMA
===================================================== */
.contact-grid { display: grid; gap: 40px; }
@media (min-width: 1024px) { .contact-grid { grid-template-columns: 1fr 1.4fr; gap: 64px; } }

.contact-title { font-size: 28px; margin-bottom: 32px; }
@media (min-width: 640px) { .contact-title { font-size: 34px; } }

.contact-list li a {
    display: flex; align-items: center; gap: 16px;
    padding: 12px 0; border-bottom: 1px solid rgba(26, 21, 18, .07);
    font-size: 15px; font-weight: 600; color: rgba(26, 21, 18, .85);
    transition: color .2s ease;
}
.contact-list li a:hover { color: var(--red); }
.contact-list-icon {
    display: inline-flex; align-items: center; justify-content: center;
    width: 40px; height: 40px; border-radius: 12px; flex-shrink: 0;
    background: #fff; box-shadow: 0 2px 10px rgba(26, 21, 18, .07); color: var(--red);
    transition: background-color .25s ease, color .25s ease;
}
.contact-list li a:hover .contact-list-icon { background: var(--red); color: #fff; }
.contact-list-icon svg { width: 17px; height: 17px; }

.contact-form-card {
    background: #fff; border-radius: 24px; padding: 28px;
    border: 1px solid var(--border); box-shadow: 0 10px 36px rgba(26, 21, 18, .08);
}
@media (min-width: 640px) { .contact-form-card { padding: 40px; } }

.contact-form .form-row { display: grid; gap: 20px; }
@media (min-width: 640px) { .contact-form .form-row { grid-template-columns: 1fr 1fr; } }

.contact-form .form-field { margin-bottom: 20px; }
.contact-form label {
    display: block; font-size: 13px; font-weight: 700;
    text-transform: uppercase; letter-spacing: .04em; color: var(--dark); margin-bottom: 8px;
}
.contact-form .req { color: var(--red); }

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form textarea {
    width: 100%; font-family: var(--font-body); font-size: 15px; color: var(--dark);
    background: #fff; border: 1px solid rgba(26, 21, 18, .15); border-radius: 12px;
    padding: 13px 16px; outline: none;
    transition: border-color .2s ease, box-shadow .2s ease;
}
.contact-form textarea { min-height: 140px; resize: vertical; }
.contact-form input:focus, .contact-form textarea:focus {
    border-color: var(--red); box-shadow: 0 0 0 3px rgba(200, 16, 46, .12);
}
.contact-form ::placeholder { color: rgba(92, 83, 77, .55); }

.hp-field { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }

.form-notice {
    display: block; font-size: 15px; font-weight: 600;
    padding: 14px 20px; border-radius: 12px; margin-bottom: 24px;
}
.form-notice--ok { background: rgba(14, 122, 61, .08); color: #0E7A3D; }
.form-notice--err { background: rgba(200, 16, 46, .08); color: var(--red); }

/* Admin-only upozorenje (rezervni sadržaj) - nikad se ne prikazuje posjetitelju. */
.md-admin-warning {
    display: block; margin: 0 0 24px; padding: 12px 18px;
    font-family: var(--font-body); font-size: 14px; font-weight: 500; line-height: 1.5;
    color: #8A5A00; background: rgba(232, 163, 61, .12);
    border: 1px dashed rgba(232, 163, 61, .6); border-radius: var(--radius);
}
.md-admin-warning strong { font-weight: 700; }
.md-admin-warning em { font-style: normal; font-weight: 700; }

/* =====================================================
   10. WP CORE / MISC
===================================================== */
.alignwide { max-width: var(--container); }
.wp-caption { max-width: 100%; }
.entry-content a { color: var(--red); text-decoration: underline; }

.default-page { padding: 140px 0 80px; }
.default-page .entry-title { font-size: 40px; margin-bottom: 24px; }

/* =====================================================
   11. CONTACT FORM 7

   Forma se ubacuje shortcodeom s html_class="contact-form", pa postojeci
   .contact-form stilovi (labele, inputi, textarea, .form-row, .form-field)
   rade nepromijenjeni - descendant selektori hvataju i CF7 markup.
   Ovdje je SAMO ono sto CF7 donosi, a tema ne poznaje.

   Napomena o specificnosti: CF7 vlastite stilove pise kao
   `.wpcf7 form .wpcf7-response-output` (0,2,1) i `.wpcf7-spinner` (0,1,0).
   Redoslijed enqueuea nije zajamcen, pa su selektori ispod namjerno
   specificniji umjesto da se oslanjaju na "dolazi kasnije u fajlu".
===================================================== */

/* CF7 omata svako polje u <span> - inline element bi razbio .form-row grid. */
.contact-form .wpcf7-form-control-wrap { display: block; }

/* Honeypot: .hp-field vadi input iz toka, ali CF7 wrapper <span> ostaje -
   vadimo i njega da ne ostavi prazan blok izmedu polja. */
.contact-form .wpcf7-form-control-wrap[data-name="md-web"] {
    position: absolute !important; left: -9999px !important;
    width: 1px; height: 1px; opacity: 0;
}

/* Inline validacijska greska ispod polja. */
.contact-form .wpcf7-not-valid-tip {
    display: block; font-size: 13px; font-weight: 600;
    color: var(--red); margin-top: 7px;
}
.contact-form input.wpcf7-not-valid,
.contact-form textarea.wpcf7-not-valid { border-color: var(--red); }

/* Poruka nakon slanja - vizualno identicna postojecem .form-notice. */
.wpcf7 form.contact-form .wpcf7-response-output {
    display: block; font-size: 15px; font-weight: 600; line-height: 1.5;
    padding: 14px 20px; border-radius: 12px; margin: 24px 0 0;
    border: 0;
}
.wpcf7 form.contact-form.sent .wpcf7-response-output {
    background: rgba(14, 122, 61, .08); color: #0E7A3D;
}
.wpcf7 form.contact-form.invalid .wpcf7-response-output,
.wpcf7 form.contact-form.failed .wpcf7-response-output,
.wpcf7 form.contact-form.spam .wpcf7-response-output,
.wpcf7 form.contact-form.unaccepted .wpcf7-response-output,
.wpcf7 form.contact-form.aborted .wpcf7-response-output {
    background: rgba(200, 16, 46, .08); color: var(--red);
}

/* Spinner stoji uz gumb, ne ispod njega. */
.contact-form .form-submit { display: flex; align-items: center; gap: 12px; }
.contact-form .wpcf7-spinner { margin: 0; }

/*
   Submit gumb.
   <input type="submit"> ne moze imati dijete, pa md_icon('send') ide kao
   background-image (data-URI, stroke #fff, isti path kao u inc/helpers.php).
   VAZNO: background-color i background-image su namjerno ODVOJENI - .btn-primary
   koristi `background:` shorthand koji bi obrisao background-image. Isto vrijedi
   za :hover, zato i on postavlja samo background-color.
*/
.contact-form input[type="submit"] {
    display: inline-flex; align-items: center; justify-content: center;
    font-family: var(--font-body); font-weight: 700; font-size: 16px; line-height: 1;
    padding: 16px 32px 16px 54px;
    border: 0; border-radius: 999px; cursor: pointer;
    color: #fff;
    background-color: var(--red);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m22 2-7 20-4-9-9-4Z'/%3E%3Cpath d='M22 2 11 13'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: 20px center;
    background-size: 18px 18px;
    box-shadow: 0 8px 24px rgba(200, 16, 46, .32);
    transition: background-color .25s ease, box-shadow .25s ease, transform .25s ease;
}
.contact-form input[type="submit"]:hover {
    background-color: var(--red-dark);
    box-shadow: 0 10px 30px rgba(200, 16, 46, .42);
    transform: translateY(-2px);
}
/* Postojeci `.contact-form input:focus` (0,2,1) gada i submit i zamijenio bi
   mu sjenu crvenim prstenom za tekstualna polja - vracamo izgled gumba. */
.contact-form input[type="submit"]:focus {
    box-shadow: 0 8px 24px rgba(200, 16, 46, .32);
}
.contact-form input[type="submit"]:focus-visible {
    outline: 3px solid rgba(200, 16, 46, .35); outline-offset: 2px;
}
.contact-form input[type="submit"]:disabled { opacity: .6; cursor: default; transform: none; }
