/*
Theme Name: TRIVA — Knjigovodstvo
Theme URI: https://www.triva.hr/
Author: TRIVA
Author URI: https://www.triva.hr/
Description: Jednostranicna (one-page) tema za TRIVA — knjigovodstvo, administracija i savjetovanje. Dvojezicno HR/EN, ugradeni SEO i lokalni (GEO) structured data. Sadrzaj (kontakt, drustvene mreze, hero, cijene) ureduje se kroz Izgled -> Prilagodi -> TRIVA.
Version: 3.7.0
Requires at least: 5.8
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: triva
*/

/* ============================================================
   TRIVA — premium editorial one-pager
   Brand: teal (#01bbae) + deep teal (#015550) + ink navy
   Type:  Newsreader (display serif) + Hanken Grotesk (UI)
   ============================================================ */

:root {
  --ink:      #18272f;
  --ink-soft: #243643;
  --muted:    #5d6b73;
  --faint:    #8a969d;
  --deep:     #015550;
  --teal:     #01bbae;
  --teal-ink: #0a7c74;
  --line:     #e2eae8;
  --line-2:   #d3dedb;
  --paper:    #f4f8f6;
  --paper-2:  #eef4f2;
  --white:    #ffffff;
  --shell:    #0e2128;
  --shell-2:  #15303a;
  --gold:     #c9a24b;

  --tint-teal: rgba(1,187,174,.10);
  --tint-deep: rgba(1,85,80,.08);

  --shadow-sm: 0 2px 14px rgba(20,40,48,.05);
  --shadow:    0 24px 60px -28px rgba(16,33,40,.34);
  --shadow-lg: 0 40px 90px -40px rgba(16,33,40,.45);

  --r-sm: 10px;
  --r:    16px;
  --r-lg: 26px;
  --maxw: 1200px;

  --serif: "Newsreader", Georgia, "Times New Roman", serif;
  --sans:  "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
html, body { overflow-x: hidden; max-width: 100%; }
html:focus-within { scroll-padding-top: 96px; }

body {
  margin: 0;
  font-family: var(--sans);
  background: var(--paper);
  color: var(--ink);
  line-height: 1.62;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-wrap: break-word;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--deep); text-decoration: none; }

/* ---- language visibility ---- */
[data-lang] { display: none; }
/* [lang|="hr"] hvata i "hr" i "hr-HR" (WP language_attributes), pa ispravan
   jezik radi i prije nego se učita JS — bez prikaza obje verzije. */
html[lang|="hr"] [data-lang="hr"],
html:not([lang]) [data-lang="hr"] { display: revert; }
html[lang|="en"] [data-lang="en"] { display: revert; }
/* robust hide: must beat component classes that set their own display
   (e.g. .eyebrow{display:flex}). The inactive language is always hidden. */
html[lang|="hr"] [data-lang="en"],
html:not([lang]) [data-lang="en"],
html[lang|="en"] [data-lang="hr"] { display: none !important; }

/* ---- layout helpers ---- */
.wrap { width: min(var(--maxw), 100% - 48px); margin-inline: auto; }
.narrow { max-width: 860px; }
section { position: relative; }
.eyebrow {
  font-family: var(--sans);
  font-size: .74rem;
  font-weight: 800;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--teal-ink);
  margin: 0 0 18px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.eyebrow::before {
  content: "";
  width: 26px; height: 1px;
  background: var(--teal);
  display: inline-block;
}
.eyebrow.center { justify-content: center; }

h1, h2, h3 { font-family: var(--serif); font-weight: 500; color: var(--ink); margin: 0; line-height: 1.08; letter-spacing: -.012em; }
h1 { font-size: clamp(2.6rem, 6vw, 4.4rem); font-weight: 400; }
h2 { font-size: clamp(2rem, 4vw, 3.05rem); font-weight: 400; }
h3 { font-size: 1.3rem; }
em, .italic { font-style: italic; }
h1 em, h2 em { color: var(--deep); font-style: italic; }
p { margin: 0 0 1rem; }
.lead { font-size: clamp(1.12rem, 1.7vw, 1.32rem); color: var(--ink-soft); line-height: 1.55; }
.muted { color: var(--muted); }

/* ---- buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 52px;
  padding: 0 1.5rem;
  border-radius: 999px;
  font-family: var(--sans);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: .005em;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform .18s ease, background .18s ease, color .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.btn svg { width: 19px; height: 19px; }
.btn-primary { background: var(--deep); color: #fff; box-shadow: 0 16px 30px -16px rgba(1,85,80,.7); }
.btn-primary:hover { background: var(--ink); transform: translateY(-2px); }
.btn-wa { background: var(--teal); color: #04302d; }
.btn-wa:hover { background: #02d3c4; transform: translateY(-2px); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line-2); }
.btn-ghost:hover { border-color: var(--deep); color: var(--deep); transform: translateY(-2px); }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: var(--paper); transform: translateY(-2px); }
.btn-sm { min-height: 44px; padding: 0 1.1rem; font-size: .92rem; }

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(244,248,246,.82);
  backdrop-filter: blur(16px) saturate(1.4);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px; min-height: 78px;
}
.brand { display: flex; align-items: baseline; gap: 11px; text-decoration: none; white-space: nowrap; }
.brand .mark {
  font-family: var(--serif);
  font-size: 1.7rem; font-weight: 600; letter-spacing: .02em;
  color: var(--ink);
}
.brand .dot { color: var(--teal); }
.brand .tag {
  font-size: .68rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: var(--faint);
}
.nav { display: flex; align-items: center; gap: 30px; }
.nav-links { display: flex; gap: 26px; list-style: none; margin: 0; padding: 0; }
.nav-links a {
  font-size: .95rem; font-weight: 600; color: var(--ink-soft);
  position: relative; padding: 4px 0; white-space: nowrap;
}
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 0;
  background: var(--teal); transition: width .22s ease;
}
.nav-links a:hover { color: var(--deep); }
.nav-links a:hover::after { width: 100%; }

.header-actions { display: flex; align-items: center; gap: 14px; }
.lang-switch {
  display: inline-flex; align-items: center;
  border: 1px solid var(--line-2); border-radius: 999px; overflow: hidden;
  background: #fff;
}
.lang-switch button {
  border: none; background: transparent; cursor: pointer;
  font-family: var(--sans); font-weight: 700; font-size: .82rem; letter-spacing: .04em;
  padding: 7px 13px; color: var(--faint); transition: color .15s, background .15s;
}
.lang-switch button.active { background: var(--ink); color: #fff; }

.menu-toggle { display: none; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  padding: clamp(56px, 8vw, 104px) 0 clamp(60px, 8vw, 110px);
  background:
    radial-gradient(60% 80% at 88% 0%, rgba(1,187,174,.13), transparent 60%),
    radial-gradient(50% 60% at 0% 100%, rgba(1,85,80,.07), transparent 60%),
    var(--paper);
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(330px, .92fr);
  gap: clamp(36px, 5vw, 76px);
  align-items: center;
}
.hero h1 { margin-bottom: 26px; }
.hero .lead { max-width: 33ch; margin-bottom: 34px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 13px; margin-bottom: 30px; }
.hero-meta {
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px;
  padding-top: 26px; border-top: 1px solid var(--line);
  font-size: .92rem; color: var(--muted); font-weight: 500;
}
.hero-meta b { color: var(--ink); font-weight: 700; }
.hero-meta .sep { width: 4px; height: 4px; border-radius: 50%; background: var(--teal); }

/* hero photo */
.hero-photo-wrap { position: relative; }
.hero-photo-frame {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: #dde7e4;
  aspect-ratio: 4 / 5;
  isolation: isolate;
}
.hero-photo-frame::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(14,33,40,.42));
  z-index: 1;
}
.hero-photo-frame img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.photo-tag {
  position: absolute; left: 18px; bottom: 18px; z-index: 2;
  color: #fff;
}
.photo-tag .nm { font-family: var(--serif); font-size: 1.18rem; line-height: 1.1; }
.photo-tag .rl { font-size: .76rem; letter-spacing: .12em; text-transform: uppercase; opacity: .85; margin-top: 3px; }
.hero-badge {
  position: absolute; top: 20px; left: -16px; z-index: 3;
  background: var(--white); border: 1px solid var(--line);
  border-radius: 14px; padding: 12px 16px; box-shadow: var(--shadow-sm);
  display: flex; align-items: center; gap: 11px;
}
.hero-badge .ic {
  width: 40px; height: 40px; border-radius: 11px; flex: none;
  background: var(--tint-teal); color: var(--deep);
  display: grid; place-items: center;
}
.hero-badge .ic svg { width: 21px; height: 21px; }
.hero-badge .t { font-weight: 800; font-size: .92rem; line-height: 1.1; }
.hero-badge .s { font-size: .76rem; color: var(--muted); }

/* ============================================================
   GENERIC SECTION
   ============================================================ */
.section { padding: clamp(64px, 9vw, 116px) 0; }
.section.alt { background: var(--white); }
.section.paper2 { background: var(--paper-2); }
.section-head { max-width: 720px; margin-bottom: clamp(36px, 5vw, 60px); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head p { color: var(--muted); margin: 16px 0 0; font-size: 1.06rem; }
.head-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 28px; flex-wrap: wrap; margin-bottom: clamp(34px, 5vw, 56px); }
.head-row .section-head { margin-bottom: 0; }

/* ============================================================
   ABOUT
   ============================================================ */
.about-grid {
  display: grid; grid-template-columns: minmax(0,.82fr) minmax(0,1.18fr);
  gap: clamp(34px, 5vw, 72px); align-items: center;
}
.about-photo {
  border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow);
  aspect-ratio: 4/5; background: #dde7e4;
}
.about-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 22%; }
/* branded editorial panel (replaces duplicate photo) */
.about-visual {
  position: relative;
  border-radius: var(--r-lg);
  padding: 40px 36px;
  background: linear-gradient(158deg, var(--shell) 0%, var(--shell-2) 100%);
  color: #fff;
  box-shadow: var(--shadow);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 28px;
  min-height: 440px;
}
.about-visual::before {
  content: "";
  position: absolute; right: -90px; top: -90px;
  width: 280px; height: 280px; border-radius: 50%;
  background: radial-gradient(circle, rgba(1,187,174,.32), transparent 68%);
}
.av-monogram {
  font-family: var(--serif);
  font-size: clamp(3.4rem, 7vw, 4.8rem);
  line-height: 1; letter-spacing: -.01em; font-weight: 500;
  display: flex; align-items: baseline; white-space: nowrap;
}
.av-monogram .av-tri { color: #fff; }
.av-monogram .av-va { color: var(--teal); font-style: italic; }
.av-legend { display: flex; flex-direction: column; gap: 12px; }
.av-row { display: flex; align-items: baseline; gap: 14px; }
.av-row .av-k {
  font-family: var(--serif); font-weight: 600; font-size: 1.05rem;
  color: var(--teal); min-width: 42px;
}
.av-row .av-v { color: rgba(255,255,255,.78); font-size: .98rem; }
.av-quote {
  margin: auto 0 0; padding-top: 26px;
  border-top: 1px solid rgba(255,255,255,.14);
}
.av-quote p {
  font-family: var(--serif); font-style: italic; font-size: 1.32rem; line-height: 1.4;
  color: #fff; margin: 0 0 14px; letter-spacing: -.005em;
}
.av-quote cite {
  font-style: normal; font-size: .86rem; letter-spacing: .06em; text-transform: uppercase;
  color: rgba(255,255,255,.55);
}
.about-copy h2 { margin-bottom: 22px; }
.about-copy p { color: var(--ink-soft); margin-bottom: 18px; }
.values { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; margin: 30px 0 8px; }
.value {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--r);
  padding: 20px 18px;
}
.value .n { font-family: var(--serif); font-size: 1.5rem; color: var(--deep); }
.value h3 { font-size: 1.05rem; margin: 8px 0 5px; font-family: var(--sans); font-weight: 800; letter-spacing: .01em; }
.value p { font-size: .92rem; color: var(--muted); margin: 0; line-height: 1.5; }
.geo-inline { font-size: .95rem; color: var(--muted); margin-top: 22px; }
.geo-inline b { color: var(--ink); }

/* ============================================================
   SERVICES
   ============================================================ */
.svc-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
.svc-card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 32px 28px 28px; display: flex; flex-direction: column;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.svc-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.svc-num {
  font-family: var(--serif); font-size: 2.1rem; color: var(--teal-ink);
  line-height: 1; margin-bottom: 16px; font-weight: 400;
}
.svc-card h3 { margin-bottom: 11px; font-size: 1.32rem; }
.svc-card > p { color: var(--muted); font-size: .96rem; margin-bottom: 16px; }
.svc-list { list-style: none; margin: 0 0 20px; padding: 0; }
.svc-list li {
  position: relative; padding: 6px 0 6px 20px; font-size: .9rem; color: var(--ink-soft);
  border-top: 1px solid var(--line);
}
.svc-list li:first-child { border-top: none; }
.svc-list li::before {
  content: ""; position: absolute; left: 2px; top: 14px;
  width: 6px; height: 6px; border-radius: 50%; background: var(--teal);
}
.svc-price {
  margin-top: auto; font-weight: 800; color: var(--deep); font-size: 1rem;
  padding-top: 16px; border-top: 1px solid var(--line);
}
.svc-price span { font-weight: 500; color: var(--faint); font-size: .82rem; }

/* ============================================================
   PRICING / CJENIK
   ============================================================ */
.pak-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; align-items: start; }
.pak {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 28px 24px; display: flex; flex-direction: column; position: relative;
  transition: transform .2s ease, box-shadow .2s ease;
}
.pak:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.pak.feat { border-color: var(--deep); box-shadow: var(--shadow); }
.pak-badge {
  position: absolute; top: -12px; left: 24px;
  background: var(--deep); color: #fff; font-size: .68rem; font-weight: 800;
  letter-spacing: .12em; text-transform: uppercase; padding: 5px 12px; border-radius: 999px;
}
.pak-tag { font-size: .72rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--teal-ink); }
.pak h3 { font-family: var(--sans); font-weight: 800; font-size: 1.45rem; letter-spacing: .02em; margin: 8px 0 6px; }
.pak-price { font-family: var(--serif); font-size: 1.9rem; color: var(--deep); margin: 4px 0 16px; }
.pak-price span { font-family: var(--sans); font-size: .82rem; color: var(--faint); font-weight: 500; }
.pak-list { list-style: none; margin: 0 0 22px; padding: 0; flex: 1; }
.pak-list li { position: relative; padding: 7px 0 7px 24px; font-size: .9rem; color: var(--ink-soft); }
.pak-list li::before {
  content: ""; position: absolute; left: 0; top: 12px; width: 12px; height: 7px;
  border-left: 2px solid var(--teal); border-bottom: 2px solid var(--teal);
  transform: rotate(-45deg);
}
.price-strip {
  display: flex; flex-wrap: wrap; gap: 10px 14px; align-items: center;
  margin-top: 28px; padding: 20px 24px;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--r);
  font-size: .94rem; color: var(--ink-soft);
}
.price-strip b { color: var(--deep); }
.price-strip .chip-sep { width: 4px; height: 4px; border-radius: 50%; background: var(--line-2); }
.price-note { font-size: .86rem; color: var(--faint); margin-top: 16px; }

/* ============================================================
   GEO
   ============================================================ */
.geo-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
.geo-card {
  border: 1px solid rgba(255,255,255,.14); border-radius: var(--r-lg);
  padding: 30px 26px; background: rgba(255,255,255,.03);
}
.geo-card .gn { font-family: var(--serif); font-size: 1rem; color: var(--teal); margin-bottom: 14px; display:flex; gap:10px; align-items:center; }
.geo-card .gn::before { content:""; width: 9px; height: 9px; border-radius: 50%; border: 2px solid var(--teal); }
.geo-card h3 { color: #fff; margin-bottom: 12px; font-size: 1.5rem; }
.geo-card p { color: rgba(255,255,255,.72); font-size: .96rem; margin: 0; }

/* ============================================================
   CLIENTS
   ============================================================ */
.client-row { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1.3fr); gap: 18px; align-items: stretch; }
.client-card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 32px; display: flex; flex-direction: column; gap: 18px;
}
.client-logo {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r);
  min-height: 140px; display: grid; place-items: center; padding: 24px;
}
.client-logo img { max-height: 84px; width: auto; }
.client-card h3 { font-size: 1.3rem; }
.client-card p { color: var(--muted); font-size: .98rem; margin: 0; }
.client-card .lnk { font-weight: 700; color: var(--deep); display: inline-flex; gap: 6px; align-items: center; }
.client-note {
  background: linear-gradient(150deg, var(--shell), var(--shell-2));
  color: #fff; border-radius: var(--r-lg); padding: 38px;
  display: flex; flex-direction: column; justify-content: center;
}
.client-note .eyebrow { color: var(--teal); }
.client-note h3 { color: #fff; font-size: 1.7rem; margin-bottom: 14px; }
.client-note p { color: rgba(255,255,255,.74); margin: 0; }

/* ============================================================
   FAQ
   ============================================================ */
.faq { max-width: 860px; margin-inline: auto; }
.faq details {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r);
  padding: 4px 24px; margin-bottom: 12px; transition: box-shadow .2s, border-color .2s;
}
.faq details[open] { box-shadow: var(--shadow-sm); border-color: var(--line-2); }
.faq summary {
  list-style: none; cursor: pointer; font-weight: 700; font-size: 1.08rem;
  padding: 18px 36px 18px 0; position: relative; color: var(--ink);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 2px; top: 50%; transform: translateY(-50%);
  font-size: 1.5rem; color: var(--teal-ink); font-weight: 400; transition: transform .2s;
}
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { color: var(--muted); margin: 0 0 18px; font-size: .98rem; }

/* ============================================================
   CONTACT
   ============================================================ */
.contact { background: linear-gradient(160deg, var(--shell) 0%, #0a1a20 100%); color: #fff; }
.contact-grid { display: grid; grid-template-columns: minmax(0,1.05fr) minmax(0,.95fr); gap: clamp(36px,5vw,72px); align-items: center; }
.contact .eyebrow { color: var(--teal); }
.contact h2 { color: #fff; margin-bottom: 18px; }
.contact h2 em { color: var(--teal); }
.contact-lead { color: rgba(255,255,255,.76); font-size: 1.12rem; max-width: 44ch; margin-bottom: 30px; }
.contact-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 26px; }
.contact-social { display: flex; gap: 12px; }
.contact-social a {
  width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center;
  border: 1px solid rgba(255,255,255,.18); color: #fff; transition: background .18s, border-color .18s, transform .18s;
}
.contact-social a:hover { background: var(--teal); border-color: var(--teal); color: #04302d; transform: translateY(-2px); }
.contact-social svg { width: 21px; height: 21px; }

.contact-card {
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--r-lg); padding: 34px;
}
.cinfo { display: flex; gap: 16px; padding: 18px 0; border-bottom: 1px solid rgba(255,255,255,.1); }
.cinfo:last-child { border-bottom: none; }
.cinfo .ic { width: 42px; height: 42px; border-radius: 11px; background: rgba(1,187,174,.16); color: var(--teal); display: grid; place-items: center; flex: none; }
.cinfo .ic svg { width: 20px; height: 20px; }
.cinfo .lbl { font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.55); margin-bottom: 3px; }
.cinfo .val { font-size: 1.05rem; color: #fff; font-weight: 600; }
.cinfo .val a { color: #fff; }
.cinfo .val a:hover { color: var(--teal); }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { background: #0a181d; color: rgba(255,255,255,.66); padding: 56px 0 26px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 40px; padding-bottom: 36px; border-bottom: 1px solid rgba(255,255,255,.08); }
.footer-brand .mark { font-family: var(--serif); font-size: 1.6rem; color: #fff; }
.footer-brand .mark .dot { color: var(--teal); }
.footer-brand p { font-size: .9rem; margin: 10px 0; max-width: 36ch; }
.footer-brand address { font-style: normal; font-size: .9rem; line-height: 1.7; }
.footer-brand a { color: rgba(255,255,255,.78); }
.footer-brand a:hover { color: #fff; }
.footer-col h4 { font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.45); margin: 0 0 16px; font-family: var(--sans); font-weight: 800; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.footer-col a { color: rgba(255,255,255,.66); font-size: .92rem; }
.footer-col a:hover { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; padding-top: 22px; font-size: .82rem; color: rgba(255,255,255,.4); }
.footer-bottom .seo-note { max-width: 60ch; line-height: 1.5; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1000px) {
  .hero-grid { grid-template-columns: 1fr; gap: 44px; }
  .hero-photo-wrap { max-width: 440px; }
  .about-grid { grid-template-columns: 1fr; }
  .about-photo { max-width: 460px; }
  .svc-grid { grid-template-columns: repeat(2,1fr); }
  .pak-grid { grid-template-columns: repeat(2,1fr); }
  .geo-grid { grid-template-columns: 1fr; }
  .client-row { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
/* tighten header before the mobile menu kicks in */
@media (max-width: 920px) {
  .brand .tag { display: none; }
  .nav { gap: 18px; }
  .nav-links { gap: 18px; }
  .header-actions { gap: 9px; }
}
@media (max-width: 460px) {
  .header-inner { gap: 8px; }
  .header-actions { gap: 6px; }
  .btn-sm.header-call span { display: none; }
  .btn-sm.header-call { padding: 0 .8rem; }
  .lang-switch button { padding: 6px 9px; }
}
@media (max-width: 760px) {
  .nav-links { display: none; }
  .menu-toggle {
    display: inline-flex; align-items: center; justify-content: center;
    width: 46px; height: 46px; border-radius: 12px; border: 1px solid var(--line-2);
    background: #fff; cursor: pointer;
  }
  .menu-toggle svg { width: 22px; height: 22px; color: var(--ink); }
  .nav.open .nav-links {
    display: flex; flex-direction: column; gap: 4px;
    position: absolute; top: 78px; left: 0; right: 0;
    background: var(--white); border-bottom: 1px solid var(--line);
    padding: 14px 24px 20px; box-shadow: var(--shadow);
  }
  .nav.open .nav-links a { padding: 12px 0; font-size: 1.05rem; border-bottom: 1px solid var(--line); }
  .svc-grid { grid-template-columns: 1fr; }
  .pak-grid { grid-template-columns: 1fr; }
  .values { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .hero-badge { left: 0; }
  body { font-size: 16px; }
  .btn { width: 100%; }
  .hero-cta .btn, .contact-cta .btn { flex: 1 1 100%; }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
}

/* reveal on scroll */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } }


/* ============================================================
   BLOG / INNER PAGES
   ============================================================ */
.triva-inner { background: var(--paper); }

.page-hero {
  background:
    radial-gradient(60% 90% at 88% 0%, rgba(1,187,174,.12), transparent 60%),
    var(--white);
  border-bottom: 1px solid var(--line);
  padding: clamp(48px, 7vw, 88px) 0 clamp(40px, 5vw, 60px);
}
.page-hero h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); margin-top: 8px; }
.page-hero-lead { color: var(--muted); font-size: 1.12rem; max-width: 60ch; margin: 16px 0 0; }

.blog-main { padding: clamp(44px, 6vw, 80px) 0 clamp(56px, 8vw, 100px); min-height: 50vh; }
.blog-empty { color: var(--muted); font-size: 1.1rem; }

/* post list */
.post-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px; }
.post-card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg);
  overflow: hidden; display: flex; flex-direction: column;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.post-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.post-card-link { display: block; }
.post-card-thumb {
  aspect-ratio: 16 / 9; background: linear-gradient(150deg, var(--shell), var(--shell-2));
  display: grid; place-items: center; overflow: hidden;
}
.post-card-thumb img { width: 100%; height: 100%; object-fit: cover; }
.post-card-mark { font-family: var(--serif); font-size: 2rem; color: #fff; opacity: .85; }
.post-card-mark .dot { color: var(--teal); }
.post-card-body { padding: 24px 26px 26px; display: flex; flex-direction: column; flex: 1; }
.post-meta {
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
  font-size: .82rem; color: var(--faint); font-weight: 600;
  text-transform: uppercase; letter-spacing: .06em; margin-bottom: 12px;
}
.post-meta.center { justify-content: center; }
.post-meta a { color: var(--teal-ink); }
.post-cat a { color: var(--teal-ink); }
.post-dot { width: 4px; height: 4px; border-radius: 50%; background: var(--line-2); }
.post-card-title { font-size: 1.4rem; line-height: 1.18; margin-bottom: 10px; }
.post-card-title a { color: var(--ink); }
.post-card-title a:hover { color: var(--deep); }
.post-card-excerpt { color: var(--muted); font-size: .96rem; margin-bottom: 18px; }
.post-card-more {
  margin-top: auto; display: inline-flex; align-items: center; gap: 7px;
  font-weight: 700; color: var(--deep); font-size: .92rem;
}
.post-card-more:hover { gap: 11px; }

/* pagination */
.triva-pagination { margin-top: 48px; }
.triva-pagination .page-numbers {
  list-style: none; display: flex; gap: 8px; justify-content: center; padding: 0; margin: 0; flex-wrap: wrap;
}
.triva-pagination .page-numbers li a,
.triva-pagination .page-numbers li span {
  display: grid; place-items: center; min-width: 44px; height: 44px; padding: 0 12px;
  border: 1px solid var(--line-2); border-radius: 12px; background: var(--white);
  font-weight: 700; color: var(--ink-soft); text-decoration: none; transition: all .15s ease;
}
.triva-pagination .page-numbers li a:hover { border-color: var(--deep); color: var(--deep); }
.triva-pagination .page-numbers li .current { background: var(--ink); color: #fff; border-color: var(--ink); }

/* single / page */
.single-article { padding-bottom: clamp(40px, 6vw, 72px); }
.article-hero {
  background:
    radial-gradient(60% 90% at 88% 0%, rgba(1,187,174,.12), transparent 60%),
    var(--white);
  border-bottom: 1px solid var(--line);
  padding: clamp(44px, 6vw, 84px) 0 clamp(34px, 4vw, 52px);
  text-align: center;
}
.article-title { font-size: clamp(2.1rem, 4.6vw, 3.4rem); margin-top: 10px; }
.article-cover {
  margin: clamp(28px, 4vw, 48px) auto 0; border-radius: var(--r-lg); overflow: hidden;
  box-shadow: var(--shadow); max-height: 520px;
}
.article-cover img { width: 100%; height: 100%; object-fit: cover; }

.entry-content {
  padding-top: clamp(32px, 4vw, 52px);
  font-size: 1.12rem; line-height: 1.75; color: var(--ink-soft);
}
.entry-content > * + * { margin-top: 1.25em; }
.entry-content h2 { font-size: 1.9rem; margin-top: 1.6em; }
.entry-content h3 { font-size: 1.4rem; font-family: var(--serif); font-weight: 500; margin-top: 1.5em; }
.entry-content a { color: var(--deep); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.entry-content a:hover { color: var(--teal-ink); }
.entry-content img { border-radius: var(--r); margin-inline: auto; }
.entry-content blockquote {
  border-left: 3px solid var(--teal); margin: 1.6em 0; padding: 4px 0 4px 24px;
  font-family: var(--serif); font-style: italic; font-size: 1.3rem; color: var(--ink);
}
.entry-content ul, .entry-content ol { padding-left: 1.3em; }
.entry-content li { margin: .4em 0; }
.entry-content code {
  background: var(--paper-2); padding: 2px 7px; border-radius: 6px; font-size: .9em;
}
.entry-content pre {
  background: var(--shell); color: #e8f0ee; padding: 20px; border-radius: var(--r); overflow: auto;
}
.entry-content figure { margin: 1.6em 0; }
.entry-content figcaption { font-size: .86rem; color: var(--faint); text-align: center; margin-top: 8px; }

.article-tags { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 40px; }
.article-tags a {
  font-size: .82rem; font-weight: 600; color: var(--ink-soft);
  background: var(--paper-2); border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px;
}
.article-tags a:hover { border-color: var(--deep); color: var(--deep); }

.article-cta {
  margin-top: 48px; padding: 30px 34px; border-radius: var(--r-lg);
  background: linear-gradient(150deg, var(--shell), var(--shell-2)); color: #fff;
  display: flex; align-items: center; justify-content: space-between; gap: 22px; flex-wrap: wrap;
}
.article-cta .eyebrow { color: var(--teal); margin-bottom: 8px; }
.article-cta h3 { color: #fff; font-size: 1.5rem; }

.post-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 44px; }
.post-nav-link {
  border: 1px solid var(--line); border-radius: var(--r); padding: 18px 22px; background: var(--white);
  display: flex; flex-direction: column; gap: 6px; transition: border-color .2s, transform .2s;
}
.post-nav-link:hover { border-color: var(--deep); transform: translateY(-2px); }
.post-nav-link.next { text-align: right; }
.post-nav-link span { font-size: .8rem; color: var(--faint); font-weight: 600; text-transform: uppercase; letter-spacing: .06em; }
.post-nav-link strong { color: var(--ink); font-family: var(--serif); font-weight: 500; font-size: 1.08rem; }

/* search form */
.triva-search { display: flex; gap: 8px; }
.triva-search-input {
  flex: 1; min-height: 50px; padding: 0 18px; border: 1px solid var(--line-2);
  border-radius: 999px; font-family: var(--sans); font-size: 1rem; background: var(--white); color: var(--ink);
}
.triva-search-input:focus { outline: none; border-color: var(--deep); box-shadow: 0 0 0 3px var(--tint-teal); }
.triva-search-btn {
  width: 50px; height: 50px; border-radius: 50%; border: none; background: var(--deep); color: #fff;
  display: grid; place-items: center; cursor: pointer; flex: none; transition: background .15s;
}
.triva-search-btn:hover { background: var(--ink); }
.search-bar { margin-bottom: 36px; max-width: 520px; }

/* comments */
.comments-area { margin-top: 56px; padding-top: 40px; border-top: 1px solid var(--line); }
.comments-title { font-size: 1.5rem; margin-bottom: 24px; }
.comment-list { list-style: none; padding: 0; margin: 0 0 36px; }
.comment-list ol { list-style: none; }
.comment-body { padding: 18px 0; border-bottom: 1px solid var(--line); }
.comment-author { font-weight: 700; }
.comment-author .says { display: none; }
.comment-meta { font-size: .82rem; color: var(--faint); margin-bottom: 8px; }
.comment-meta a { color: var(--faint); }
.comment-respond { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 30px; }
.comment-form input[type=text], .comment-form input[type=email], .comment-form input[type=url], .comment-form textarea {
  width: 100%; padding: 12px 16px; border: 1px solid var(--line-2); border-radius: var(--r-sm);
  font-family: var(--sans); font-size: 1rem; margin-top: 6px; background: var(--paper);
}
.comment-form textarea:focus, .comment-form input:focus { outline: none; border-color: var(--deep); }
.comment-form p { margin-bottom: 16px; }
.comment-reply-link { font-weight: 700; color: var(--deep); font-size: .88rem; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

@media (max-width: 760px) {
  .post-list { grid-template-columns: 1fr; }
  .post-nav { grid-template-columns: 1fr; }
  .post-nav-link.next { text-align: left; }
  .article-cta { flex-direction: column; align-items: flex-start; }
}

/* ============================================================
   BOOKING / KONZULTACIJA
   ============================================================ */
.booking-grid { display: grid; grid-template-columns: minmax(0,.92fr) minmax(0,1.08fr); gap: clamp(32px,5vw,64px); align-items: start; }
.booking-intro h2 { margin: 6px 0 18px; }
.booking-intro .lead { color: var(--ink-soft); margin-bottom: 26px; }
.booking-points { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.booking-points li { position: relative; padding-left: 34px; color: var(--ink-soft); font-weight: 500; }
.booking-points li::before {
  content: ""; position: absolute; left: 0; top: 1px; width: 22px; height: 22px; border-radius: 50%;
  background: var(--tint-teal) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23015550' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 13px no-repeat;
}
.trust-line { display: flex; align-items: center; gap: 14px; margin-top: 30px; padding-top: 24px; border-top: 1px solid var(--line); }
.trust-line .tl-av {
  width: 46px; height: 46px; border-radius: 50%; flex: none;
  background: linear-gradient(150deg, var(--shell), var(--shell-2)); color: var(--teal);
  display: grid; place-items: center; font-family: var(--serif); font-size: 1.15rem;
}
.trust-line .tl-txt { font-size: .92rem; color: var(--muted); margin: 0; }
.trust-line .tl-txt b { color: var(--ink); font-weight: 700; }

.booking-form {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg);
  box-shadow: var(--shadow); overflow: hidden;
}
.bf-head {
  background: linear-gradient(158deg, var(--shell), var(--shell-2));
  padding: 26px clamp(22px,3vw,36px); color: #fff; display: flex; align-items: center; gap: 16px;
}
.bf-head .bf-ic {
  width: 46px; height: 46px; border-radius: 13px; flex: none;
  background: rgba(1,187,174,.18); color: var(--teal); display: grid; place-items: center;
}
.bf-head .bf-ic svg { width: 23px; height: 23px; }
.bf-head h3 { font-family: var(--serif); font-weight: 500; font-size: 1.5rem; margin: 0; line-height: 1.1; color: #fff; }
.bf-head p { margin: 3px 0 0; font-size: .9rem; color: rgba(255,255,255,.72); }
.bf-body { padding: clamp(24px,3vw,36px); }
.bf-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-bottom: 18px; }
.bf-field { display: flex; flex-direction: column; gap: 8px; margin-bottom: 18px; }
.bf-field > span:not(.bf-input) { font-size: .8rem; font-weight: 700; color: var(--ink-soft); letter-spacing: .01em; }
.bf-field .req { color: var(--teal-ink); font-style: normal; }
.bf-input { position: relative; display: flex; align-items: center; }
.bf-input > svg { position: absolute; left: 14px; width: 18px; height: 18px; color: var(--faint); pointer-events: none; }
.bf-field input, .bf-field select, .bf-field textarea {
  width: 100%; padding: 13px 14px; border: 1.5px solid var(--line-2); border-radius: var(--r-sm);
  font-family: var(--sans); font-size: 1rem; background: var(--paper); color: var(--ink); transition: border-color .15s, box-shadow .15s, background .15s;
}
.bf-input input { padding-left: 42px; }
.bf-field select {
  appearance: none; -webkit-appearance: none; cursor: pointer; padding-right: 40px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%235d6b73' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 13px center;
}
.bf-field input:focus, .bf-field select:focus, .bf-field textarea:focus {
  outline: none; border-color: var(--deep); box-shadow: 0 0 0 3px var(--tint-teal); background: #fff;
}
.bf-field textarea { resize: vertical; min-height: 96px; }
.bf-row .bf-field { margin-bottom: 0; }
.bf-error { color: #b3261e; font-weight: 600; font-size: .9rem; margin: 16px 0 0; }
.bf-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 22px; }
.bf-actions .btn-primary { flex: 1 1 auto; }
.bf-actions .btn-wa { flex: 0 0 auto; }
.bf-note { font-size: .82rem; color: var(--faint); margin: 18px 0 0; }
@media (max-width: 900px) {
  .booking-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .bf-row { grid-template-columns: 1fr; gap: 0; }
  .bf-row .bf-field { margin-bottom: 18px; }
}

/* ---- contact map ---- */
.contact-map-wrap { margin-top: clamp(28px,4vw,44px); }
.contact-map {
  border-radius: var(--r-lg); overflow: hidden; border: 1px solid rgba(255,255,255,.14);
  box-shadow: var(--shadow); aspect-ratio: 24 / 7; min-height: 240px; background: #0b1c22;
}
.contact-map iframe { display: block; filter: grayscale(.2) contrast(1.05); }
.contact-map-btn { margin-top: 16px; }
@media (max-width: 760px) { .contact-map { aspect-ratio: 4 / 3; } }

/* ---- Landing predložak (lokalni SEO) ---- */
.landing-hero {
  background:
    radial-gradient(60% 90% at 88% 0%, rgba(1,187,174,.14), transparent 60%),
    linear-gradient(180deg, var(--paper-2), var(--paper));
  border-bottom: 1px solid var(--line);
  padding: clamp(40px, 6vw, 80px) 0 clamp(36px, 5vw, 60px);
}
.crumbs { display: flex; align-items: center; gap: 8px; font-size: .9rem; color: var(--faint); margin-bottom: 18px; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--deep); }
.landing-hero h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); line-height: 1.05; margin-top: 8px; max-width: 16ch; }
.landing-sub { color: var(--muted); font-size: clamp(1.05rem, 2vw, 1.25rem); max-width: 58ch; margin: 18px 0 0; line-height: 1.55; }
.landing-hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.landing .article-cover { margin-top: clamp(28px, 4vw, 44px); }
.landing .entry-content { padding-top: clamp(28px, 4vw, 48px); }
.landing-faq { margin-top: clamp(40px, 6vw, 72px); }
.landing-faq h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin: 6px 0 28px; }
