/* =====================================================================
   Pralnia „Pod Różą” – arkusz stylów. Kolory zmienisz w sekcji :root.
   ===================================================================== */
@font-face { font-family: "Outfit"; src: url("../fonts/outfit.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }

:root {
  --blue: #1373D6;        /* niebieski z logo */
  --blue-dark: #0C59AA;
  --blue-soft: #E6F0FB;
  --navy: #0E2C4D;
  --rose: #D23A6E;        /* akcent „róża” */
  --rose-soft: #FCE8EF;
  --ink: #13263B;
  --muted: #55677A;
  --foam: #F4F8FC;        /* tło strony */
  --line: #DBE4EE;
  --white: #fff;
  --wrap: 1140px;
  --r: 14px;
  --font: "Outfit", "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; animation: none !important; } }
body { margin: 0; font-family: var(--font); font-size: 1.0625rem; line-height: 1.6; color: var(--ink); background: var(--foam); }
img { max-width: 100%; height: auto; }
a { color: var(--blue-dark); text-underline-offset: .18em; }
a:hover { color: var(--rose); }
:focus-visible { outline: 3px solid var(--rose); outline-offset: 2px; border-radius: 4px; }

h1, h2, h3 { line-height: 1.15; font-weight: 650; letter-spacing: -.01em; margin: 1.5em 0 .5em; }
h1 { font-size: clamp(1.9rem, 1.4rem + 1.8vw, 2.6rem); margin-top: 0; color: var(--navy); }
h2 { font-size: clamp(1.35rem, 1.2rem + .6vw, 1.6rem); color: var(--navy); }
p { margin: 0 0 1em; }
.lead { font-size: 1.2rem; line-height: 1.5; }

.wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }
.skip-link { position: absolute; left: -999px; top: 0; background: var(--rose); color: #fff; padding: .6rem 1rem; z-index: 100; }
.skip-link:focus { left: 1rem; }

/* ---------- przyciski ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .7rem 1.25rem; border: 2px solid transparent; border-radius: 999px;
  font: 600 1rem/1.2 var(--font); text-decoration: none; cursor: pointer; white-space: nowrap; margin: 0 .3rem .4rem 0;
}
.btn-primary { background: var(--blue); color: var(--white); }
.btn-primary:hover { background: var(--blue-dark); color: var(--white); }
.btn-outline { border-color: var(--blue); color: var(--blue-dark); }
.btn-outline:hover { background: var(--blue-soft); color: var(--blue-dark); }
.btn-ghost { border-color: rgba(255,255,255,.6); color: var(--white); }
.btn-ghost:hover { color: var(--white); background: rgba(255,255,255,.1); }
.btn-block { width: 100%; margin: 1rem 0 0; }

/* ---------- nagłówek ---------- */
.site-header { background: var(--white); position: relative; z-index: 20; }
.header-inner { display: flex; align-items: center; gap: 1.5rem; padding-block: .8rem; }
.brand img { display: block; width: 230px; height: auto; border-radius: 6px; }
.header-info { margin-left: auto; display: flex; align-items: center; gap: 1.5rem; }
.now { margin: 0; display: flex; align-items: center; gap: .5rem; font-weight: 500; color: var(--muted); }
.now.is-open { color: #1C7A4C; }
.dot { width: .6rem; height: .6rem; border-radius: 50%; background: #B5C0CB; flex: none; }
.is-open .dot { background: #23935C; box-shadow: 0 0 0 4px rgba(35,147,92,.18); }
.header-phone { display: inline-flex; align-items: center; gap: .45rem; font-size: 1.35rem; font-weight: 650; color: var(--navy); text-decoration: none; }
.header-phone svg { color: var(--rose); }

.site-nav { background: var(--blue); }
.site-nav ul { list-style: none; display: flex; flex-wrap: wrap; gap: .15rem; margin-block: 0; padding: .45rem 0; }
.site-nav a { display: block; padding: .5rem .95rem; border-radius: 999px; color: var(--white); text-decoration: none; font-weight: 500; }
.site-nav a:hover { background: rgba(255,255,255,.15); color: var(--white); }
.site-nav a[aria-current="page"] { background: var(--white); color: var(--blue-dark); }
.nav-toggle {
  display: none; margin-left: auto; align-items: center; gap: .5rem; padding: .55rem .9rem;
  border: 2px solid var(--line); border-radius: 999px; background: var(--white); font: 600 1rem var(--font); color: var(--ink); cursor: pointer;
}
.nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after { display: block; width: 18px; height: 2px; background: currentColor; position: relative; content: ""; }
.nav-toggle-bars::before { position: absolute; top: -6px; }
.nav-toggle-bars::after { position: absolute; top: 6px; }

/* ---------- slider ---------- */
.hero { margin-top: 1.5rem; }
.slider { position: relative; aspect-ratio: 968 / 336; border-radius: var(--r); overflow: hidden; background: var(--blue-soft); }
.slide { position: absolute; inset: 0; margin: 0; opacity: 0; transition: opacity .9s ease; }
.slide.is-active { opacity: 1; }
.slide img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero-card {
  position: absolute; left: 1.25rem; bottom: 1.25rem; max-width: 26rem; padding: 1rem 1.25rem;
  background: rgba(255,255,255,.94); border-radius: 12px; border-left: 5px solid var(--rose);
}
.hero-card p { margin: 0; color: var(--muted); }
.hero-card .hero-title { font-size: 1.45rem; font-weight: 650; color: var(--navy); line-height: 1.2; margin-bottom: .25rem; }
.slider-dots { position: absolute; right: 1rem; top: 1rem; display: flex; gap: .4rem; z-index: 2; }
.slider-dots button { width: .7rem; height: .7rem; border-radius: 50%; border: 2px solid var(--white); background: transparent; padding: 0; cursor: pointer; }
.slider-dots button[aria-current="true"] { background: var(--white); }

/* ---------- układ ---------- */
.main { display: grid; grid-template-columns: minmax(0, 1fr) 310px; gap: 2rem; margin-block: 2rem 3.5rem; align-items: start; }
.main--full { grid-template-columns: minmax(0, 1fr); }
.content { background: var(--white); border-radius: var(--r); padding: clamp(1.25rem, 3vw, 2.5rem); min-width: 0; box-shadow: 0 1px 2px rgba(14,44,77,.06); }
.content > :first-child { margin-top: 0; }
.content > :last-child { margin-bottom: 0; }
.content p, .content li, .content dd { max-width: 72ch; }
.content::after { content: ""; display: table; clear: both; }
.media-right { float: right; margin: .3rem 0 1rem 1.75rem; max-width: 42%; }
.media-right img { display: block; border-radius: 12px; }
.note { background: var(--blue-soft); border-radius: 12px; padding: .9rem 1.1rem; font-weight: 500; clear: both; }
.info-box { clear: both; border: 1px solid var(--line); border-radius: 12px; padding: 1rem 1.2rem; color: var(--muted); font-size: .95rem; margin-top: 2rem; }
.info-box p { margin: 0; }
.wide-photo { margin: 1.5rem 0 0; }
.wide-photo img { border-radius: 12px; display: block; }

.tiles { list-style: none; padding: 0; margin: 0 0 2.25rem; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.tile { border: 1px solid var(--line); border-top: 4px solid var(--blue); border-radius: 12px; padding: 1.1rem 1.2rem; display: flex; flex-direction: column; }
.tile:nth-child(2) { border-top-color: var(--rose); }
.tile h2 { font-size: 1.2rem; margin: 0 0 .4rem; }
.tile p { font-size: .98rem; color: var(--muted); flex: 1; }
.tile a { font-weight: 600; }

.chips { list-style: none; padding: 0; margin: .5rem 0 1.25rem; display: flex; flex-wrap: wrap; gap: .5rem; }
.chips li { background: var(--blue-soft); color: var(--blue-dark); border-radius: 999px; padding: .35rem .9rem; font-weight: 500; }

.rules { padding-left: 1.4rem; }
.rules li { margin-bottom: .8rem; padding-left: .3rem; }
.rules li::marker { color: var(--rose); font-weight: 650; }

.products dt { font-weight: 650; color: var(--navy); margin-top: 1rem; }
.products dd { margin: .2rem 0 0; color: var(--muted); }
.motto { font-size: clamp(1.5rem, 1.2rem + 1.5vw, 2.2rem); font-weight: 650; color: var(--rose); text-align: center; margin: 2rem 0; }

/* ---------- promocje ---------- */
.promos { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 1rem; margin: 1rem 0 1.5rem; }
.promo { border-radius: 12px; padding: 1.2rem 1.25rem; background: var(--rose-soft); }
.promo:nth-child(even) { background: var(--blue-soft); }
.promo-big { font-size: 3.2rem; line-height: 1; font-weight: 700; color: var(--rose); margin: 0; letter-spacing: -.03em; }
.promo:nth-child(even) .promo-big { color: var(--blue); }
.promo h2 { margin: .2rem 0 .6rem; font-size: 1.2rem; }
.promo p:last-child { margin: 0; font-size: .98rem; }

/* ---------- cennik ---------- */
.price-search { position: sticky; top: 0; z-index: 5; background: var(--white); padding: .5rem 0 1rem; }
.price-search label { display: block; font-weight: 600; margin-bottom: .35rem; }
.price-search input {
  width: 100%; max-width: 30rem; font: inherit; padding: .75rem 1rem; border: 2px solid var(--line); border-radius: 999px;
}
.price-search input:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px var(--blue-soft); }
.price-empty { color: var(--muted); }
.price-groups { columns: 2 340px; column-gap: 1.5rem; }
.price-group { break-inside: avoid; margin-bottom: 1.5rem; }
.price-group h2 { font-size: 1.2rem; margin: 0 0 .4rem; padding-bottom: .35rem; border-bottom: 2px solid var(--blue); }
.prices { width: 100%; border-collapse: collapse; }
.prices td { padding: .42rem 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.prices td:last-child { text-align: right; white-space: nowrap; font-weight: 600; padding-left: 1rem; font-variant-numeric: tabular-nums; }
.prices tr.is-hit td:first-child { color: var(--rose); font-weight: 600; }

/* ---------- prawa kolumna ---------- */
.sidebar { display: grid; gap: 1.25rem; position: sticky; top: 1rem; }
.side-box { background: var(--white); border-radius: var(--r); padding: 1.25rem 1.35rem; box-shadow: 0 1px 2px rgba(14,44,77,.06); }
.side-box h2 { font-size: 1.25rem; margin: 0 0 .75rem; }
.hours-status { display: flex; align-items: center; gap: .5rem; font-weight: 600; color: var(--muted); margin: 0 0 .6rem; }
.hours-status.is-open { color: #1C7A4C; }
.hours-week { list-style: none; margin: 0; padding: 0; }
.hours-week li { display: flex; justify-content: space-between; gap: 1rem; padding: .35rem .6rem; border-radius: 8px; }
.hours-week li.is-today { background: var(--rose-soft); font-weight: 600; }
.hours-week em { font-style: normal; color: var(--rose); font-weight: 500; }
.hours-week .time { font-variant-numeric: tabular-nums; white-space: nowrap; }
.hours-note { font-size: .92rem; color: var(--muted); margin: .6rem 0 0; }
.contact-name { font-weight: 650; margin: 0; }
.contact-owner { color: var(--muted); margin: 0 0 .4rem; }
.contact-address { margin-bottom: .4rem; }
.contact-list { list-style: none; padding: 0; margin: .6rem 0 0; }
.contact-list li { display: flex; justify-content: space-between; gap: 1rem; padding: .4rem 0; border-top: 1px solid var(--line); flex-wrap: wrap; }
.contact-list span { color: var(--muted); }
.contact-list a { font-weight: 600; text-decoration: none; color: var(--ink); }
.contact-list a:hover { color: var(--rose); }

.contact-layout { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem; }
.contact-layout h2 { margin-top: 0; }
.contact-photo { border-radius: 12px; display: block; margin-top: 1rem; }

/* ---------- stopka ---------- */
.site-footer { background: var(--navy); color: #C9D6E4; padding: 2.5rem 0 1rem; font-size: .98rem; }
.site-footer a { color: var(--white); }
.footer-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 2rem; }
.footer-name { color: var(--white); font-weight: 650; font-size: 1.15rem; }
.footer-menu { list-style: none; margin: 0; padding: 0; columns: 2; }
.footer-menu li { margin-bottom: .35rem; }
.footer-menu a { text-decoration: none; }
.footer-menu a:hover { text-decoration: underline; }
.copyright { border-top: 1px solid rgba(255,255,255,.12); margin-top: 2rem; padding-top: 1rem; font-size: .88rem; color: #93A6BA; }
.call-bar { display: none; }

/* ---------- tablet ---------- */
@media (max-width: 1000px) {
  .now { display: none; }
  .main { grid-template-columns: minmax(0, 1fr); }
  .sidebar { position: static; grid-template-columns: 1fr 1fr; }
  .tiles { grid-template-columns: 1fr; }
  .contact-layout { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

/* ---------- telefon ---------- */
@media (max-width: 760px) {
  body { font-size: 1rem; padding-bottom: 4.4rem; }
  .wrap { width: min(100% - 1.5rem, var(--wrap)); }
  .brand img { width: 170px; }
  .header-info { display: none; }
  .nav-toggle { display: inline-flex; }
  .site-nav { display: none; }
  .site-nav.is-open { display: block; }
  .site-nav ul { flex-direction: column; padding: .5rem 0 .75rem; }
  .site-nav a { border-radius: 8px; padding: .75rem 1rem; }
  .hero { margin-top: .75rem; }
  .slider { overflow: visible; aspect-ratio: auto; background: none; display: grid; }
  .slide { position: relative; grid-area: 1 / 1; }
  .slide img { aspect-ratio: 16 / 9; border-radius: 12px; }
  .hero-card { position: static; grid-row: 2; margin-top: .6rem; max-width: none; padding: .7rem .9rem; border-radius: 12px; background: var(--white); }
  .hero-card .hero-title { font-size: 1.1rem; }
  .hero-card p:not(.hero-title) { font-size: .9rem; }
  .slider-dots { top: .7rem; }
  .main { margin-block: 1rem 2rem; gap: 1rem; }
  .media-right { float: none; max-width: 100%; margin: 0 0 1rem; }
  .sidebar, .contact-layout, .footer-grid { grid-template-columns: 1fr; }
  .price-groups { columns: 1; }
  .call-bar {
    display: flex; gap: .5rem; position: fixed; left: 0; right: 0; bottom: 0; z-index: 30;
    padding: .6rem .75rem calc(.6rem + env(safe-area-inset-bottom)); background: var(--navy);
  }
  .call-bar .btn { margin: 0; }
  .call-bar .btn-primary { flex: 1; }
}

@media print {
  .site-nav, .call-bar, .slider, .nav-toggle, .price-search, .sidebar { display: none !important; }
  .main { grid-template-columns: 1fr; }
}
