/* ============================================================
   Subpage styles (usluge / o-nama / kontakt)
   ============================================================ */

/* ---- Page hero ---- */
.phero { background: var(--navy); color: #fff; }
.phero-inner { padding-block: clamp(64px, 9vw, 116px) clamp(48px, 6vw, 72px); max-width: 760px; }
.crumbs { font-family: var(--mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.5); margin-bottom: 22px; display: flex; gap: 8px; }
.crumbs a:hover { color: var(--accent); }
.phero h1 { font-size: clamp(36px, 6vw, 70px); letter-spacing: -.03em; color: #fff; }
.phero p { font-size: clamp(17px, 2vw, 21px); color: rgba(255,255,255,.8); margin-top: 22px; text-wrap: pretty; }

/* ---- Service detail rows ---- */
.svc-row { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 76px); align-items: center; padding-block: clamp(48px, 7vw, 92px); border-bottom: 1px solid var(--line); }
.svc-row:last-child { border-bottom: 0; }
.svc-row--rev .svc-row-media { order: -1; }
.svc-row-media { aspect-ratio: 4/3; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow); }
.svc-row-media img { width: 100%; height: 100%; object-fit: cover; }
.svc-row-video { aspect-ratio: 16/9; background: #000; }
.svc-row-video iframe { width: 100%; height: 100%; border: 0; display: block; }
.svc-row-text h2 { font-size: clamp(26px, 3.6vw, 40px); margin: 16px 0 16px; }
.svc-row-text > p { color: var(--ink-soft); font-size: 17px; }
@media (max-width: 820px) { .svc-row { grid-template-columns: 1fr; } .svc-row--rev .svc-row-media { order: 0; } }
.svc-row--flush { border-bottom: none; padding-bottom: clamp(28px, 4vw, 48px); }

/* fuel chips */
.fuel-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.fuel-chip { display: inline-flex; align-items: baseline; gap: 9px; background: var(--surface); border: 1px solid var(--line); border-radius: 100px; padding: 9px 16px; font-size: 14px; font-weight: 600; }
.fuel-chip b { font-family: var(--mono); color: var(--accent-strong); }

/* fuel tabs */
.fuel-tabs { margin-top: 30px; }
.fuel-tabs__nav { display: flex; gap: 6px; border-bottom: 1px solid var(--line); margin-bottom: 20px; }
.fuel-tab {
  font-family: var(--sans); font-size: 15px; font-weight: 700;
  color: var(--ink-faint); background: none; border: none; cursor: pointer;
  padding: 12px 4px; margin-bottom: -1px;
  border-bottom: 2px solid transparent;
  transition: color .18s ease, border-color .18s ease;
}
.fuel-tab + .fuel-tab { margin-left: 22px; }
.fuel-tab:hover { color: var(--ink); }
.fuel-tab.is-active { color: var(--navy); border-bottom-color: var(--accent); }
.fuel-panel { display: none; }
.fuel-panel.is-active { display: block; animation: fuelFade .3s ease; }
@keyframes fuelFade { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }
.fuel-panel__norm { display: inline-block; font-family: var(--mono); font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--accent-strong); background: var(--accent-soft); padding: 5px 11px; border-radius: 100px; margin-bottom: 14px; }
.fuel-panel p { font-size: 15.5px; color: var(--ink-soft); line-height: 1.7; }
.fuel-panel p + p { margin-top: 12px; }

/* full-width tabs below the goriva row */
.fuel-tabs--wide { margin-top: 0; padding-bottom: clamp(48px, 7vw, 92px); border-bottom: 1px solid var(--line); }
.fuel-tabs--wide .fuel-tabs__panels { max-width: 880px; }
@media (min-width: 760px) {
  .fuel-tabs--wide .fuel-panel.is-active { display: grid; grid-template-columns: 200px 1fr; gap: 36px; align-items: start; }
  .fuel-tabs--wide .fuel-panel__norm { margin-bottom: 0; align-self: start; }
}

/* ---- Values (o-nama) ---- */
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.value { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 32px; }
.value .vno { font-family: var(--mono); font-size: 13px; color: var(--accent-strong); letter-spacing: .1em; }
.value h3 { font-size: 22px; margin: 14px 0 10px; }
.value p { color: var(--ink-soft); font-size: 15.5px; margin: 0; }
@media (max-width: 820px) { .values { grid-template-columns: 1fr; } }

/* ---- Stat boxes ---- */
.statbox { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.statbox div { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 30px 26px; }
.statbox b { display: block; font-size: clamp(30px, 3.6vw, 44px); font-weight: 800; color: var(--navy); letter-spacing: -.02em; line-height: 1; }
.statbox span { display: block; font-size: 14.5px; color: var(--ink-soft); margin-top: 10px; }
@media (max-width: 760px) { .statbox { grid-template-columns: 1fr 1fr; } }

/* ---- About split ---- */
.about-split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.about-split-media { aspect-ratio: 5/4; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow); }
.about-split-media img { width: 100%; height: 100%; object-fit: cover; }
.about-split h2 { margin: 16px 0 18px; }
.about-split p + p { margin-top: 16px; }
.about-split p { color: var(--ink-soft); font-size: 17px; }
@media (max-width: 820px) { .about-split { grid-template-columns: 1fr; } }

/* ---- Contact ---- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 60px); align-items: start; }
@media (max-width: 880px) { .contact-grid { grid-template-columns: 1fr; } }
.info-list { display: grid; gap: 18px; }
.info-item { display: flex; gap: 16px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 22px 24px; }
.info-item .ii-ico { width: 44px; height: 44px; border-radius: 9px; background: var(--accent-soft); display: grid; place-items: center; color: var(--accent-strong); flex: none; }
.info-item .ii-ico svg { width: 21px; height: 21px; }
.info-item h4 { font-family: var(--mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-faint); margin-bottom: 6px; font-weight: 700; }
.info-item p, .info-item a { font-size: 17px; font-weight: 600; color: var(--ink); line-height: 1.5; }
.info-item a:hover { color: var(--accent-strong); }
.hours-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 30px 32px; }
.hours-card h4 { font-family: var(--mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-faint); margin-bottom: 6px; font-weight: 700; }
.company-head { margin-bottom: 32px; }
.company-head h2 { font-size: clamp(24px, 3vw, 32px); margin-bottom: 12px; }
.company-head p { font-size: 17px; color: var(--ink-soft); font-weight: 600; line-height: 1.5; }
.dept-list { display: grid; gap: 14px; align-content: start; }
.dept { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 22px 26px; }
.dept h4 { font-family: var(--mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--accent-strong); margin-bottom: 12px; font-weight: 700; }
.dept p { font-size: 16px; font-weight: 600; color: var(--ink); line-height: 1.6; margin: 0; }
.dept a:hover { color: var(--accent-strong); }

.form { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(26px, 4vw, 40px); }
.form h3 { font-size: 24px; margin-bottom: 6px; }
.form > p { color: var(--ink-soft); font-size: 15px; margin-bottom: 24px; }
.field { display: grid; gap: 7px; margin-bottom: 18px; }
.field label { font-family: var(--mono); font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-soft); }
.field input, .field select, .field textarea {
  font-family: var(--sans); font-size: 16px; padding: 13px 15px;
  border: 1.5px solid var(--line); border-radius: var(--r); background: #fff; color: var(--ink);
  transition: border-color .18s ease, box-shadow .18s ease;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.field textarea { resize: vertical; min-height: 120px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 480px) { .field-row { grid-template-columns: 1fr; } }
.form-note { font-size: 12.5px; color: var(--ink-faint); margin-top: 4px; }
.form-ok { display: none; background: var(--accent-soft); border: 1px solid var(--accent); color: var(--accent-strong); padding: 14px 16px; border-radius: var(--r); font-weight: 600; font-size: 15px; margin-bottom: 18px; }
.form-ok.show { display: block; }

/* map */
.map-wrap { border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); position: relative; }
.map-wrap #map { width: 100%; height: 420px; background: #e8e4da; }
.map-open {
  position: absolute; z-index: 500; right: 16px; bottom: 16px;
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--navy); color: #fff;
  font-size: 14px; font-weight: 700;
  padding: 11px 16px; border-radius: var(--r);
  box-shadow: var(--shadow);
  transition: background .18s ease, transform .18s ease;
}
.map-open:hover { background: var(--accent); transform: translateY(-2px); }
.map-open svg { width: 17px; height: 17px; }
.rt-pin span {
  display: block; width: 22px; height: 22px;
  background: var(--accent); border: 3px solid #fff;
  border-radius: 50% 50% 50% 0; transform: rotate(-45deg);
  box-shadow: 0 3px 8px rgba(6,26,43,.4);
}
.leaflet-popup-content { font-family: var(--sans); font-size: 14px; }

/* ---- CTA band (shared) ---- */
.cta-band { background: var(--navy-900); color: #fff; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; padding-block: clamp(48px, 7vw, 84px); }
.cta-inner p { color: rgba(255,255,255,.72); margin-top: 12px; max-width: 48ch; }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---- Company info (o-nama) ---- */
.company-info { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: start; }
.ci-block { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 30px 30px 32px; }
.ci-block h4 { font-family: var(--mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--accent-strong); margin-bottom: 14px; font-weight: 700; }
.ci-block > p { font-size: 17px; font-weight: 700; color: var(--ink); line-height: 1.45; margin-bottom: 16px; }
.ci-block dl { display: grid; gap: 14px; margin: 0; }
.ci-block dt { font-size: 12.5px; color: var(--ink-faint); font-family: var(--mono); letter-spacing: .04em; text-transform: uppercase; margin-bottom: 2px; }
.ci-block dd { margin: 0; font-size: 15.5px; font-weight: 600; color: var(--ink); line-height: 1.45; }
.ci-block dd a:hover { color: var(--accent-strong); }
@media (max-width: 820px) { .company-info { grid-template-columns: 1fr; } }

/* hours table */
.hours { width: 100%; border-collapse: collapse; }
.hours th, .hours td { padding: 13px 0; border-bottom: 1px solid var(--line); text-align: left; font-size: 15.5px; }
.hours th { font-weight: 600; color: var(--ink); }
.hours td { font-family: var(--mono); color: var(--ink-soft); text-align: right; }
.hours tr:last-child th, .hours tr:last-child td { border-bottom: 0; }
