/* ============================================================
   clarenix — professional cleaning, experienced team (Łódź)
   Style: editorial split-hero, deep navy + warm terracotta accent,
   hairline dividers, B&W portraiture, restrained serif headlines.
   Type: Fraunces (display serif) + DM Sans (body)
   ============================================================ */

:root {
  --navy: #263470;
  --navy-2: #1d2757;
  --navy-3: #151d43;
  --paper: #ffffff;
  --paper-2: #f4f2ec;
  --ink: #1b2033;
  --muted: #6b7180;
  --muted-2: #9aa0ac;
  --line: #e4e2da;
  --line-navy: rgba(255, 255, 255, 0.16);
  --accent: #d16a2c;
  --accent-2: #b9591f;
  --wrap: 1220px;
  --display: "Fraunces", Georgia, "Times New Roman", serif;
  --body: "DM Sans", -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: 500; line-height: 1.12; letter-spacing: -0.01em; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.cx-wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 30px; }
.cx-narrow { max-width: 900px; margin: 0 auto; }

.cx-eyebrow { font-family: var(--body); text-transform: uppercase; letter-spacing: 0.24em; font-size: 12px; font-weight: 600; color: var(--accent); display: inline-block; }
.cx-rule { width: 46px; height: 2px; background: var(--accent); margin: 16px 0 22px; }
.cx-eyebrow.is-light { color: #e79a63; }

.cx-btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--body); font-weight: 600; font-size: 14px; letter-spacing: 0.02em;
  padding: 14px 28px; border: 1.5px solid var(--navy); background: var(--navy); color: #fff;
  cursor: pointer; border-radius: 3px; transition: background .25s, border-color .25s, color .25s;
}
.cx-btn:hover { background: var(--navy-2); border-color: var(--navy-2); }
.cx-btn.is-outline { background: transparent; color: var(--navy); }
.cx-btn.is-outline:hover { background: var(--navy); color: #fff; }
.cx-btn.is-accent { background: var(--accent); border-color: var(--accent); }
.cx-btn.is-accent:hover { background: var(--accent-2); border-color: var(--accent-2); }
.cx-btn.is-light { border-color: rgba(255,255,255,.5); background: transparent; color: #fff; }
.cx-btn.is-light:hover { background: #fff; color: var(--navy); border-color: #fff; }

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

/* ============================================================ HERO */
.cx-hero { display: grid; grid-template-columns: 1fr; }
.cx-hero-media { min-height: 320px; background-size: cover; background-position: center; }
.cx-hero-panel { background: var(--navy); color: #fff; padding: 64px 30px; display: flex; flex-direction: column; justify-content: center; }
.cx-hero-panel .cx-eyebrow { color: #e79a63; }
.cx-hero-meta { font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--muted-2); margin-bottom: 20px; }
.cx-hero-panel h1 { font-family: var(--display); font-weight: 400; font-size: clamp(38px, 6vw, 62px); line-height: 1.05; letter-spacing: -0.02em; margin-bottom: 22px; }
.cx-hero-panel h1 em { font-style: italic; color: #f0b184; }
.cx-hero-panel p { color: #c7cbe0; max-width: 46ch; margin-bottom: 14px; }
.cx-hero-explore { margin-top: 26px; display: inline-flex; align-items: center; gap: 10px; font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; color: #fff; }
.cx-hero-explore span { width: 30px; height: 30px; border: 1px solid rgba(255,255,255,.4); border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; }
.cx-hero-explore svg { width: 15px; height: 15px; }

/* ============================================================ DIVIDER + SECTION */
.cx-divider { border-top: 1px solid var(--line); }
.cx-section { padding: 88px 0; }
.cx-section.is-grey { background: var(--paper-2); }
.cx-section.is-navy { background: var(--navy); color: #fff; }

/* ============================================================ ALT SPREAD */
.cx-spread { display: grid; grid-template-columns: 1fr; gap: 40px; align-items: center; }
.cx-spread-media img { width: 100%; height: 100%; object-fit: cover; min-height: 320px; }
.cx-spread-body h2 { font-size: clamp(28px, 4.5vw, 42px); font-weight: 400; margin-bottom: 20px; }
.cx-spread-body h2 em { font-style: italic; color: var(--accent); }
.cx-spread-body p { color: var(--muted); margin-bottom: 16px; }
.cx-spread-body .cx-lead { font-size: 18px; color: var(--ink); }

/* portrait spread (B&W) */
.cx-profile { display: grid; grid-template-columns: 1fr; gap: 40px; align-items: center; }
.cx-profile.is-reverse .cx-profile-media { order: -1; }
.cx-profile-media img { width: 100%; filter: grayscale(100%) contrast(1.02); transition: filter .5s ease; }
.cx-profile-media img:hover { filter: grayscale(0%); }
.cx-profile-body h2 { font-size: clamp(28px, 4vw, 40px); font-weight: 400; margin-bottom: 6px; }
.cx-role { font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin-bottom: 18px; }
.cx-profile-body p { color: var(--muted); margin-bottom: 16px; }
.cx-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 14px; color: var(--navy); border-bottom: 1.5px solid var(--accent); padding-bottom: 3px; }
.cx-link:hover { color: var(--accent); }

/* ============================================================ SERVICES LIST */
.cx-sec-head { margin-bottom: 44px; max-width: 720px; }
.cx-sec-head.is-center { text-align: center; margin-left: auto; margin-right: auto; }
.cx-sec-head h2 { font-size: clamp(30px, 5vw, 48px); font-weight: 400; }
.cx-sec-head h2 em { font-style: italic; color: var(--accent); }
.cx-sec-head p { color: var(--muted); margin-top: 14px; font-size: 17px; }
.cx-slist { border-top: 1px solid var(--line); }
.cx-srow { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 20px; padding: 26px 6px; border-bottom: 1px solid var(--line); transition: padding-left .3s ease, background .3s ease; }
.cx-srow:hover { padding-left: 18px; background: linear-gradient(90deg, rgba(209,106,44,.06), transparent); }
.cx-srow-main { display: flex; align-items: baseline; gap: 20px; }
.cx-srow-num { font-family: var(--display); font-size: 15px; color: var(--accent); font-weight: 600; }
.cx-srow h3 { font-size: clamp(21px, 3vw, 28px); font-weight: 400; }
.cx-srow p { color: var(--muted); font-size: 15px; margin-top: 4px; max-width: 60ch; }
.cx-srow-arrow { width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 50%; display: flex; align-items: center; justify-content: center; flex: none; transition: background .3s, border-color .3s, color .3s; }
.cx-srow:hover .cx-srow-arrow { background: var(--accent); border-color: var(--accent); color: #fff; }
.cx-srow-arrow svg { width: 18px; height: 18px; }

/* ============================================================ CONTACT BAND (navy) */
.cx-contact-head { max-width: 760px; margin-bottom: 44px; }
.cx-contact-head h2 { font-size: clamp(30px, 5vw, 50px); font-weight: 400; }
.cx-contact-head p { color: #c7cbe0; margin-top: 16px; font-size: 17px; max-width: 60ch; }
.cx-contact-grid { display: grid; grid-template-columns: 1fr; gap: 30px; margin-bottom: 46px; }
.cx-detail { border-top: 1px solid var(--line-navy); padding-top: 20px; }
.cx-detail .cx-k { font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--accent); font-weight: 600; display: block; margin-bottom: 10px; }
.cx-detail a, .cx-detail span { color: #fff; font-size: 17px; display: block; }
.cx-detail a:hover { color: #f0b184; }
.cx-detail small { color: var(--muted-2); font-size: 13px; display: block; margin-top: 6px; }
.cx-map { min-height: 340px; border: 1px solid var(--line-navy); }
.cx-map iframe { width: 100%; height: 100%; min-height: 340px; border: 0; display: block; }

/* ============================================================ TIMELINE */
.cx-timeline { border-top: 1px solid var(--line); }
.cx-tstep { display: grid; grid-template-columns: 60px 1fr; gap: 20px; padding: 30px 4px; border-bottom: 1px solid var(--line); }
.cx-tstep-num { font-family: var(--display); font-size: 26px; font-weight: 500; color: var(--accent); }
.cx-tstep h3 { font-size: clamp(20px, 3vw, 26px); font-weight: 400; margin-bottom: 8px; }
.cx-tstep p { color: var(--muted); font-size: 15.5px; max-width: 70ch; }

/* ============================================================ CTA CLOSER */
.cx-closer { display: grid; grid-template-columns: 1fr; gap: 46px; }
.cx-closer-main h2 { font-size: clamp(30px, 5vw, 46px); font-weight: 400; margin-bottom: 18px; }
.cx-closer-main h2 em { font-style: italic; color: var(--accent); }
.cx-closer-main p { color: var(--muted); margin-bottom: 26px; max-width: 52ch; }
.cx-closer-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.cx-closer-aside { display: grid; gap: 22px; align-content: start; }
.cx-mini { border-top: 1px solid var(--line); padding-top: 16px; }
.cx-mini .cx-k { font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--accent); font-weight: 600; display: block; margin-bottom: 8px; }
.cx-mini a { font-family: var(--display); font-size: 20px; color: var(--ink); display: inline-flex; align-items: center; gap: 8px; }
.cx-mini a:hover { color: var(--accent); }

/* ============================================================ PROSE / CARDS / FAQ */
.cx-pagehead { position: relative; color: #fff; background: var(--navy); overflow: hidden; }
.cx-pagehead-media { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: .28; }
.cx-pagehead .cx-wrap { position: relative; z-index: 2; padding: 96px 30px 76px; }
.cx-pagehead h1 { font-size: clamp(34px, 6vw, 62px); font-weight: 400; max-width: 18ch; }
.cx-pagehead h1 em { font-style: italic; color: #f0b184; }
.cx-pagehead p { color: #c7cbe0; max-width: 620px; margin-top: 18px; font-size: 17px; }
.cx-crumbs { margin-top: 20px; font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted-2); }
.cx-crumbs a { color: #f0b184; }

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

.cx-cards { display: grid; grid-template-columns: 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.cx-card { background: var(--paper); padding: 32px 28px; }
.cx-card .cx-k { font-family: var(--display); font-size: 15px; color: var(--accent); font-weight: 600; }
.cx-card h3 { font-size: 22px; font-weight: 400; margin: 12px 0 10px; }
.cx-card p { color: var(--muted); font-size: 15px; }

.cx-qa { border-top: 1px solid var(--line); margin-top: 10px; }
.cx-qa-item { padding: 24px 4px; border-bottom: 1px solid var(--line); }
.cx-qa-item h3 { font-size: 20px; font-weight: 500; margin-bottom: 8px; }
.cx-qa-item p { color: var(--muted); margin: 0; max-width: 75ch; }

/* ============================================================ FOOTER */
.cx-footer { background: var(--navy-3); color: #b9bed4; padding: 70px 0 0; }
.cx-footer-cols { display: grid; grid-template-columns: 1fr; gap: 40px; padding-bottom: 48px; }
.cx-footer .cx-logo b { color: #fff; }
.cx-footer h4 { font-family: var(--body); text-transform: uppercase; letter-spacing: 0.16em; font-size: 13px; color: #fff; margin: 18px 0 18px; font-weight: 600; }
.cx-footer p { font-size: 14.5px; color: #8f96b3; margin-bottom: 14px; max-width: 44ch; }
.cx-footer ul { list-style: none; }
.cx-footer li { margin-bottom: 12px; }
.cx-footer a { color: #b9bed4; font-size: 14.5px; }
.cx-footer a:hover { color: #f0b184; }
.cx-footer-contact li { display: flex; gap: 10px; }
.cx-footer-contact svg { width: 17px; height: 17px; color: var(--accent); flex: none; margin-top: 3px; }
.cx-footer-bottom { border-top: 1px solid var(--line-navy); padding: 24px 0; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: 13px; color: #7078a0; }
.cx-footer-bottom a { color: #7078a0; }
.cx-footer-bottom a:hover { color: #f0b184; }
.cx-footer-bottom nav { display: flex; gap: 18px; flex-wrap: wrap; }

/* ============================================================ COOKIE */
.cx-cookie { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 90; max-width: 1060px; margin: 0 auto; background: var(--navy-2); color: #dfe2f0; border: 1px solid var(--line-navy); border-radius: 4px; padding: 22px 24px; display: none; grid-template-columns: 1fr; gap: 16px; align-items: center; box-shadow: 0 24px 60px rgba(0,0,0,.35); }
.cx-cookie.is-visible { display: grid; }
.cx-cookie p { font-size: 14px; color: #c7cbe0; margin: 0; }
.cx-cookie a { color: #f0b184; text-decoration: underline; }
.cx-cookie-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.cx-cookie-actions button { font-family: var(--body); font-weight: 600; font-size: 13px; padding: 11px 20px; border-radius: 3px; cursor: pointer; border: 1.5px solid var(--accent); }
.cx-cookie-actions .cx-ck-all { background: var(--accent); color: #fff; }
.cx-cookie-actions .cx-ck-all:hover { background: var(--accent-2); border-color: var(--accent-2); }
.cx-cookie-actions .cx-ck-min { background: transparent; color: #fff; border-color: rgba(255,255,255,.4); }
.cx-cookie-actions .cx-ck-min:hover { border-color: #fff; }

/* ============================================================ RESPONSIVE */
@media (min-width: 780px) {
  .cx-hero { grid-template-columns: 1fr 1fr; }
  .cx-hero-media { min-height: 620px; }
  .cx-hero-panel { padding: 80px 60px; }
  .cx-spread { grid-template-columns: 1fr 1fr; gap: 64px; }
  .cx-spread.is-reverse .cx-spread-media { order: 2; }
  .cx-profile { grid-template-columns: 0.85fr 1.15fr; gap: 60px; }
  .cx-profile.is-reverse { grid-template-columns: 1.15fr 0.85fr; }
  .cx-profile.is-reverse .cx-profile-media { order: 2; }
  .cx-contact-grid { grid-template-columns: repeat(3, 1fr); }
  .cx-contact-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: start; }
  .cx-closer { grid-template-columns: 1.4fr 1fr; }
  .cx-cards { grid-template-columns: repeat(3, 1fr); }
  .cx-footer-cols { grid-template-columns: 1.6fr 1fr 1fr; }
  .cx-tstep { grid-template-columns: 80px 1fr; }
}
@media (min-width: 1000px) {
  .cx-spread-media img { min-height: 480px; }
}
@media (max-width: 899px) {
  .cx-burger { display: block; }
  .cx-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); }
  .cx-nav.is-open { transform: translateX(0); }
  .cx-nav ul { flex-direction: column; align-items: flex-start; gap: 4px; }
  .cx-nav a { display: block; width: 100%; padding: 13px 0; border-bottom: 1px solid var(--line); }
  .cx-head-cta .cx-phone { display: none; }
  .cx-section { padding: 60px 0; }
}
