/* =========================================================
   SZAFIR – Pracownia Złotnicza
   Mobile-first, bez frameworków. Breakpointy: 640 / 1024
   ========================================================= */

:root {
  --navy: #0a1f44;
  --navy-deep: #07152f;
  --navy-soft: #12305f;
  --gold: #d9b36c;
  --gold-dark: #b8914a;
  --cream: #f7f4ee;
  --beige: #f3e6cf;
  --ink: #1b2a45;
  --muted: #5f6b80;
  --line: #e6e8ee;
  --white: #fff;
  --bg: #f7f4ee;

  --font-serif: "Cormorant Garamond", "Playfair Display", Georgia, "Times New Roman", serif;
  --font-sans: "DM Sans", "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;

  --radius: 6px;
  --header-h: 64px;
  --container: 1200px;
  --shadow: 0 6px 24px rgba(10, 31, 68, .08);
}

*, *::before, *::after { box-sizing: border-box; }
html { font-size: 106.25%; -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--white);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { font-family: var(--font-serif); color: var(--navy); line-height: 1.2; font-weight: 600; }

.icon { width: 1.5rem; height: 1.5rem; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.icon--sm { width: 1.05rem; height: 1.05rem; stroke-width: 1.8; }

.container { width: min(var(--container), 100% - 32px); margin-inline: auto; }

.skip-link {
  position: absolute; left: 1rem; top: -4rem; z-index: 100;
  background: var(--gold); color: var(--navy); padding: .6rem 1rem; border-radius: var(--radius); font-weight: 700;
}
.skip-link:focus { top: .75rem; }

:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

/* ---------- Przyciski ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  min-height: 48px; padding: .75rem 1.6rem;
  font: 700 .78rem/1 var(--font-sans); letter-spacing: .08em; text-transform: uppercase;
  border: 1px solid transparent; border-radius: 3px; cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s, transform .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn--gold { background: var(--gold); color: var(--navy); }
.btn--gold:hover { background: #e4c17e; }
.btn--navy { background: var(--navy); color: var(--white); }
.btn--navy:hover { background: var(--navy-soft); }
.btn--outline { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn--outline:hover { background: var(--navy); color: var(--white); }
.btn--outline-light { background: transparent; color: var(--white); border-color: rgba(255,255,255,.55); }
.btn--outline-light:hover { border-color: var(--gold); color: var(--gold); }
.btn--block { display: flex; width: 100%; }

/* ---------- Nagłówek ---------- */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: var(--navy);
  border-bottom: 1px solid rgba(217,179,108,.35);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); position: relative; z-index: 70; }

.logo { display: inline-flex; align-items: center; gap: .65rem; color: var(--white); }
.header-inner .logo { position: relative; z-index: 70; }
.logo__mark { width: 2.2rem; height: 2.2rem; color: var(--white); stroke-width: 1.1; }
.logo__text { display: flex; flex-direction: column; line-height: 1; }
.logo__name { font-family: var(--font-serif); font-size: 1.65rem; letter-spacing: .12em; font-weight: 500; }
.logo__sub { font-size: .52rem; letter-spacing: .22em; text-transform: uppercase; margin-top: .25rem; color: rgba(255,255,255,.85); }

.header-actions { display: flex; align-items: center; gap: .25rem; color: var(--white); }
.menu-btn { display: grid; place-items: center; width: 44px; height: 44px; cursor: pointer; color: var(--white); }
.menu-btn:hover { color: var(--gold); }
.header-phone { display: none; } /* ikona telefonu w nagłówku usunięta (tablet i telefon) */

.nav-toggle { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.nav-toggle:focus-visible ~ .header-actions .menu-btn { outline: 2px solid var(--gold); outline-offset: 2px; }
.menu-btn .icon-close { display: none; }
.nav-toggle:checked ~ .header-actions .menu-btn .icon-open { display: none; }
.nav-toggle:checked ~ .header-actions .menu-btn .icon-close { display: block; }

/* menu mobilne / tabletowe – panel pełnoekranowy */
.main-nav {
  position: fixed; inset: 0; z-index: 65;
  display: none; overflow-y: auto;
  padding: calc(var(--header-h) + 1.25rem) 1rem 2rem;
  background: var(--navy);
}
.nav-toggle:checked ~ .main-nav { display: block; overscroll-behavior: contain; }
/* otwarte menu: strona pod spodem się nie przewija */
html:has(.nav-toggle:checked), body:has(.nav-toggle:checked) { overflow: hidden; }
@media (min-width: 1024px) {
  html:has(.nav-toggle:checked), body:has(.nav-toggle:checked) { overflow: visible; }
}
.nav-toggle:checked ~ .header-actions { position: relative; z-index: 70; }
.main-nav__inner { width: min(520px, 100%); margin-inline: auto; }
.main-nav ul { border-top: 1px solid rgba(255,255,255,.14); }
.main-nav li { border-bottom: 1px solid rgba(255,255,255,.14); }
.main-nav li a {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 52px; padding: .5rem .25rem; color: var(--white); font-size: .98rem;
}
.main-nav li a .icon { width: 1rem; height: 1rem; opacity: .8; }
.main-nav li a:hover, .main-nav li a[aria-current="page"] { color: var(--gold); }
.nav-cta { display: grid; gap: .75rem; margin-top: 0rem; }
.nav-social { display: flex; justify-content: center; gap: 1.5rem; margin-top: 1.75rem; color: var(--white); }
.nav-social a:hover { color: var(--gold); }

@media (min-width: 1024px) {
  :root { --header-h: 80px; }
  .header-actions, .nav-toggle { display: none; }
  .logo__mark { width: 2.7rem; height: 2.7rem; }
  .logo__name { font-size: 1.9rem; }
  .main-nav {
    position: static; display: block; overflow: visible; padding: 0; background: none; z-index: auto;
  }
  .main-nav__inner { width: auto; }
  .main-nav ul { display: flex; gap: 1.6rem; border: 0; }
  .main-nav li { border: 0; }
  .main-nav li a {
    min-height: 0; padding: .3rem 0; font-size: .95rem; font-weight: 500; letter-spacing: .01em;
    border-bottom: 2px solid transparent;
  }
  .main-nav li a .icon { display: none; }
  .main-nav li a[aria-current="page"] { border-bottom-color: var(--gold); }
  .nav-cta, .nav-social { display: none; }
  .nav-cta .btn { display: none; }
}

/* ---------- Okruszki ---------- */
.breadcrumbs { background: var(--bg); border-bottom: 1px solid var(--line); font-size: .8rem; color: var(--muted); }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: .4rem; padding: .7rem 0; margin: 0; list-style: none; }
.breadcrumbs li + li::before { content: "/"; margin-right: .4rem; color: #b6bcc9; }
.breadcrumbs a:hover { color: var(--navy); text-decoration: underline; }

/* ---------- Hero ---------- */
.hero { position: relative; isolation: isolate; color: var(--white); background: var(--navy-deep); }
.hero__img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
/* neutralne (czarne, nie niebieskie) przyciemnienie tylko pod tekstem – zdjęcie poza nim zostaje w oryginale */
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(180deg, rgba(0,0,0,0) 22%, rgba(0,0,0,.55) 58%, rgba(0,0,0,.8) 100%);
}
.hero h1, .hero__tags, .hero__lead { text-shadow: 0 1px 2px rgba(0,0,0,.8), 0 2px 14px rgba(0,0,0,.65); }
.hero__tags { color: #f3d28f; font-weight: 700; }
.hero__lead { color: #fff; }
.hero__content { padding: 3rem 0 3.25rem; min-height: 460px; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; text-align: center; }
.hero h1 { color: var(--white); font-size: clamp(2.1rem, 6vw, 4rem); font-weight: 500; letter-spacing: .005em; }
.hero__tags { margin-top: .9rem; font-size: 1.4rem; letter-spacing: .05em; text-transform: uppercase; color: var(--gold); }
.hero__lead {
  margin-top: 1.1rem; max-width: 34rem; font-size: 1.2rem; font-weight: 500; line-height: 1.6; color: #fff;
  /* mocniejszy cień: tekst odcina się od zdjęcia, nie zmieniając samego zdjęcia */
  text-shadow: 0 1px 2px rgba(0,0,0,.95), 0 2px 8px rgba(0,0,0,.85), 0 4px 22px rgba(0,0,0,.75);
}
.hero .btn { margin-top: 1.6rem; }

@media (min-width: 1024px) {
  /* komputer: ciemna miękka plama tylko za tekstem (po lewej), reszta zdjęcia zostaje jasna */
  .hero::after { background: radial-gradient(ellipse 46% 70% at 15% 52%, rgba(0,0,0,.72) 0%, rgba(0,0,0,.58) 50%, rgba(0,0,0,0) 100%); }
  .hero__content { min-height: 600px; justify-content: center; align-items: flex-start; text-align: left; padding-block: 4rem; }
  .hero__tags { margin-top: 1.4rem; }
  .hero__lead { margin-top: 1.5rem; max-width: 30rem; }
  .hero .btn { margin-top: 2rem; }
}

/* ---------- Pasek kategorii ---------- */
.quick-nav { background: var(--navy); border-bottom: 1px solid rgba(217,179,108,.25); }
.quick-nav ul { display: grid; grid-template-columns: repeat(4, 1fr); }
.quick-nav li + li { border-left: 1px solid rgba(255,255,255,.18); }
.quick-nav a {
  display: flex; flex-direction: column; align-items: center; gap: .55rem;
  padding: 1.3rem .25rem; color: var(--white); font-size: 1.1rem; text-align: center;
}
.quick-nav a .icon { color: var(--gold); width: 2rem; height: 2rem; stroke-width: 1.2; }
.quick-nav a:hover { color: var(--gold); }
@media (min-width: 1024px) {
  .quick-nav ul { width: min(900px, 100%); margin-inline: auto; }
  .quick-nav a { font-size: 1.2rem; padding: 1.6rem .7rem; }
  .quick-nav a .icon { width: 2.4rem; height: 2.4rem; }
}

/* ---------- Sekcje ---------- */
.section { padding: 2rem 0; }
.section--cream { background: var(--cream); }
.section__title { font-size: clamp(1.7rem, 4vw, 2.4rem); text-align: center; }
.section__title::after { content: ""; display: block; width: 56px; height: 2px; background: var(--gold); margin: .9rem auto 0; }
.section__lead { max-width: 40rem; margin: 1rem auto 0; text-align: center; color: var(--muted); }
.eyebrow { display: block; font-size: .72rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-dark); margin-bottom: .75rem; }

/* karty zalet */
.features { display: grid; grid-template-columns: 1fr 1fr; gap: .85rem; padding: 1.5rem 0; }
.feature { padding: 1.25rem 1.1rem; background: var(--white); border: 1px solid #b1b1b1; border-radius: var(--radius); }
.feature .icon { color: var(--gold); width: 2rem; height: 2rem; stroke-width: 1.2; margin-bottom: .8rem; }
.feature h3 { font-size: 1.5rem; margin-bottom: .35rem; }
.feature p { font-size: .88rem; color: var(--muted); line-height: 1.5; }
@media (min-width: 1024px) {
  .features { grid-template-columns: repeat(4, 1fr); gap: 1.25rem; padding: 4rem 0; }
  .feature { padding: 1.6rem 1.4rem; }
}

/* ---------- Kafelki produktów / oferty ---------- */
.tile-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .85rem; margin-top: 2rem; }
.tile { display: block; background: var(--white); border: 1px solid #b1b1b1; border-radius: var(--radius); overflow: hidden; transition: box-shadow .25s, transform .25s; }
.tile:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.tile img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; background: var(--cream); }
.tile__label { display: flex; align-items: center; justify-content: space-between; gap: .5rem; padding: .7rem .85rem; font-size: .82rem; font-weight: 600; color: var(--navy); }
.tile__label .icon { width: .9rem; height: .9rem; stroke-width: 2; }
@media (min-width: 1024px) {
  .tile-grid { grid-template-columns: repeat(4, 1fr); gap: 1.4rem; }
  .tile__label { font-size: .92rem; padding: .9rem 1rem; }
}

/* ---------- Podstrony: baner i wstęp ---------- */
.banner img { width: 100%; height: 190px; object-fit: cover; }
@media (min-width: 640px) { .banner img { height: 280px; } }
@media (min-width: 1024px) { .banner img { height: 360px; } }

.page-intro { padding: 2rem 0 .5rem; }
.page-intro h1 { font-size: clamp(2rem, 5vw, 3rem); font-weight: 500; }
.page-intro p { margin-top: 1rem; max-width: 86rem; color: var(--muted); }
.page-intro--center { text-align: center; }
.page-intro--center p { margin-inline: auto; }

.prose { max-width: 48rem; }
.prose h2 { font-size: 1.6rem; margin: 2rem 0 .75rem; }
.prose p { color: var(--muted); margin-bottom: 1rem; }
.prose ul { margin: 0 0 1rem 1.1rem; list-style: disc; color: var(--muted); }

/* listy z ikonami */
.icon-list { margin-top: .1rem; max-width: 40rem; }
.icon-list li { display: flex; align-items: center; gap: 1rem; padding: 1.25rem 1.25rem; border-bottom: 1px solid var(--line); font-size: .98rem; color: var(--ink); }
.icon-list .icon { color: var(--navy); width: 1.5rem; height: 1.5rem; stroke-width: 1.5; }
.icon-list--detail li { align-items: flex-start; }
.icon-list--detail strong { display: block; font-weight: 600; color: var(--navy); }
.icon-list--detail span { display: block; font-size: .9rem; color: var(--muted); }

/* zalety (o nas) */
.reasons { display: grid; gap: 1.5rem; margin-top: 2rem; max-width: 52rem; margin-inline: auto; }
.reason { display: flex; gap: 1rem; align-items: flex-start; }
.reason__icon { flex: none; width: 3.1rem; height: 3.1rem; display: grid; place-items: center; background: var(--beige); border-radius: 50%; color: var(--gold-dark); }
.reason h3 { font-family: var(--font-sans); font-size: 1rem; font-weight: 700; margin-bottom: .2rem; }
.reason p { font-size: .9rem; color: var(--muted); line-height: 1.5; }
@media (min-width: 1024px) { .reasons { grid-template-columns: 1fr 1fr; gap: 2rem 3rem; } }

/* baner „tradycja i nowoczesność” */
.feature-band { position: relative; isolation: isolate; color: var(--white); background: var(--navy-deep); }
.feature-band img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.feature-band::after { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(7,21,47,.72); }
.feature-band__inner { padding: 3rem 0; min-height: 240px; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 1.25rem; }
.feature-band h2 { color: var(--white); font-size: clamp(1.9rem, 3.6vw, 2.4rem); font-weight: 500; max-width: 28rem; }

/* blok CTA */
.cta-box { background: var(--white); border: 1px solid var(--line); padding: 2.25rem 1.25rem; text-align: center; border-radius: var(--radius); }
.cta-box h2 { font-size: 1.5rem; margin-bottom: .6rem; }
.cta-box p { color: var(--muted); font-size: .92rem; max-width: 30rem; margin: 0 auto 1.4rem; }
.cta-wrap { padding: 2.5rem 0 3.5rem; }

/* artykuły */
.article-list { display: grid; gap: 1rem; margin-top: 1.5rem; }
.article { display: grid; grid-template-columns: 200px 1fr; gap: 1rem; align-items: center; padding: .85rem; background: var(--white); border: 1px solid #b1b1b1; border-radius: var(--radius); }
.article img { width: 200px; height: 200px; object-fit: cover; border-radius: 4px; }
.article h2, .article h3 { font-size: 1.1rem; line-height: 1.3; }
.article p { font-size: .88rem; color: var(--muted); margin-top: .35rem; line-height: 1.5; }
.article time { display: block; margin-top: .45rem; font-size: .78rem; color: #8a93a5; }
@media (min-width: 1024px) {
  .article-list { grid-template-columns: 1fr 1fr; gap: 1.5rem; }
  .article { grid-template-columns: 300px 1fr; padding: 1rem; }
  .article img { width: 300px; height: 300px; }
}

/* kontakt */
.contact-grid { display: grid; gap: 1.5rem; margin-top: 1.5rem; }
.contact-list li { display: flex; gap: 1rem; padding: 1rem 0; border-bottom: 1px solid var(--line); }
.contact-list .icon { color: var(--navy); width: 1.6rem; height: 1.6rem; margin-top: .2rem; }
.contact-list small { display: block; font-size: .78rem; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; }
.contact-list a:hover { color: var(--gold-dark); text-decoration: underline; }
.map-card { position: relative; display: block; min-height: 220px; border-radius: var(--radius); overflow: hidden; background: #e7eef0; border: 1px solid var(--line); }
.map-card img { width: 100%; height: 100%; min-height: 220px; object-fit: cover; }
.map-card__pin { position: absolute; left: 50%; top: 42%; transform: translate(-50%, -50%); color: #d33a3a; }
.map-card__pin .icon { width: 2.6rem; height: 2.6rem; fill: currentColor; stroke: #fff; }
.map-card__city { position: absolute; left: 50%; top: 58%; transform: translateX(-50%); font-weight: 700; color: var(--navy); background: rgba(255,255,255,.85); padding: .1rem .6rem; border-radius: 3px; }
.contact-actions { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; margin-top: 1rem; }
.shop-photo { border-radius: var(--radius); overflow: hidden; }
.shop-photo img { width: 100%; height: 100%; max-height: 360px; object-fit: cover; }
@media (min-width: 1024px) {
  .contact-grid { grid-template-columns: 1fr 1fr; gap: 3rem; align-items: start; }
}

/* ---------- Stopka ---------- */
.site-footer { background: var(--navy-deep); color: rgba(255,255,255,.82); font-size: .9rem; }
.footer-grid { display: grid; gap: 2rem; padding: 3rem 0 2rem; }
.footer-grid h2 { font-family: var(--font-sans); font-size: .78rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); margin-bottom: 1rem; }
.footer-grid li + li { margin-top: .5rem; }
.footer-grid a:hover { color: var(--gold); }
.footer-about p { margin-top: 1rem; max-width: 26rem; line-height: 1.6; }
.footer-contact address { font-style: normal; line-height: 1.7; }
.footer-social { display: flex; gap: 1rem; margin-top: 1rem; }
.footer-social a { display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid rgba(255,255,255,.25); border-radius: 50%; }
.footer-social a:hover { border-color: var(--gold); color: var(--gold); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); padding: 1.1rem 0; font-size: .8rem; color: rgba(255,255,255,.6); text-align: center; }
/*@media (min-width: 640px) { .footer-grid { grid-template-columns: 1fr 1fr; } }*/
@media (min-width: 1024px) { .footer-grid { grid-template-columns: 1.5fr 1fr 1.2fr; gap: 3rem; } }

/* ---------- Tablet ---------- */
@media (min-width: 640px) {
  .container { width: min(var(--container), 100% - 48px); }
  .section { padding: 4rem 0; }
  .contact-actions { max-width: 28rem; }
}
@media (min-width: 640px) and (max-width: 1023px) {
  .hero__content { min-height: 520px; }
  .tile-grid { grid-template-columns: repeat(4, 1fr); gap: 1.1rem; }
}

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

@media print {
  .site-header, .quick-nav, .skip-link, .nav-cta { display: none; }
  body { color: #000; }
}

/* =========================================================
   Strona główna – sekcje: oferta, dlaczego my, porady, CTA
   ========================================================= */
.block { padding: 1rem 0; }
.block__title { font-size: clamp(1.8rem, 3.6vw, 2.4rem); font-weight: 500; margin-bottom: 1.0rem; }

.btn--sm { min-height: 42px; padding: .6rem 1.4rem; font-size: .85rem; letter-spacing: .01em; text-transform: none; }
.btn--outline-gold { background: transparent; color: var(--gold); border-color: var(--gold); }
.btn--outline-gold:hover { background: var(--gold); color: var(--navy); }

/* karty oferty */
.offer-grid { display: grid; grid-template-columns: 1fr; gap: 1rem; }
.offer-card {
  position: relative; display: flex; flex-direction: column; overflow: hidden;
  background: var(--white); border: 1px solid #b1b1b1; border-radius: 3px;
  transition: box-shadow .25s, transform .25s;
}
.offer-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.offer-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; background: var(--cream); }
.offer-card__body { display: flex; flex-direction: column; flex: 1; padding: 1.15rem 1.15rem 1.3rem; }
.offer-card h3 { font-size: 1.5rem; font-weight: 500; margin-bottom: .6rem; }
.offer-card h3 a::after { content: ""; position: absolute; inset: 0; z-index: 1; } /* cała karta klikalna */
.offer-card p { font-size: .88rem; line-height: 1.6; margin-top: 1rem; color: var(--muted); }
.offer-card__more { margin-top: auto; padding-top: .9rem; font-size: .9rem; font-weight: 500; color: #7a5a1e; }
.offer-card:hover .offer-card__more { text-decoration: underline; }
@media (min-width: 640px)  { .offer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .offer-grid { grid-template-columns: repeat(4, 1fr); gap: 1.25rem; } }

/* dlaczego Szafir */
.block--why { padding-top: 2rem; padding-bottom: 3.5rem; }
.why { display: grid; gap: 1.75rem; align-items: center; }
.why__list { margin-bottom: 1.5rem; }
.why__list li { margin-bottom: 1rem; font-size: .95rem; line-height: 1.6; color: var(--muted); }
.why__list strong { display: block; color: var(--navy); font-weight: 700; }
.why__media img { width: 80%; aspect-ratio: 1.7 / 1; object-fit: cover; margin-inline: auto; }
@media (min-width: 1024px) {
  .why { grid-template-columns: 1.15fr .85fr; gap: 4rem; }
  .block--why { padding-bottom: 4.5rem; }
}
.block--why .why__media img {
    object-position: right center;
}

/* jubiler radzi */
.block--advice { background: var(--white); border-top: 1px solid var(--line); padding-top: 3rem ; padding-bottom: 6.5rem; }
.advice-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem 1rem; }
.advice { display: block; }
.advice img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; margin-bottom: .8rem; background: var(--cream); }
.advice h3 { font-size: 1.15rem; font-weight: 500; line-height: 1.3; transition: color .2s; }
.advice:hover h3 { color: var(--gold-dark); }
@media (min-width: 1024px) { .advice-grid { grid-template-columns: repeat(4, 1fr); gap: 1.25rem; } }

/* granatowy pasek kontaktowy */
.cta-band { background: var(--navy); color: var(--white); }
.cta-band__inner { display: grid; gap: 1.5rem; align-items: center; padding: 2.5rem 0; }
.cta-band h2 { color: var(--white); font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 500; }
.cta-band p { margin-top: .4rem; font-size: .95rem; color: rgba(255,255,255,.85); }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.cta-band__actions .btn { flex: 1 1 14rem; text-transform: none; letter-spacing: .01em; font-size: .92rem; }
@media (min-width: 1024px) {
  .cta-band__inner { grid-template-columns: 1fr auto; padding: 2.75rem 0; }
  .cta-band__actions .btn { flex: 0 0 auto; }
}

/* =========================================================
   Większa czcionka (tablet + komputer) i węższe marginesy (komputer)
   ========================================================= */
@media (min-width: 640px) {
  html { font-size: 112.5%; }
}
@media (min-width: 1024px) {
  /* marginesy boczne o połowę mniejsze: (szerokość ekranu − 1200 px) / 4, min. 12 px */
  .container { width: min(calc(50% + 600px), 100% - 24px); }
  .split__body { padding-right: max(1rem, calc((100vw - 1200px) / 4)); }
  .main-nav ul { gap: clamp(1rem, 1.6vw, 1.75rem); }
}

/* Jubiler radzi: te same kafelki co w ofercie, ale kolory odwrócone (kafelek kremowy, tło sekcji białe) */
.block--advice { background: var(--white); }
.offer-card--cream { background: var(--bg); border-color: #b1b1b1; }
.offer-card--cream img { background: var(--white); }

.email-reveal {
  background: transparent;
  border: 0;
  padding: 0;
  color: inherit;
  font: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

.email-reveal:hover {
  color: #c5a46d;
}

.email-reveal:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 4px;
}


/* O nas – rozbudowana historia pracowni na białym tle */
.about-story { background: #fff; color: var(--ink); padding: 3rem 0 4rem; }
.about-story__inner { max-width: 1000px; }
.about-story__title { font-size: clamp(2rem, 4vw, 3rem); font-weight: 600; margin-bottom: 2.5rem; }
.about-story__chapter + .about-story__chapter { margin-top: 2.5rem; }
.about-story__chapter h3 { font-size: clamp(1.55rem, 2.7vw, 2rem); margin-bottom: 1rem; }
.about-story__chapter p { color: var(--ink); line-height: 1.8; margin-bottom: 1rem; }
.about-story__chapter strong { color: var(--navy); }
.about-story__chapter ul { list-style: disc; padding-left: 1.5rem; margin: .5rem 0 1.25rem; }
.about-story__chapter li { margin-bottom: .7rem; line-height: 1.7; }
@media (min-width: 640px) { .about-story { padding: 4.5rem 0 5rem; } }

/* Kontakt: czytelne dane na jasnym tle, bez wpływu na stopkę i menu */
.contact-grid .contact-list { color: var(--ink); }
.contact-grid .contact-list li { color: var(--ink); }
.contact-grid .contact-list [data-phone] { color: var(--ink); }
.contact-grid .contact-list .email-reveal { color: var(--navy); font-weight: 600; }
.contact-grid .contact-list .email-reveal:hover { color: var(--gold-dark); }

/* Naprawa biżuterii – czytelny opis pod nagłówkiem */
.block[aria-labelledby="offer-title"] > .container > p {
  color: var(--ink);
}


/* Nagłówek Szafir – jednakowa wysokość belki na wszystkich urządzeniach */
:root { --header-h: 80px; }
.site-header .header-inner { height: var(--header-h); }
.site-header .logo--szafir-image {
  display: inline-flex; flex-direction: column; align-items: center;
  justify-content: center; gap: 0; flex: 0 0 auto;
  color: #fff; text-decoration: none;
}
.site-header .logo--szafir-image__image {
  display: block; width: 160px; height: 40px; object-fit: contain;
}
.site-header .logo--szafir-image__subtitle {
  display: block; color: #fff; font-family: var(--font-sans);
  font-size: 10px; line-height: 1.25; font-weight: 500;
  letter-spacing: .17em; white-space: nowrap;
}
@media (max-width: 1023px) {
  .site-header .header-inner > .logo--szafir-image {
    position: absolute; left: 50%; top: 50%;
    transform: translate(-50%, -50%); z-index: 70;
  }
  .site-header .header-actions { margin-left: auto; }
}
@media (min-width: 1024px) {
  .site-header .logo--szafir-image__image { width: 160px; height: 40px; }
  .site-header .logo--szafir-image__subtitle { font-size: 11px; }
}

/* Logo Szafir: płynne przejście z białego na złote po najechaniu */
.site-header .logo--szafir-image__graphics {
  position: relative; display: block; width: 160px; height: 40px;
}
.site-header .logo--szafir-image__graphics .logo--szafir-image__image {
  width: 100%; height: 100%; object-fit: contain;
}
.site-header .logo--szafir-image__image--gold {
  position: absolute; inset: 0; opacity: 0;
  transition: opacity .25s ease;
}
@media (hover: hover) {
  .site-header .logo--szafir-image:hover .logo--szafir-image__image--gold { opacity: 1; }
}
.site-header .logo--szafir-image:focus-visible .logo--szafir-image__image--gold { opacity: 1; }
@media (min-width: 1024px) {
  .site-header .logo--szafir-image__graphics { width: 160px; height: 40px; }
}
@media (prefers-reduced-motion: reduce) {
  .site-header .logo--szafir-image__image--gold { transition: none; }
}


/* SZAFIR: spójne wymiary logo i belki na każdym ekranie */
:root { --header-h: 80px; }
.site-header { width: 100%; }
.site-header .header-inner { height: 80px; min-height: 80px; }
.site-header .header-inner > .logo:not(.logo--szafir-image) {
  flex: 0 0 auto;
}
.site-header .header-inner > .logo .logo__mark {
  width: 2.7rem; height: 2.7rem;
}
.site-header .header-inner > .logo .logo__name {
  font-size: 1.9rem;
}
@media (max-width: 1023px) {
  .site-header .header-inner > .logo {
    position: absolute;
    left: 50%; top: 50%;
    transform: translate(-50%, -50%);
    margin: 0;
    z-index: 70;
  }
  .site-header .header-actions { margin-left: auto; }
}


/* Nagłówek zawsze widoczny podczas przewijania */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 1000;
}
/* Rezerwacja miejsca pod belką 80 px (także przy dynamicznym ładowaniu header.html) */
body { padding-top: var(--header-h); }

/* Obrączki: układ galerii niezależny od innych siatek */
@media (max-width: 639px) {
  .tile-grid.tile-grid--obraczki { grid-template-columns: 1fr; }
}
@media (min-width: 640px) and (max-width: 1023px) {
  .tile-grid.tile-grid--obraczki { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1024px) {
  .tile-grid.tile-grid--obraczki { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* Ukrywanie wizualne elementów z zachowaniem dostępności */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}


/* SEO lokalne – strona główna */
.block--local .container {
    max-width: 1000px;
}

.block--local h3 {
    margin: 2rem 0 0.75rem;
    line-height: 1.35;
}

.block--local p {
    margin: 0 0 1.25rem;
    line-height: 1.8;
}

.block--local a {
    color: inherit;
    text-decoration: underline;
    text-decoration-color: #b99a60;
    text-underline-offset: 4px;
}

.block--local a:hover,
.block--local a:focus-visible {
    color: #a78345;
}

/* SEO lokalne – czytelny, elegancki blok odróżniony od sekcji „Dlaczego Szafir” */
.block--local {
    background: #EEE9DE;
    color: var(--ink);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    padding-top: 3rem;
    padding-bottom: 3.5rem;
}
.block--local h2,
.block--local h3 {
    color: var(--navy);
}
.block--local p {
    color: #37445a;
}
.block--local strong {
    color: var(--navy);
}
.block--local a {
    color: #79561d;
    text-decoration-color: var(--gold-dark);
    text-decoration-thickness: 1px;
}
.block--local a:hover,
.block--local a:focus-visible {
    color: var(--navy);
    text-decoration-color: var(--navy);
}
@media (min-width: 640px) {
    .block--local {
        padding-top: 4rem;
        padding-bottom: 4.5rem;
    }
}


