/* ============================================================
   MITSUBISHI TRUCK CENTER — Public stylesheet
   Mengikuti desain referensi: header putih, hero terang, band promo
   merah, kartu unit dengan banner harga merah, CTA band gelap.
   ============================================================ */

:root {
  --red: #e60012;
  --red-dark: #b8000e;
  --red-deep: #8f000b;
  --navy: #10173a;
  --navy-2: #1a2145;
  --ink: #1d2129;
  --muted: #6b7280;
  --line: #e5e7eb;
  --bg: #ffffff;
  --bg-soft: #f5f6f8;
  --green: #25d366;
  --green-dark: #1ebe5a;
  --shadow: 0 10px 30px rgba(16, 23, 58, .10);
  --shadow-sm: 0 4px 14px rgba(16, 23, 58, .08);
  --radius: 12px;
  --radius-sm: 8px;
  --font: 'Segoe UI', 'Inter', system-ui, -apple-system, Roboto, 'Helvetica Neue', Arial, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
.ico, .ico-b { flex: 0 0 auto; vertical-align: -3px; }
.btn .ico, .btn .ico-b { vertical-align: 0; }
a { color: var(--red); text-decoration: none; }
ul, ol { padding-left: 1.2rem; }
.container { width: min(1180px, 92%); margin: 0 auto; }

h1, h2, h3, h4 { line-height: 1.25; font-weight: 800; letter-spacing: -.01em; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .72rem 1.35rem; border-radius: 999px;
  font-weight: 700; font-size: .95rem; border: 2px solid transparent;
  cursor: pointer; transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  line-height: 1.2; text-align: center; justify-content: center;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.btn svg { flex: 0 0 auto; }
.btn-red { background: var(--red); color: #fff; }
.btn-red:hover { background: var(--red-dark); }
.btn-green { background: var(--green); color: #fff; }
.btn-green:hover { background: var(--green-dark); }
.btn-white { background: #fff; color: var(--red); border-color: #fff; }
.btn-outline { background: transparent; color: var(--red); border-color: var(--red); }
.btn-outline:hover { background: var(--red); color: #fff; }
.btn-outline-dark { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-outline-dark:hover { background: var(--navy); color: #fff; }
.btn .arr { font-weight: 800; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: #fff; box-shadow: 0 2px 14px rgba(16, 23, 58, .08);
}
.header-inner { display: flex; align-items: center; gap: 1.4rem; min-height: 76px; }
.brand { display: flex; align-items: center; gap: .7rem; margin-right: auto; }
.brand img { width: 52px; height: 52px; object-fit: contain; }
.brand-text { display: flex; flex-direction: column; }
.brand-text strong { color: var(--navy); font-size: 1.05rem; font-weight: 900; letter-spacing: .01em; }
.brand-text small { color: var(--red); font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.main-nav ul { display: flex; gap: 1.15rem; list-style: none; flex-wrap: nowrap; }
.main-nav a {
  color: var(--ink); font-weight: 700; font-size: .82rem; text-transform: uppercase;
  padding: .4rem 0; border-bottom: 3px solid transparent; letter-spacing: .02em; white-space: nowrap;
}
.main-nav a:hover { color: var(--red); }
.main-nav a.active { color: var(--red); border-bottom-color: var(--red); }
.header-cta { padding: .55rem 1.1rem; font-size: .85rem; }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: .4rem; }
.nav-toggle span { display: block; width: 26px; height: 3px; background: var(--navy); margin: 5px 0; border-radius: 2px; transition: .2s; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; background: linear-gradient(180deg, #eaf3fb 0%, #f8fbff 70%, #fff 100%); }
.hero-bg {
  position: absolute; inset: 0; background-size: cover; background-position: center right;
  opacity: .95;
}
.hero::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(255,255,255,.92) 0%, rgba(255,255,255,.75) 42%, rgba(255,255,255,.05) 75%);
}
.hero-inner { position: relative; z-index: 2; display: grid; grid-template-columns: 1.15fr .85fr; gap: 2rem; padding: 4.4rem 0 4.8rem; align-items: center; }
.hero-flag {
  display: inline-block; background: var(--red); color: #fff; font-weight: 900;
  padding: .3rem 1rem; border-radius: 999px; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase;
  box-shadow: 0 6px 16px rgba(230, 0, 18, .35);
}
.hero-text h1 { font-size: clamp(1.9rem, 4.2vw, 3.3rem); color: var(--navy); margin: 1rem 0 .8rem; text-transform: uppercase; }
.hero-text .hl { color: var(--red); }
.hero-sub { color: #3c4257; font-size: 1.05rem; max-width: 560px; margin-bottom: 1.6rem; }
.hero-actions { display: flex; gap: .8rem; flex-wrap: wrap; }
.hero-badges { display: flex; flex-direction: column; gap: 1rem; justify-self: end; }
.hero-badge-item {
  background: #fff; border: 2px solid var(--red); border-radius: 50%;
  width: 170px; height: 170px; display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: 1rem; box-shadow: var(--shadow-sm); transform: rotate(-3deg);
}
.hero-badge-item:nth-child(2) { transform: rotate(2deg) translateX(14px); }
.hero-badge-item:nth-child(3) { transform: rotate(-1deg) translateX(4px); }
.hero-badge-item span { font-weight: 900; color: var(--red); font-size: .85rem; text-transform: uppercase; line-height: 1.25; }
.hero-badge-item small { color: var(--muted); font-size: .7rem; margin-top: .3rem; line-height: 1.3; }

/* ---------- Promo band (merah) ---------- */
.promo-band { background: linear-gradient(115deg, var(--red) 0%, var(--red-dark) 60%, var(--red-deep) 100%); padding: 3.2rem 0; position: relative; overflow: hidden; }
.promo-band::before {
  content: ''; position: absolute; right: -120px; top: -120px; width: 380px; height: 380px;
  background: rgba(255,255,255,.08); border-radius: 50%;
}
.promo-band::after {
  content: ''; position: absolute; left: -80px; bottom: -140px; width: 300px; height: 300px;
  background: rgba(0,0,0,.12); border-radius: 50%;
}
.promo-grid { position: relative; z-index: 2; display: grid; grid-template-columns: 1.2fr .8fr; gap: 2.4rem; align-items: center; }
.promo-left .kicker {
  display: inline-block; background: #fff; color: var(--red); font-weight: 900; letter-spacing: .18em;
  padding: .28rem .9rem; border-radius: 6px; font-size: .8rem; text-transform: uppercase;
}
.promo-left h2 { color: #fff; font-size: clamp(1.5rem, 2.6vw, 2.2rem); margin: .9rem 0 .6rem; text-transform: uppercase; }
.promo-big1 {
  display: inline-block; color: #fff; font-weight: 900; font-size: clamp(2rem, 4vw, 3.2rem);
  border-bottom: 4px solid #fff; padding-bottom: .2rem; margin: .4rem 0;
}
.promo-big2 { color: #ffe3e5; font-size: 1.15rem; font-weight: 600; margin-bottom: 1.4rem; }
.promo-big2 b { display: inline-block; background: #fff; color: var(--red); padding: .25rem .8rem; border-radius: 6px; font-size: 1.3rem; margin-left: .3rem; }
.promo-card {
  background: #fff; border-radius: var(--radius); padding: 1.4rem; box-shadow: 0 18px 40px rgba(0,0,0,.25);
}
.promo-card-head {
  font-weight: 900; color: var(--navy); font-size: 1.05rem; text-transform: uppercase;
  border-left: 5px solid var(--red); padding-left: .7rem; margin-bottom: .9rem;
}
.promo-card img { border-radius: var(--radius-sm); width: 100%; object-fit: cover; aspect-ratio: 16/9; }
.promo-note {
  display: flex; gap: .6rem; align-items: flex-start; margin-top: .8rem;
  background: var(--bg-soft); border-radius: var(--radius-sm); padding: .7rem .8rem; font-size: .88rem;
}
.pn-label {
  background: var(--red); color: #fff; font-weight: 900; font-size: .68rem; letter-spacing: .08em;
  padding: .18rem .5rem; border-radius: 4px; text-transform: uppercase; flex: 0 0 auto; margin-top: .1rem;
}

/* ---------- Section heads ---------- */
.sec-head { text-align: center; margin-bottom: 2.4rem; }
.overline {
  display: inline-block; color: var(--red); font-weight: 900; letter-spacing: .2em;
  text-transform: uppercase; font-size: .78rem; margin-bottom: .4rem;
}
.overline.light { color: #ff9aa2; }
.sec-head h2 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); color: var(--navy); text-transform: uppercase; }
.sec-head p { color: var(--muted); margin-top: .5rem; }
.sec-cta { text-align: center; margin-top: 2.2rem; }

/* ---------- Katalog / kartu unit ---------- */
.catalog { padding: 4rem 0; background: #fff; }
.catalog-page { background: var(--bg-soft); }
.v-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.7rem; }
.v-card {
  background: #fff; border-radius: 14px; overflow: hidden; border: 1px solid #e8eaf1;
  box-shadow: 0 6px 22px rgba(16, 23, 58, .07);
  display: flex; flex-direction: column;
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
  position: relative;
}
.v-card::before { content: ''; display: block; height: 4px; background: linear-gradient(90deg, var(--red) 0%, #ff5a68 60%, var(--red) 100%); }
.v-card:hover { transform: translateY(-6px); box-shadow: 0 18px 44px rgba(16, 23, 58, .16); border-color: #f3c2c6; }
.v-price {
  background: linear-gradient(135deg, var(--red), var(--red-dark)); color: #fff;
  display: flex; align-items: baseline; justify-content: center; gap: .45rem;
  padding: .72rem .8rem; font-weight: 600; font-size: .82rem;
  text-transform: uppercase; letter-spacing: .06em;
}
.v-price .ico { align-self: center; opacity: .9; }
.v-price b { font-size: 1.14rem; font-weight: 900; letter-spacing: 0; text-transform: none; }
.v-media { position: relative; background: #f2f3f7; overflow: hidden; }
.v-media img { width: 100%; aspect-ratio: 14/9; object-fit: cover; transition: transform .45s cubic-bezier(.2, .7, .3, 1); }
.v-card:hover .v-media img { transform: scale(1.06); }
.v-badge {
  position: absolute; top: 12px; left: 12px; background: var(--navy); color: #fff;
  font-size: .68rem; font-weight: 900; letter-spacing: .08em; padding: .34rem .62rem; border-radius: 6px; text-transform: uppercase;
  display: inline-flex; align-items: center; gap: .3rem; box-shadow: 0 4px 12px rgba(16, 23, 58, .28);
}
.v-badge .ico { color: #ffd34d; }
.v-cat {
  position: absolute; right: 12px; bottom: 12px; background: rgba(255, 255, 255, .95); color: var(--navy);
  font-size: .68rem; font-weight: 800; letter-spacing: .05em; padding: .3rem .62rem; border-radius: 999px;
  text-transform: uppercase; display: inline-flex; align-items: center; gap: .3rem;
  box-shadow: 0 3px 12px rgba(16, 23, 58, .22);
}
.v-cat .ico { color: var(--red); }
.v-body { display: flex; flex-direction: column; flex: 1; }
.v-name { text-align: center; font-size: 1.14rem; color: var(--navy); padding: 1.05rem 1rem .5rem; text-transform: uppercase; }
.v-specs {
  display: grid; grid-template-columns: 1fr 1fr; gap: .5rem;
  padding: .2rem 1rem .55rem;
}
.spec-tile {
  display: flex; gap: .55rem; align-items: flex-start; min-width: 0;
  background: #f7f8fb; border: 1px solid #eef0f6; border-radius: 10px;
  padding: .5rem .6rem; transition: border-color .18s ease;
}
.v-card:hover .spec-tile { border-color: #f0d0d3; }
.spec-ico {
  flex: 0 0 auto; width: 24px; height: 24px; border-radius: 7px;
  background: linear-gradient(135deg, #fdeef0, #fbdfe3);
  color: var(--red); display: grid; place-items: center;
}
.spec-txt { min-width: 0; }
.spec-txt small {
  display: block; font-size: .6rem; font-weight: 800; letter-spacing: .07em;
  text-transform: uppercase; color: var(--muted); line-height: 1.25; margin-bottom: .12rem;
}
.spec-txt b {
  display: block; font-size: .72rem; font-weight: 700; color: var(--navy);
  line-height: 1.35; word-break: break-word;
}
.spec-more {
  grid-column: 1 / -1; display: flex; align-items: center; justify-content: center; gap: .4rem;
  border: 1px dashed #d9dce6; background: #fff; color: var(--navy);
  font-family: inherit; font-size: .72rem; font-weight: 700;
  border-radius: 9px; padding: .45rem .6rem; cursor: pointer;
  transition: border-color .15s ease, color .15s ease, background .15s ease;
}
.spec-more b { color: var(--red); font-weight: 900; }
.spec-more:hover { border-color: var(--red); color: var(--red); background: #fff5f6; }
.spec-more .ico { color: currentColor; }
.spec-rows { display: flex; flex-direction: column; gap: .45rem; }
.spec-rows .spec-tile { background: #f7f8fb; }
.spec-rows .spec-txt b { font-size: .78rem; }
.m-specs-head {
  display: flex; align-items: center; gap: .45rem; margin: 1.05rem 0 .55rem;
  padding-top: 1rem; border-top: 1px solid var(--line);
  font-size: .76rem; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; color: var(--navy);
}
.m-specs-head .ico { color: var(--red); }
.v-actions {
  display: flex; gap: .55rem; align-items: stretch;
  padding: .9rem 1rem 1.15rem; margin-top: auto;
}
.v-actions .btn { flex: 1; padding: .62rem .9rem; font-size: .88rem; }
.v-actions .v-wa { flex: 0 0 auto; padding: .62rem .95rem; }
.v-detail { box-shadow: 0 6px 16px rgba(230, 0, 18, .28); }
.v-card:hover .v-detail { box-shadow: 0 8px 20px rgba(230, 0, 18, .4); }

.dm {
  display: inline-block; width: 8px; height: 8px; background: var(--red);
  transform: rotate(45deg); margin-right: .45rem; flex: 0 0 auto;
}
.dm.big { width: 14px; height: 14px; margin-right: .8rem; }

/* ---------- Galeri ---------- */
.galeri-sec { padding: 4rem 0; background: var(--bg-soft); }
.g-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.g-item { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); }
.g-item img { width: 100%; aspect-ratio: 4/3; object-fit: cover; transition: transform .25s ease; }
.g-item:hover img { transform: scale(1.05); }
.g-cap {
  position: absolute; left: 0; right: 0; bottom: 0; background: linear-gradient(transparent, rgba(16,23,58,.85));
  color: #fff; padding: 1.6rem .9rem .7rem; font-weight: 700; font-size: .88rem;
}

/* ---------- Berita ---------- */
.news-sec { padding: 4rem 0; background: #fff; }
.berita-sec { padding: 3rem 0 4rem; }
.b-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; }
.b-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow-sm); transition: transform .18s ease, box-shadow .18s ease;
  display: flex; flex-direction: column;
}
.b-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.b-media img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.b-body { padding: 1rem 1.1rem 1.2rem; display: flex; flex-direction: column; gap: .5rem; flex: 1; }
.b-meta { display: flex; align-items: center; gap: .6rem; font-size: .8rem; color: var(--muted); flex-wrap: wrap; }
.b-meta .ico { color: var(--red); margin-right: .25rem; }
.b-meta time { display: inline-flex; align-items: center; }
.b-author, .b-views { display: inline-flex; align-items: center; gap: .3rem; }
.chip {
  background: #fdebec; color: var(--red); font-weight: 800; font-size: .72rem;
  padding: .22rem .6rem; border-radius: 999px; text-transform: uppercase; letter-spacing: .04em;
  display: inline-flex; align-items: center; gap: .3rem;
}
.b-body h3 { font-size: 1.02rem; color: var(--navy); line-height: 1.4; }
.b-body h3 a { color: inherit; }
.b-body h3 a:hover { color: var(--red); }
.b-body p { color: var(--muted); font-size: .88rem; flex: 1; }
.b-more { font-weight: 800; font-size: .85rem; color: var(--red); }
.b-count { color: var(--muted); font-size: .9rem; margin-bottom: 1.4rem; }
.b-meta-detail { margin-bottom: .8rem; }
.b-author, .b-views { color: var(--muted); }

/* ---------- Pager ---------- */
.pager { display: flex; justify-content: center; gap: .45rem; margin-top: 2.4rem; flex-wrap: wrap; }
.pg-btn {
  display: inline-flex; padding: .5rem .9rem; border: 1.5px solid var(--line); border-radius: 8px;
  color: var(--ink); font-weight: 700; font-size: .88rem; background: #fff;
}
.pg-btn:hover { border-color: var(--red); color: var(--red); }
.pg-btn.current { background: var(--red); border-color: var(--red); color: #fff; }
.pg-btn.disabled { opacity: .45; pointer-events: none; }
.pg-dots { align-self: center; color: var(--muted); padding: 0 .2rem; }

/* ---------- Artikel detail ---------- */
.article-sec { padding: 3rem 0 4rem; background: #fff; }
.article-wrap { max-width: 860px; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: .45rem; font-size: .85rem; color: var(--muted); margin-bottom: 1.4rem; }
.breadcrumb a { color: var(--red); font-weight: 600; }
.breadcrumb a .ico { margin-right: .25rem; }
.article-title { font-size: clamp(1.5rem, 3vw, 2.2rem); color: var(--navy); margin: .6rem 0 1.2rem; }
.article-img { border-radius: var(--radius); margin-bottom: 1.6rem; box-shadow: var(--shadow-sm); width: 100%; }
.article-body { font-size: 1.02rem; color: #2a3040; }
.article-body p { margin: 0 0 1rem; }
.article-body h2 { font-size: 1.4rem; color: var(--navy); margin: 1.8rem 0 .8rem; }
.article-body h3 { font-size: 1.15rem; color: var(--navy); margin: 1.4rem 0 .6rem; }
.article-body h4 { font-size: 1rem; color: var(--navy); margin: 1.2rem 0 .5rem; }
.article-body ul, .article-body ol { margin: 0 0 1.1rem .2rem; }
.article-body li { margin-bottom: .4rem; }
.article-body img { border-radius: var(--radius-sm); margin: 1rem 0; }
.article-body blockquote {
  border-left: 4px solid var(--red); background: var(--bg-soft); padding: .9rem 1.2rem;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0; margin: 1.2rem 0; font-style: italic; color: #444;
}
.article-body table { border-collapse: collapse; width: 100%; margin: 1.2rem 0; font-size: .95rem; }
.article-body table th, .article-body table td { border: 1px solid var(--line); padding: .55rem .8rem; text-align: left; }
.article-body table th { background: var(--bg-soft); }
.article-cta { margin-top: 2rem; }
.share-row {
  display: flex; align-items: center; gap: .6rem; margin-top: 2.2rem; padding-top: 1.4rem;
  border-top: 1px solid var(--line); font-weight: 700; color: var(--muted); flex-wrap: wrap;
}
.share-btn {
  display: inline-flex; align-items: center; gap: .45rem; padding: .45rem 1rem; border-radius: 999px; color: #fff; font-weight: 800;
  font-size: .82rem; border: 0; cursor: pointer;
}
.share-btn.wa { background: var(--green); }
.share-btn.fb { background: #1877f2; }
.share-btn.tw { background: #111; }
.share-btn.cp { background: var(--navy); }
.share-btn:hover { opacity: .92; }
.related-sec { padding: 3rem 0 4rem; background: var(--bg-soft); }

/* ---------- Layanan ---------- */
.layanan-sec { padding: 3.5rem 0 4.5rem; background: #fff; }
.l-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; }
.l-card {
  border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem 1.4rem;
  box-shadow: var(--shadow-sm); transition: transform .18s ease, box-shadow .18s ease;
  display: flex; flex-direction: column; gap: .7rem; background: #fff;
}
.l-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.l-icon {
  width: 56px; height: 56px; border-radius: 14px; background: linear-gradient(135deg, #fdebec, #fff0f0);
  color: var(--red); display: flex; align-items: center; justify-content: center;
  box-shadow: inset 0 0 0 1px #f8d0d4;
  transition: transform .2s ease, background .2s ease, color .2s ease;
}
.l-card:hover .l-icon { transform: scale(1.07) rotate(-3deg); background: var(--red); color: #fff; }
.l-card h3 { color: var(--navy); font-size: 1.08rem; }
.l-card p { color: var(--muted); font-size: .9rem; flex: 1; }
.l-actions { display: flex; gap: .6rem; flex-wrap: wrap; }
.l-actions .btn { padding: .5rem 1rem; font-size: .85rem; }

/* ---------- Page hero ---------- */
.page-hero {
  position: relative; padding: 4.6rem 0; color: #fff; text-align: center;
  background: linear-gradient(115deg, var(--navy) 0%, var(--navy-2) 55%, #232d5c 100%);
  background-size: cover; background-position: center;
}
.page-hero::before { content: ''; position: absolute; inset: 0; background: rgba(16, 23, 58, .55); }
.page-hero .container { position: relative; z-index: 2; }
.page-hero h1 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); text-transform: uppercase; margin: .3rem 0 .6rem; }
.page-hero p { color: #c9d1ea; max-width: 640px; margin: 0 auto; }
.page-hero-sm { padding: 3.4rem 0; }

/* ---------- Tentang ---------- */
.about-history { padding: 4rem 0; background: #fff; }
.about-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 2.6rem; align-items: center; }
.about-text h2 { color: var(--navy); margin-bottom: .9rem; font-size: 1.7rem; }
.about-text p { color: #3c4257; margin-bottom: 1rem; }
.about-media img { border-radius: var(--radius); box-shadow: var(--shadow); }
.about-vm { padding: 3.5rem 0; background: var(--bg-soft); }
.vm-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 1.6rem; }
.vm-card { background: #fff; border-radius: var(--radius); padding: 2rem; box-shadow: var(--shadow-sm); border-top: 4px solid var(--red); }
.vm-card.visi p { font-size: 1.1rem; color: var(--navy); font-weight: 600; margin-top: .6rem; }
.vm-card ul { margin-top: .8rem; }
.vm-card li { margin-bottom: .5rem; color: #3c4257; }
.about-values { padding: 3.5rem 0; background: #fff; }
.val-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem; }
.val-card { background: var(--bg-soft); border-radius: var(--radius); padding: 1.5rem 1.3rem; }
.val-card .dm.big { margin-bottom: .7rem; }
.val-card h3 { color: var(--navy); font-size: 1.02rem; margin-bottom: .4rem; }
.val-card p { color: var(--muted); font-size: .88rem; }
.stats-band { background: linear-gradient(115deg, var(--red) 0%, var(--red-dark) 100%); padding: 2.6rem 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem; text-align: center; }
.stat b { display: block; font-size: 2rem; color: #fff; font-weight: 900; }
.stat span { color: #ffd6d9; font-size: .88rem; font-weight: 600; }
.about-cta { padding: 4rem 0; text-align: center; }
.about-cta h2 { color: var(--navy); font-size: 1.7rem; margin-bottom: .6rem; }
.about-cta p { color: var(--muted); margin-bottom: 1.4rem; }

/* ---------- Kontak ---------- */
.kontak-sec { padding: 3.5rem 0 2rem; }
.kontak-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 2rem; margin-bottom: 2.4rem; }
.kontak-info, .kontak-form { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.8rem; box-shadow: var(--shadow-sm); }
.kontak-info h2, .kontak-form h2 { color: var(--navy); font-size: 1.25rem; margin-bottom: 1.2rem; }
.k-list { list-style: none; padding: 0; display: grid; gap: 1rem; }
.k-list li { display: flex; gap: .8rem; align-items: flex-start; }
.k-list svg { color: var(--red); flex: 0 0 auto; margin-top: .2rem; }
.k-list b { display: block; color: var(--navy); font-size: .92rem; }
.k-list span { color: var(--muted); font-size: .9rem; display: block; }
.k-list span > span { display: block; }
.form-row { margin-bottom: 1rem; }
.form-row.two { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
label { display: block; font-weight: 700; font-size: .85rem; color: var(--navy); margin-bottom: .35rem; }
input[type="text"], input[type="email"], input[type="tel"], textarea, select {
  width: 100%; padding: .7rem .9rem; border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  font-family: inherit; font-size: .95rem; color: var(--ink); background: #fff; outline: none;
  transition: border-color .15s ease;
}
input:focus, textarea:focus, select:focus { border-color: var(--red); }
textarea { resize: vertical; }
.hp-field { position: absolute; left: -9999px; opacity: 0; height: 0; }
.form-msg { margin-top: .9rem; font-weight: 700; font-size: .9rem; display: none; }
.form-msg.ok { display: block; color: #0a8f46; }
.form-msg.err { display: block; color: var(--red); }
.map-wrap h2 { color: var(--navy); font-size: 1.25rem; margin-bottom: 1rem; }
.map-wrap iframe { border-radius: var(--radius); box-shadow: var(--shadow-sm); }

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(100deg, var(--navy) 0%, var(--navy-2) 60%, #232d5c 100%);
  background-size: cover; background-position: center; position: relative; color: #fff;
}
.cta-band::before { content: ''; position: absolute; inset: 0; background: rgba(13, 18, 44, .72); }
.cta-inner { position: relative; z-index: 2; display: flex; align-items: center; gap: 1.4rem; padding: 2rem 0; flex-wrap: wrap; }
.cta-logo { width: 64px; height: 64px; object-fit: contain; }
.cta-text { margin-right: auto; }
.cta-text h2 { font-size: 1.5rem; text-transform: uppercase; letter-spacing: .02em; }
.cta-text p { color: #c9d1ea; font-size: .95rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: #b9c1de; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 2rem; padding: 3rem 0 2rem; }
.f-about img { width: 48px; height: 48px; object-fit: contain; margin-bottom: .8rem; filter: brightness(0) invert(1); }
.f-about p { font-size: .88rem; line-height: 1.7; }
.socials { display: flex; gap: .5rem; margin-top: 1rem; flex-wrap: wrap; }
.socials a {
  width: 36px; height: 36px; display: inline-flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,.08); border-radius: 50%; color: #fff; font-size: .72rem; font-weight: 800;
  text-transform: uppercase;
}
.socials a:hover { background: var(--red); }
.f-col h4 { color: #fff; font-size: .95rem; text-transform: uppercase; margin-bottom: 1rem; letter-spacing: .05em; }
.f-col ul { list-style: none; padding: 0; display: grid; gap: .55rem; }
.f-col a { color: #b9c1de; font-size: .9rem; }
.f-col a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding: 1.1rem 0; }
.footer-bottom .container { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; font-size: .82rem; }
.footer-bottom a { color: #8f97b8; }

/* ---------- WA float ---------- */
.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 90;
  width: 58px; height: 58px; border-radius: 50%; background: var(--green); color: #fff;
  display: flex; align-items: center; justify-content: center; box-shadow: 0 10px 26px rgba(37, 211, 102, .45);
  transition: transform .18s ease;
}
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 30px; height: 30px; }
.wa-float::before {
  content: ''; position: absolute; inset: -6px; border-radius: 50%;
  border: 2px solid var(--green); opacity: .5; animation: waPulse 1.8s ease-out infinite;
}
@keyframes waPulse {
  0% { transform: scale(.85); opacity: .6; }
  70% { transform: scale(1.25); opacity: 0; }
  100% { transform: scale(1.25); opacity: 0; }
}
.wa-tip {
  position: absolute; right: 68px; white-space: nowrap; background: var(--navy); color: #fff;
  font-size: .78rem; font-weight: 700; padding: .4rem .8rem; border-radius: 8px;
  opacity: 0; pointer-events: none; transition: opacity .18s ease;
}
.wa-float:hover .wa-tip { opacity: 1; }

/* ---------- Modal (popup detail unit) ---------- */
.modal-overlay {
  position: fixed; inset: 0; z-index: 100; background: rgba(13, 18, 44, .62);
  display: flex; align-items: center; justify-content: center; padding: 1.2rem;
}
.modal-overlay[hidden] { display: none; }
.modal-box {
  background: #fff; border-radius: 16px; max-width: 760px; width: 100%; max-height: 90vh;
  overflow: auto; position: relative; box-shadow: 0 30px 80px rgba(0,0,0,.4);
  animation: modalIn .22s ease;
}
@keyframes modalIn { from { transform: translateY(14px); opacity: 0; } to { transform: none; opacity: 1; } }
.modal-close {
  position: absolute; top: 12px; right: 14px; z-index: 5; width: 38px; height: 38px;
  border-radius: 50%; border: 0; background: rgba(16,23,58,.85); color: #fff; font-size: 1.4rem;
  cursor: pointer; line-height: 1;
}
.modal-close:hover { background: var(--red); }
.modal-content .v-price { border-radius: 16px 16px 0 0; padding: 1rem; font-size: 1rem; }
.modal-content .v-price b { font-size: 1.3rem; }
.modal-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem; padding: 1.4rem; }
.modal-media { display: flex; flex-direction: column; gap: .7rem; align-items: flex-start; min-width: 0; }
.modal-media img {
  width: 100%; flex: 1 1 auto; min-height: 220px; object-fit: cover;
  border-radius: var(--radius-sm); box-shadow: var(--shadow-sm);
}
.modal-media .m-badge { display: inline-block; margin-top: .7rem; }
.modal-media .v-badge { position: static; }
.modal-info h3 { color: var(--navy); font-size: 1.4rem; text-transform: uppercase; margin-bottom: .5rem; }
.modal-info .m-cat {
  display: inline-flex; align-items: center; gap: .4rem; width: fit-content;
  background: var(--bg-soft); border: 1px solid var(--line);
  color: var(--muted); font-size: .72rem; font-weight: 800;
  letter-spacing: .06em; text-transform: uppercase;
  padding: .32rem .75rem; border-radius: 999px; margin-bottom: .35rem;
}
.modal-info .m-cat .ico { color: var(--red); }
.modal-desc { font-size: .92rem; color: #3c4257; margin: 1rem 0; }
.modal-actions { display: flex; gap: .7rem; flex-wrap: wrap; padding: 0 1.4rem 1.5rem; }
.modal-actions .btn { flex: 1; min-width: 200px; }
.modal-actions .btn .ico-b, .modal-actions .btn .ico { vertical-align: -3px; }
.modal-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: .5rem; padding: 0 1.4rem 1.5rem; }
.modal-gallery img { border-radius: 6px; aspect-ratio: 4/3; object-fit: cover; cursor: pointer; transition: transform .2s ease, box-shadow .2s ease; }
.modal-gallery img:hover { transform: scale(1.04); box-shadow: var(--shadow-sm); }

/* ---------- 404 ---------- */
.notfound { padding: 5rem 0; text-align: center; min-height: 50vh; background: #fff; }
.nf-code { font-size: 4.5rem; font-weight: 900; color: var(--red); line-height: 1; }
.notfound h1 { color: var(--navy); margin: .8rem 0 .5rem; }
.notfound p { color: var(--muted); margin-bottom: 1.6rem; }
.nf-actions { display: flex; gap: .8rem; justify-content: center; flex-wrap: wrap; }

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 110; background: rgba(0,0,0,.85);
  display: flex; align-items: center; justify-content: center; padding: 2rem;
}
.lightbox img { max-width: 92vw; max-height: 88vh; border-radius: 8px; }
.lightbox .lb-close {
  position: absolute; top: 18px; right: 22px; font-size: 2rem; color: #fff; background: none; border: 0; cursor: pointer;
}

/* ---------- Responsive ---------- */
@media (max-width: 1020px) {
  .v-grid, .b-grid, .l-grid { grid-template-columns: repeat(2, 1fr); }
  .val-grid, .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-badges { flex-direction: row; justify-self: start; flex-wrap: wrap; }
  .hero-badge-item { width: 140px; height: 140px; }
  .promo-grid { grid-template-columns: 1fr; }
}
@media (max-width: 780px) {
  .main-nav {
    position: fixed; top: 76px; left: 0; right: 0; background: #fff; box-shadow: 0 14px 30px rgba(16,23,58,.14);
    max-height: 0; overflow: hidden; transition: max-height .25s ease;
  }
  .main-nav.open { max-height: 420px; }
  .main-nav ul { flex-direction: column; gap: 0; padding: .8rem 4%; }
  .main-nav li { border-bottom: 1px solid var(--bg-soft); }
  .main-nav a { display: block; padding: .85rem 0; border-bottom: 0; }
  .nav-toggle { display: block; }
  .header-cta span { display: none; }
  .header-cta { padding: .55rem .8rem; }
  .about-grid, .vm-grid, .kontak-grid { grid-template-columns: 1fr; }
  .modal-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .v-grid, .b-grid, .l-grid, .g-grid { grid-template-columns: 1fr; }
  .brand-text small { display: none; }
  .brand img { width: 44px; height: 44px; }
  .hero-inner { padding: 2.6rem 0 3rem; }
  .hero-badge-item { width: 120px; height: 120px; padding: .6rem; }
  .promo-big2 b { font-size: 1.05rem; }
  .footer-grid { grid-template-columns: 1fr; }
  .form-row.two { grid-template-columns: 1fr; }
  .cta-inner { justify-content: center; text-align: center; }
  .cta-text { margin-right: 0; }
  .wa-float { width: 52px; height: 52px; right: 16px; bottom: 16px; }
  .wa-float svg { width: 26px; height: 26px; }
}
