/* ============================================================
   hexanova — serwis samochodowy i detailing, Wrocław
   Styl: editorialny magazyn na bieli, naprzemienne bloki
   obraz/tekst, pełnoformatowe ciemne pasy „Spotlight",
   jeden mocny akcent — wyścigowa czerwień.
   Kroje: Bodoni Moda (display) + Archivo (tekst)
   ============================================================ */

:root {
  --ink: #14151a;
  --ink-soft: #2a2c34;
  --paper: #ffffff;
  --paper-2: #f5f4f2;
  --dark: #16171c;
  --dark-2: #0f1013;
  --muted: #6a6d76;
  --muted-2: #9a9da6;
  --line: #e6e5e2;
  --line-dark: rgba(255, 255, 255, 0.14);
  --accent: #d81f2a;
  --accent-2: #b3151f;
  --wrap: 1240px;
  --display: "Bodoni Moda", "Times New Roman", Georgia, serif;
  --body: "Archivo", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { font-family: var(--body); color: var(--ink); background: var(--paper); line-height: 1.7; font-size: 16px; overflow-x: hidden; }
h1, h2, h3, h4 { font-family: var(--display); font-weight: 600; line-height: 1.1; letter-spacing: -0.01em; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.hx-wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 28px; }
.hx-narrow { max-width: 880px; margin: 0 auto; }

.hx-eyebrow { font-family: var(--body); text-transform: uppercase; letter-spacing: 0.22em; font-size: 12px; font-weight: 700; color: var(--accent); display: inline-block; }
.hx-eyebrow.is-light { color: #ff5560; }

.hx-btn { display: inline-flex; align-items: center; gap: 10px; font-family: var(--body); font-weight: 700; font-size: 14px; letter-spacing: 0.03em; text-transform: uppercase; padding: 14px 30px; border-radius: 100px; border: 2px solid var(--accent); background: var(--accent); color: #fff; cursor: pointer; transition: background .22s, border-color .22s, color .22s, transform .22s; }
.hx-btn:hover { background: var(--accent-2); border-color: var(--accent-2); transform: translateY(-2px); }
.hx-btn.is-dark { background: var(--ink); border-color: var(--ink); }
.hx-btn.is-dark:hover { background: var(--accent); border-color: var(--accent); }
.hx-btn.is-outline { background: transparent; color: var(--ink); border-color: var(--ink); }
.hx-btn.is-outline:hover { background: var(--ink); color: #fff; }
.hx-btn.is-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.55); }
.hx-btn.is-light:hover { background: #fff; color: var(--ink); border-color: #fff; }

/* ============================================================ HEADER */
.hx-header { position: sticky; top: 0; z-index: 60; background: rgba(255,255,255,.97); backdrop-filter: blur(6px); border-bottom: 1px solid var(--line); }
.hx-header .hx-wrap { display: flex; align-items: center; justify-content: space-between; min-height: 74px; gap: 20px; }
.hx-logo { display: flex; align-items: baseline; gap: 2px; font-family: var(--display); font-weight: 700; font-size: 25px; letter-spacing: -0.02em; color: var(--ink); }
.hx-logo i { width: 8px; height: 8px; border-radius: 2px; background: var(--accent); display: inline-block; transform: translateY(-1px); }
.hx-nav ul { list-style: none; display: flex; align-items: center; gap: 28px; }
.hx-nav a { font-size: 14px; font-weight: 600; letter-spacing: 0.02em; color: var(--ink); padding: 6px 0; border-bottom: 2px solid transparent; transition: color .2s, border-color .2s; }
.hx-nav a:hover, .hx-nav a.is-active { color: var(--accent); border-color: var(--accent); }
.hx-head-cta { display: flex; align-items: center; gap: 16px; }
.hx-head-cta .hx-phone { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 14px; color: #fff; background: var(--ink); padding: 11px 20px; border-radius: 100px; transition: background .2s; }
.hx-head-cta .hx-phone:hover { background: var(--accent); }
.hx-head-cta .hx-phone svg { width: 16px; height: 16px; }
.hx-burger { display: none; background: none; border: 0; cursor: pointer; width: 44px; height: 44px; padding: 11px; }
.hx-burger span { display: block; height: 2px; width: 100%; background: var(--ink); transition: transform .3s, opacity .3s; }
.hx-burger span + span { margin-top: 6px; }
.hx-burger.is-open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.hx-burger.is-open span:nth-child(2) { opacity: 0; }
.hx-burger.is-open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ============================================================ HERO */
.hx-hero { position: relative; min-height: 78vh; display: flex; align-items: flex-end; color: #fff; padding: 90px 0 54px; background-size: cover; background-position: center; }
.hx-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(15,16,19,.35) 0%, rgba(15,16,19,.30) 45%, rgba(15,16,19,.85) 100%); }
.hx-hero .hx-wrap { position: relative; z-index: 2; width: 100%; }
.hx-hero-block { max-width: 760px; }
.hx-hero .hx-eyebrow { color: #ff5560; margin-bottom: 16px; }
.hx-hero h1 { font-family: var(--display); font-weight: 600; font-size: clamp(38px, 7vw, 78px); line-height: 1.02; letter-spacing: -0.02em; margin-bottom: 18px; }
.hx-hero h1 em { font-style: italic; color: #ff8f97; }
.hx-hero-meta { font-size: 12.5px; letter-spacing: 0.22em; text-transform: uppercase; color: #d7d9de; margin-bottom: 26px; }
.hx-chips { display: flex; gap: 10px; flex-wrap: wrap; }
.hx-chip { font-family: var(--body); font-size: 13px; font-weight: 600; letter-spacing: 0.02em; padding: 8px 16px; border: 1px solid rgba(255,255,255,.4); border-radius: 100px; color: #fff; transition: background .2s, color .2s, border-color .2s; }
.hx-chip:hover { background: #fff; color: var(--ink); border-color: #fff; }

/* ============================================================ SECTION */
.hx-section { padding: 84px 0; }
.hx-section.is-grey { background: var(--paper-2); }
.hx-section-head { max-width: 760px; margin-bottom: 42px; }
.hx-section-head.is-center { text-align: center; margin-left: auto; margin-right: auto; }
.hx-section-head h2 { font-size: clamp(30px, 5vw, 48px); font-weight: 600; }
.hx-section-head h2 em { font-style: italic; color: var(--accent); }
.hx-section-head p { color: var(--muted); margin-top: 14px; font-size: 17px; }
.hx-rule { width: 46px; height: 3px; background: var(--accent); margin: 16px 0 0; }
.hx-section-head.is-center .hx-rule { margin-left: auto; margin-right: auto; }

/* ============================================================ THUMB ROW */
.hx-thumbs { display: grid; grid-template-columns: 1fr; gap: 26px; }
.hx-thumb { display: block; }
.hx-thumb-img { position: relative; overflow: hidden; aspect-ratio: 4/3; }
.hx-thumb-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.hx-thumb:hover .hx-thumb-img img { transform: scale(1.05); }
.hx-thumb-metric { position: absolute; left: 12px; top: 12px; background: var(--accent); color: #fff; font-size: 11px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; padding: 5px 11px; border-radius: 100px; }
.hx-thumb h3 { font-size: 22px; font-weight: 600; margin: 16px 0 6px; }
.hx-thumb p { color: var(--muted); font-size: 14.5px; }
.hx-thumb .hx-more { display: inline-flex; align-items: center; gap: 7px; margin-top: 10px; font-weight: 700; font-size: 13px; text-transform: uppercase; letter-spacing: 0.04em; color: var(--accent); }
.hx-thumb .hx-more svg { width: 15px; height: 15px; }

/* ============================================================ PICK (alternating) */
.hx-pick { padding: 74px 0; border-bottom: 1px solid var(--line); }
.hx-pick-grid { display: grid; grid-template-columns: 1fr; gap: 40px; align-items: center; }
.hx-pick-media { position: relative; }
.hx-pick-media img { width: 100%; height: 100%; object-fit: cover; min-height: 300px; }
.hx-pick-credit { position: absolute; right: 12px; bottom: 12px; font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: #fff; background: rgba(0,0,0,.5); padding: 4px 10px; }
.hx-pick-body h2 { font-size: clamp(28px, 4.5vw, 44px); font-weight: 600; margin: 18px 0; }
.hx-pick-body h2 em { font-style: italic; color: var(--accent); }
.hx-pick-meta { font-size: 12.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin-bottom: 18px; }
.hx-pick-body p { color: var(--muted); margin-bottom: 15px; }
.hx-pick-body .hx-lead { font-size: 18px; color: var(--ink); }
.hx-tags { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 18px; }
.hx-tag { font-size: 12px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; padding: 7px 14px; border-radius: 100px; background: var(--paper-2); color: var(--ink-soft); }
.hx-readmore { display: inline-flex; align-items: center; gap: 8px; margin-top: 20px; font-weight: 700; font-size: 14px; color: var(--ink); border-bottom: 2px solid var(--accent); padding-bottom: 3px; }
.hx-readmore:hover { color: var(--accent); }
.hx-readmore svg { width: 16px; height: 16px; }

/* ============================================================ SPOTLIGHT (dark full-bleed) */
.hx-spotlight { position: relative; color: #fff; min-height: 460px; display: flex; align-items: center; background-size: cover; background-position: center; }
.hx-spotlight::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(15,16,19,.9) 0%, rgba(15,16,19,.62) 55%, rgba(15,16,19,.4) 100%); }
.hx-spotlight .hx-wrap { position: relative; z-index: 2; padding-top: 80px; padding-bottom: 80px; }
.hx-spotlight-inner { max-width: 620px; }
.hx-spotlight h2 { font-size: clamp(30px, 5vw, 52px); font-weight: 600; margin: 16px 0 18px; }
.hx-spotlight h2 em { font-style: italic; color: #ff8f97; }
.hx-spotlight p { color: #d7d9de; margin-bottom: 26px; font-size: 17px; }

/* ============================================================ REVIEWS GRID */
.hx-reviews { display: grid; grid-template-columns: 1fr; gap: 26px; }
.hx-review { background: var(--paper); border: 1px solid var(--line); padding: 30px; }
.hx-review .hx-stars { color: var(--accent); letter-spacing: 3px; font-size: 15px; margin-bottom: 14px; }
.hx-review blockquote { font-family: var(--display); font-size: 19px; font-style: italic; line-height: 1.5; color: var(--ink); margin-bottom: 20px; }
.hx-review-author { display: flex; align-items: center; gap: 13px; }
.hx-review-author .hx-av { width: 46px; height: 46px; border-radius: 50%; background: var(--ink); color: #fff; font-family: var(--display); font-weight: 600; display: flex; align-items: center; justify-content: center; font-size: 17px; }
.hx-review-author b { font-size: 15px; }
.hx-review-author span { display: block; font-size: 13px; color: var(--muted); }

/* ============================================================ CARDS / PROSE / FAQ / PRICING */
.hx-cards { display: grid; grid-template-columns: 1fr; gap: 26px; }
.hx-card { border: 1px solid var(--line); padding: 30px 28px; background: var(--paper); }
.hx-card .hx-k { font-family: var(--display); font-size: 26px; font-weight: 600; color: var(--accent); }
.hx-card h3 { font-size: 22px; font-weight: 600; margin: 10px 0 10px; }
.hx-card p { color: var(--muted); font-size: 15px; }

.hx-price-grid { display: grid; grid-template-columns: 1fr; gap: 24px; }
.hx-price { border: 1px solid var(--line); padding: 32px 28px; display: flex; flex-direction: column; background: var(--paper); }
.hx-price.is-feat { border-color: var(--accent); box-shadow: 0 20px 50px rgba(216,31,42,.1); }
.hx-price .hx-k { font-size: 12px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); margin-bottom: 14px; }
.hx-price h3 { font-size: 22px; font-weight: 600; margin-bottom: 10px; }
.hx-price .hx-amt { font-family: var(--display); font-size: 40px; font-weight: 600; line-height: 1; margin-bottom: 4px; }
.hx-price .hx-amt small { font-size: 15px; color: var(--muted); font-weight: 400; }
.hx-price .hx-sub { color: var(--muted); font-size: 14px; margin-bottom: 22px; }
.hx-price ul { list-style: none; margin-bottom: 26px; }
.hx-price li { padding: 10px 0 10px 26px; position: relative; border-top: 1px solid var(--line); font-size: 15px; }
.hx-price li::before { content: ""; position: absolute; left: 0; top: 18px; width: 13px; height: 2px; background: var(--accent); }
.hx-price .hx-btn { margin-top: auto; justify-content: center; }

.hx-prose { max-width: 820px; margin: 0 auto; }
.hx-prose .hx-lead { font-size: 19px; color: var(--ink); line-height: 1.6; margin-bottom: 8px; }
.hx-prose h2 { font-size: clamp(24px, 4vw, 34px); font-weight: 600; margin: 40px 0 14px; }
.hx-prose h3 { font-size: 20px; font-weight: 600; margin: 26px 0 10px; }
.hx-prose p { color: var(--muted); margin-bottom: 16px; }
.hx-prose ul, .hx-prose ol { margin: 0 0 18px 22px; color: var(--muted); }
.hx-prose li { margin-bottom: 9px; }
.hx-prose a { color: var(--accent); text-decoration: underline; }
.hx-prose strong { color: var(--ink); }

.hx-qa { border-top: 1px solid var(--line); margin-top: 8px; }
.hx-qa-item { padding: 24px 4px; border-bottom: 1px solid var(--line); }
.hx-qa-item h3 { font-size: 20px; font-weight: 600; margin-bottom: 8px; }
.hx-qa-item p { color: var(--muted); margin: 0; }

/* ============================================================ PAGEHEAD */
.hx-pagehead { position: relative; color: #fff; background: var(--dark); min-height: 340px; display: flex; align-items: flex-end; background-size: cover; background-position: center; padding: 100px 0 56px; }
.hx-pagehead::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(15,16,19,.5), rgba(15,16,19,.85)); }
.hx-pagehead .hx-wrap { position: relative; z-index: 2; }
.hx-pagehead h1 { font-size: clamp(34px, 6vw, 64px); font-weight: 600; max-width: 18ch; }
.hx-pagehead h1 em { font-style: italic; color: #ff8f97; }
.hx-pagehead p { color: #d7d9de; max-width: 620px; margin-top: 16px; font-size: 17px; }
.hx-crumbs { margin-top: 18px; font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted-2); }
.hx-crumbs a { color: #ff8f97; }

/* ============================================================ CONTACT */
.hx-contact { display: grid; grid-template-columns: 1fr; gap: 34px; }
.hx-contact-list { list-style: none; }
.hx-contact-list li { display: flex; gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.hx-contact-list .hx-ci { width: 44px; height: 44px; flex: none; border-radius: 50%; background: var(--paper-2); color: var(--accent); display: flex; align-items: center; justify-content: center; }
.hx-contact-list .hx-ci svg { width: 21px; height: 21px; }
.hx-contact-list b { font-family: var(--body); text-transform: uppercase; letter-spacing: 0.12em; font-size: 12px; color: var(--muted); display: block; margin-bottom: 3px; }
.hx-contact-list a, .hx-contact-list span { color: var(--ink); font-size: 16px; }
.hx-contact-list a:hover { color: var(--accent); }
.hx-map { min-height: 340px; border: 1px solid var(--line); }
.hx-map iframe { width: 100%; height: 100%; min-height: 340px; border: 0; display: block; }

/* ============================================================ FOOTER */
.hx-footer { background: var(--dark-2); color: #b4b6bd; padding: 70px 0 0; }
.hx-footer-cols { display: grid; grid-template-columns: 1fr; gap: 40px; padding-bottom: 48px; }
.hx-footer .hx-logo { color: #fff; }
.hx-footer p { font-size: 14.5px; color: #8d9099; margin: 16px 0; max-width: 42ch; }
.hx-footer h4 { font-family: var(--body); text-transform: uppercase; letter-spacing: 0.14em; font-size: 13px; color: #fff; margin-bottom: 18px; font-weight: 700; }
.hx-footer ul { list-style: none; }
.hx-footer li { margin-bottom: 12px; }
.hx-footer a { color: #b4b6bd; font-size: 14.5px; }
.hx-footer a:hover { color: #ff8f97; }
.hx-footer-contact li { display: flex; gap: 10px; }
.hx-footer-contact svg { width: 17px; height: 17px; color: var(--accent); flex: none; margin-top: 3px; }
.hx-footer-bottom { border-top: 1px solid var(--line-dark); padding: 24px 0; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: 13px; color: #71747c; }
.hx-footer-bottom a { color: #71747c; }
.hx-footer-bottom a:hover { color: #ff8f97; }
.hx-footer-bottom nav { display: flex; gap: 18px; flex-wrap: wrap; }

/* ============================================================ COOKIE */
.hx-cookie { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 90; max-width: 1060px; margin: 0 auto; background: var(--ink); color: #e7e8ec; border-radius: 6px; padding: 22px 24px; display: none; grid-template-columns: 1fr; gap: 16px; align-items: center; box-shadow: 0 24px 60px rgba(0,0,0,.4); }
.hx-cookie.is-visible { display: grid; }
.hx-cookie p { font-size: 14px; color: #c7c9cf; margin: 0; }
.hx-cookie a { color: #ff8f97; text-decoration: underline; }
.hx-cookie-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hx-cookie-actions button { font-family: var(--body); font-weight: 700; font-size: 13px; padding: 11px 20px; border-radius: 100px; cursor: pointer; border: 2px solid var(--accent); text-transform: uppercase; letter-spacing: 0.04em; }
.hx-cookie-actions .hx-ck-all { background: var(--accent); color: #fff; }
.hx-cookie-actions .hx-ck-all:hover { background: var(--accent-2); border-color: var(--accent-2); }
.hx-cookie-actions .hx-ck-min { background: transparent; color: #fff; border-color: rgba(255,255,255,.4); }
.hx-cookie-actions .hx-ck-min:hover { border-color: #fff; }

/* ============================================================ RESPONSIVE */
@media (min-width: 720px) {
  .hx-thumbs { grid-template-columns: repeat(2, 1fr); }
  .hx-reviews { grid-template-columns: repeat(3, 1fr); }
  .hx-cards { grid-template-columns: repeat(3, 1fr); }
  .hx-price-grid { grid-template-columns: repeat(3, 1fr); }
  .hx-contact { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 900px) {
  .hx-thumbs { grid-template-columns: repeat(4, 1fr); }
  .hx-pick-grid { grid-template-columns: 1fr 1fr; gap: 64px; }
  .hx-pick.is-rev .hx-pick-media { order: 2; }
  .hx-pick-media img { min-height: 440px; }
}
@media (max-width: 899px) {
  .hx-burger { display: block; }
  .hx-nav { position: fixed; inset: 0 0 0 auto; width: min(330px, 84vw); background: #fff; padding: 96px 32px 32px; transform: translateX(100%); transition: transform .32s ease; z-index: 55; box-shadow: -20px 0 50px rgba(0,0,0,.2); }
  .hx-nav.is-open { transform: translateX(0); }
  .hx-nav ul { flex-direction: column; align-items: flex-start; gap: 4px; }
  .hx-nav a { display: block; width: 100%; padding: 13px 0; border-bottom: 1px solid var(--line); }
  .hx-head-cta .hx-phone { display: none; }
  .hx-section { padding: 58px 0; }
  .hx-pick { padding: 50px 0; }
}
