/* Olivier Service — style strony (identyfikacja zgodna z dotychczasową stroną) */

@font-face { font-family: "Montserrat"; font-weight: 600; font-display: swap; src: url("../fonts/montserrat-latin-ext-600-normal.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Montserrat"; font-weight: 600; font-display: swap; src: url("../fonts/montserrat-latin-600-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Montserrat"; font-weight: 700; font-display: swap; src: url("../fonts/montserrat-latin-ext-700-normal.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Montserrat"; font-weight: 700; font-display: swap; src: url("../fonts/montserrat-latin-700-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Raleway"; font-weight: 400; font-display: swap; src: url("../fonts/raleway-latin-ext-400-normal.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Raleway"; font-weight: 400; font-display: swap; src: url("../fonts/raleway-latin-400-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Raleway"; font-weight: 600; font-display: swap; src: url("../fonts/raleway-latin-ext-600-normal.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Raleway"; font-weight: 600; font-display: swap; src: url("../fonts/raleway-latin-600-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Raleway"; font-weight: 700; font-display: swap; src: url("../fonts/raleway-latin-ext-700-normal.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Raleway"; font-weight: 700; font-display: swap; src: url("../fonts/raleway-latin-700-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  /* Kolory z obecnej strony olivierservice.com */
  --slate: #647693;        /* pasek nagłówka, tło logo */
  --slate-dark: #4f5f7a;
  --blue: #0b4cba;         /* przyciski, nagłówki, ikona QR */
  --blue-dark: #083b93;
  --blue-text: #466eb4;    /* tekst pomocniczy */
  --ink: #1f3a6b;          /* dłuższy tekst (ciemniejszy odcień niebieskiego dla czytelności) */
  --sky: #f2f7ff;          /* jasne tło sekcji */
  --sky-line: #c1cfe6;
  --lime: #e4e932;         /* żółto-limonkowy akcent z logo */
  --white: #ffffff;

  --display: "Montserrat", system-ui, sans-serif;
  --body: "Raleway", system-ui, -apple-system, "Segoe UI", sans-serif;

  --wrap: 72rem;
  --gutter: clamp(1rem, 4vw, 2.5rem);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.65;
}

img, svg { max-width: 100%; display: block; }
a { color: var(--blue); text-underline-offset: 0.18em; }
a:hover { color: var(--blue-dark); }

:focus-visible { outline: 3px solid var(--lime); outline-offset: 3px; border-radius: 4px; }

h1, h2, h3 {
  font-family: var(--display);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin: 0 0 0.5em;
  color: var(--blue);
  text-wrap: balance;
}
h1 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); }
h2 { font-size: clamp(1.65rem, 3vw, 2.3rem); }
h3 { font-size: 1.2rem; font-weight: 600; }

p { margin: 0 0 1em; max-width: 64ch; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }

.skip { position: absolute; left: -999px; top: 0.5rem; background: var(--blue); color: var(--white); padding: 0.6rem 1rem; z-index: 10; }
.skip:focus { left: 0.5rem; }

/* ---------- nagłówek ---------- */

.site-header { background: var(--slate); position: sticky; top: 0; z-index: 5; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 4.75rem; flex-wrap: wrap; }
.logo { display: inline-block; line-height: 0; }
.logo img { height: 3rem; width: auto; }

.nav { display: flex; align-items: center; gap: 0.25rem 1.6rem; flex-wrap: wrap; }
.nav a { color: var(--white); text-decoration: none; font-family: var(--display); font-weight: 600; font-size: 0.95rem; padding: 0.35rem 0; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--lime); }
.nav .login { display: inline-flex; align-items: center; gap: 0.45rem; }
.nav .login img { width: 1.6rem; height: 1.6rem; }

.nav-toggle { display: none; }
@media (max-width: 56rem) {
  .nav-toggle { display: inline-flex; background: none; border: 2px solid var(--lime); color: var(--lime); border-radius: 999px; padding: 0.4rem 1rem; font: 600 0.95rem var(--display); cursor: pointer; }
  .nav { display: none; width: 100%; flex-direction: column; align-items: flex-start; padding-bottom: 1rem; }
  .nav.open { display: flex; }
}

/* ---------- przyciski ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.7rem;
  padding: 0.85rem 1.6rem; border-radius: 30px; border: 2px solid transparent;
  font-family: var(--body); font-weight: 700; font-size: 1rem; line-height: 1.2;
  text-decoration: none; cursor: pointer;
}
.btn img { width: 1.4rem; height: 1.4rem; }
.btn-primary { background: var(--blue); color: var(--white); }
.btn-primary:hover { background: var(--blue-dark); color: var(--white); }
.btn-ghost { border-color: var(--blue); color: var(--blue); background: transparent; }
.btn-ghost:hover { background: var(--sky); color: var(--blue-dark); }
.btn-light { border-color: var(--white); color: var(--white); background: transparent; }
.btn-light:hover { background: rgba(255, 255, 255, 0.12); color: var(--white); }
.actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.75rem; }

/* ---------- sekcje ---------- */

main > section { padding: clamp(3.5rem, 8vw, 5.5rem) 0; }
main > section:nth-of-type(even) { background: var(--sky); }
.lead { font-size: 1.2rem; color: var(--blue-text); max-width: 56ch; }
.section-head { max-width: 46rem; margin-bottom: 2.5rem; }
.section-head p { color: var(--blue-text); }
.center { text-align: center; margin-left: auto; margin-right: auto; }
.center p { margin-left: auto; margin-right: auto; }

/* ---------- hero ze zdjęciem ---------- */

.hero {
  position: relative; color: var(--white);
  background: var(--slate) url("../img/kelner-w-restauracji.jpg") center / cover no-repeat;
  padding: clamp(3rem, 7vw, 5.5rem) 0 !important;
}
.hero::before { content: ""; position: absolute; inset: 0; background: rgba(100, 118, 147, 0.86); }
.hero .wrap { position: relative; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.hero h1 { color: var(--white); }
.hero .lead { color: #eef2fa; }
.hero .note { margin-top: 1rem; font-size: 0.95rem; color: #e3e9f4; }
@media (max-width: 56rem) { .hero .wrap { grid-template-columns: 1fr; } }

/* podgląd panelu kelnera */
.scene { position: relative; padding: 0 0 6rem 2.5rem; }
.panel {
  background: var(--white); color: var(--ink); border-radius: 1.25rem; padding: 1.1rem; min-height: 25rem;
  box-shadow: 0 24px 50px -24px rgba(20, 35, 70, 0.55);
}
.panel-top { display: flex; justify-content: space-between; align-items: center; padding: 0 0.35rem 0.8rem; border-bottom: 1px solid var(--sky-line); margin-bottom: 0.8rem; }
.panel-top strong { font-family: var(--display); font-size: 1rem; color: var(--blue); }
.panel-top span { font-size: 0.85rem; color: var(--blue-text); }
.feed { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.6rem; }
.ticket { display: grid; grid-template-columns: 3.2rem 1fr auto; gap: 0.85rem; align-items: center; padding: 0.75rem 0.85rem; border-radius: 0.8rem; background: var(--sky); border: 1px solid var(--sky-line); }
.ticket .table { font-family: var(--display); font-weight: 700; font-size: 1.3rem; text-align: center; background: var(--white); color: var(--blue); border: 1px solid var(--sky-line); border-radius: 0.6rem; padding: 0.35rem 0; }
.ticket .what { font-weight: 700; line-height: 1.3; }
.ticket .what small { display: block; font-weight: 400; color: var(--blue-text); font-size: 0.85rem; }
.ticket time { font-size: 0.85rem; color: var(--blue-text); }
.ticket.new { background: #fbfcd6; border-color: var(--lime); }
.ticket.new .table { background: var(--lime); border-color: var(--lime); color: var(--ink); }
.ticket.enter { animation: ring 0.6s ease-out; }
@keyframes ring { 0% { opacity: 0; transform: translateY(-10px) scale(0.98); } 60% { opacity: 1; transform: translateY(0) scale(1.01); } 100% { transform: none; } }
@media (prefers-reduced-motion: reduce) { .ticket.enter { animation: none; } }

/* naklejka z kodem QR w narożnikach jak w logo */
.sticker { position: absolute; left: 0; bottom: 0; width: 8.5rem; background: var(--white); border-radius: 0.9rem; padding: 0.9rem 0.9rem 0.6rem; transform: rotate(-6deg); box-shadow: 0 14px 30px -14px rgba(20, 35, 70, 0.6); text-align: center; }
.sticker::before, .sticker::after { content: ""; position: absolute; width: 1.6rem; height: 1.6rem; border: 4px solid var(--lime); }
.sticker::before { top: -0.55rem; right: -0.55rem; border-left: 0; border-bottom: 0; }
.sticker::after { bottom: -0.55rem; left: -0.55rem; border-right: 0; border-top: 0; }
.sticker .qr { width: 100%; height: auto; fill: var(--blue); }
.sticker span { display: block; margin-top: 0.45rem; font-family: var(--display); font-weight: 600; font-size: 0.8rem; line-height: 1.2; color: var(--blue); }
@media (max-width: 30rem) { .sticker { width: 6.5rem; } .scene { padding: 0 0 4.5rem 1rem; } }

/* ---------- wstęp z ikoną skanowania ---------- */

.intro { display: grid; grid-template-columns: 8rem minmax(0, 1fr); gap: 2rem; align-items: center; }
.intro img { width: 8rem; height: 8rem; }
.intro p { color: var(--blue-text); margin: 0; }
@media (max-width: 40rem) { .intro { grid-template-columns: 1fr; } .intro img { width: 5rem; height: 5rem; } }

/* ---------- moduły z ilustracjami ---------- */

.modules { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; }
.module { background: var(--white); border-radius: 1.25rem; padding: 1.75rem; display: flex; flex-direction: column; border: 1px solid var(--sky-line); }
.module img { width: 9rem; height: 9rem; margin: 0 auto 1.25rem; }
.module h3 { margin-bottom: 0.4rem; }
.module h3 a { color: inherit; text-decoration: none; }
.module h3 a:hover { text-decoration: underline; }
.module p { color: var(--blue-text); }
.module .price { margin-top: auto; font-family: var(--display); font-weight: 700; color: var(--blue); }
.module .price small { font-family: var(--body); font-weight: 400; color: var(--blue-text); }
.status { display: inline-block; font-family: var(--body); font-size: 0.85rem; font-weight: 700; padding: 0.2rem 0.75rem; border-radius: 999px; background: var(--lime); color: var(--ink); }
@media (max-width: 56rem) { .modules { grid-template-columns: 1fr; } .module { display: grid; grid-template-columns: 6rem minmax(0, 1fr); column-gap: 1.25rem; } .module img { width: 6rem; height: 6rem; margin: 0; grid-row: span 3; } }

/* ---------- korzyści z żółtymi znakami (× ○ +) ---------- */

.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem; text-align: center; }
.facts .mark { width: 3rem; height: 3rem; margin: 0 auto 1rem; color: var(--lime); }
.facts h3 { font-size: 1.15rem; }
.facts p { color: var(--blue-text); margin: 0 auto; max-width: 30ch; }
@media (max-width: 48rem) { .facts { grid-template-columns: 1fr; gap: 2.25rem; } }

/* ---------- wdrożenie ---------- */

.steps { list-style: none; margin: 0; padding: 0; counter-reset: step; display: grid; gap: 0; }
.steps li { counter-increment: step; display: grid; grid-template-columns: 3.25rem minmax(0, 1fr); gap: 1rem; padding: 1.2rem 0; border-bottom: 1px solid var(--sky-line); }
.steps li:first-child { border-top: 1px solid var(--sky-line); }
.steps li::before { content: counter(step); display: grid; place-items: center; width: 2.6rem; height: 2.6rem; border-radius: 50%; background: var(--blue); color: var(--white); font-family: var(--display); font-weight: 700; font-size: 1.1rem; }
.steps h3 { margin-bottom: 0.2rem; font-size: 1.1rem; }
.steps p { margin: 0; color: var(--blue-text); }

/* ---------- cennik ---------- */

.plan { background: var(--white); border: 2px solid var(--blue); border-radius: 1.25rem; padding: clamp(1.5rem, 4vw, 2.5rem); max-width: 40rem; }
.plan .amount { font-family: var(--display); font-size: clamp(2.6rem, 6vw, 3.4rem); font-weight: 700; line-height: 1; color: var(--blue); }
.plan .amount span { font-family: var(--body); font-size: 1rem; font-weight: 600; color: var(--blue-text); }
.plan ul { padding-left: 1.2rem; margin: 1.25rem 0 0; }
.plan li { margin-bottom: 0.4rem; }
.plan li::marker { color: var(--blue); }

table.compare { width: 100%; border-collapse: collapse; }
.compare th, .compare td { text-align: left; padding: 0.9rem 0.75rem 0.9rem 0; border-bottom: 1px solid var(--sky-line); vertical-align: top; }
.compare th { font-family: var(--display); font-weight: 600; color: var(--blue); }
.compare td:last-child { white-space: nowrap; }

/* ---------- FAQ ---------- */

.faq { max-width: 50rem; border-top: 1px solid var(--sky-line); }
.faq details { border-bottom: 1px solid var(--sky-line); }
.faq summary { cursor: pointer; list-style: none; padding: 1.1rem 2.5rem 1.1rem 0; position: relative; font-family: var(--display); font-weight: 600; font-size: 1.05rem; color: var(--blue); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0.25rem; top: 0.75rem; font-size: 1.6rem; color: var(--blue); font-weight: 400; transition: transform 0.2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details > div { padding: 0 0 1.1rem; color: var(--ink); }
@media (prefers-reduced-motion: reduce) { .faq summary::after { transition: none; } }

/* ---------- podstrony ---------- */

.page-hero { background: var(--sky); }
.page-hero .wrap.with-art { display: grid; grid-template-columns: minmax(0, 1fr) 15rem; gap: 2rem; align-items: center; }
.page-hero .art { width: 15rem; height: 15rem; }
@media (max-width: 48rem) { .page-hero .wrap.with-art { grid-template-columns: 1fr; } .page-hero .art { width: 9rem; height: 9rem; grid-row: 1; } }
.breadcrumbs { font-size: 0.9rem; color: var(--blue-text); margin-bottom: 1.25rem; }
.breadcrumbs ol { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 0.4rem; }
.breadcrumbs li + li::before { content: "/"; margin-right: 0.4rem; color: var(--sky-line); }
.prose { max-width: 46rem; }
.prose ul { padding-left: 1.2rem; }
.prose li { margin-bottom: 0.4rem; }
.two-col { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4rem); }
@media (max-width: 48rem) { .two-col { grid-template-columns: 1fr; } }
.photo { border-radius: 1.25rem; width: 100%; height: auto; object-fit: cover; }

.callout { background: var(--slate); color: var(--white); border-radius: 1.25rem; padding: clamp(1.75rem, 5vw, 3rem); display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1.5rem; }
.callout h2 { margin: 0 0 0.35rem; color: var(--white); }
.callout p { margin: 0; color: #e3e9f4; }

/* ---------- formularz ---------- */

.form { display: grid; gap: 1.1rem; max-width: 36rem; }
.form label { display: grid; gap: 0.35rem; font-weight: 700; color: var(--blue); }
.form input, .form textarea, .form select { font: inherit; font-weight: 400; color: var(--ink); background: var(--white); border: 1px solid var(--sky-line); border-radius: 0.7rem; padding: 0.75rem 0.9rem; width: 100%; }
.form input:focus, .form textarea:focus, .form select:focus { border-color: var(--blue); }
.form textarea { min-height: 9rem; resize: vertical; }
.form .consent { display: flex; gap: 0.6rem; align-items: flex-start; font-weight: 400; font-size: 0.95rem; color: var(--ink); }
.form .consent input { width: auto; margin-top: 0.3rem; }
.form-status { min-height: 1.5rem; font-weight: 700; }
.form-status.error { color: #b3261e; }
.hp { position: absolute; left: -9999px; }

/* ---------- stopka ---------- */

.site-footer { background: var(--slate); padding: 3rem 0 2rem; font-size: 0.95rem; color: #e3e9f4; }
.site-footer .cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2rem; }
.site-footer .logo img { height: 3.4rem; }
.site-footer h2 { font-size: 1rem; color: var(--lime); margin-bottom: 0.6rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.35rem; }
.site-footer a { color: var(--white); }
.site-footer a:hover { color: var(--lime); }
.site-footer .legal { max-width: none; margin-top: 2.5rem; padding-top: 1.25rem; border-top: 1px solid rgba(255, 255, 255, 0.25); font-size: 0.875rem; }
@media (max-width: 44rem) { .site-footer .cols { grid-template-columns: 1fr; } }

/* podstrony zaczynają się jasnym tłem, więc odwracamy naprzemienność sekcji */
main:has(.page-hero) > section:nth-of-type(even) { background: var(--white); }
main:has(.page-hero) > section:nth-of-type(odd) { background: var(--sky); }

/* przełącznik języka */
.langs { display: inline-flex; gap: 0.15rem; margin-left: 0.4rem; border: 1px solid rgba(255, 255, 255, 0.4); border-radius: 999px; padding: 0.15rem; }
.langs a { font-size: 0.8rem; padding: 0.2rem 0.5rem !important; border-radius: 999px; letter-spacing: 0.02em; }
.langs a[aria-current="true"] { background: var(--lime); color: var(--ink) !important; }
@media (max-width: 56rem) { .langs { margin: 0.5rem 0 0; } }

/* tabele przewijane na telefonach */
.table-scroll { overflow-x: auto; }
.table-scroll table { min-width: 34rem; }
.cmp th[scope="row"] { font-family: var(--display); font-weight: 600; color: var(--blue); width: 22%; }
.cmp thead th:last-child, .cmp td:last-child { background: #fbfcd6; }
.cmp td:last-child { white-space: normal; font-weight: 700; }
.cmp thead th, .cmp td { padding-left: 0.75rem; }

/* baner zgody na cookies */
.consent {
  position: fixed; left: 1rem; right: 1rem; bottom: 1rem; z-index: 20;
  max-width: 44rem; margin: 0 auto; background: var(--white); color: var(--ink);
  border: 1px solid var(--sky-line); border-radius: 1rem; padding: 1.1rem 1.25rem;
  box-shadow: 0 18px 40px -16px rgba(20, 35, 70, 0.45);
  display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem 1.25rem;
}
.consent p { margin: 0; flex: 1 1 22rem; font-size: 0.95rem; }
.consent-actions { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.consent .btn { padding: 0.6rem 1.2rem; font-size: 0.95rem; }
.linklike { background: none; border: 0; padding: 0; font: inherit; color: var(--white); text-decoration: underline; text-underline-offset: 0.18em; cursor: pointer; }
.linklike:hover { color: var(--lime); }
