/* ==========================================================
   Kwiaciarnia GAC – Mielec
   Paleta: głęboka zieleń marki, krem i delikatny róż.
   ========================================================== */
:root {
  --green-900: #063a27;
  --green-700: #06623b;   /* kolor marki (jak na dotychczasowej stronie) */
  --green-600: #0b7a4a;
  --green-500: #2f9e62;
  --green-100: #e3f0e7;
  --green-50:  #f1f7f3;
  --cream:     #fbf8f3;
  --blush:     #f8e5e9;
  --rose:      #c0476a;
  --ink:       #1c2a23;
  --muted:     #5b6a62;
  --line:      #e7e1d6;
  --white:     #fff;

  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  --sans:  system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --radius: 22px;
  --shadow: 0 18px 40px -18px rgba(6, 58, 39, .35);
  --shadow-sm: 0 8px 22px -12px rgba(6, 58, 39, .35);
  --header-h: 96px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); color-scheme: light; }
body {
  margin: 0; background: var(--cream); color: var(--ink);
  font: 400 1.0625rem/1.7 var(--sans); -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-family: var(--serif); font-weight: 600; line-height: 1.15; color: var(--green-900); }
p { margin: 0 0 1rem; }
ul { margin: 0; padding: 0; list-style: none; }

.wrap { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 1.25rem; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--green-700); color: #fff; padding: .6rem 1rem; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--rose); outline-offset: 3px; border-radius: 6px; }

/* ---------- Przyciski ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .55rem; justify-content: center;
  padding: .85rem 1.5rem; border-radius: 999px; border: 2px solid var(--green-700);
  background: var(--green-700); color: #fff; font: 600 1rem/1 var(--sans); text-decoration: none; cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-sm); background: var(--green-900); border-color: var(--green-900); }
.btn svg { width: 1.05em; height: 1.05em; fill: currentColor; }
.btn-sm { padding: .65rem 1.1rem; font-size: .95rem; }
.btn-ghost, .btn-outline { background: transparent; color: var(--green-700); }
.btn-ghost:hover, .btn-outline:hover { background: var(--green-700); color: #fff; }
.btn-light { background: #fff; color: var(--green-900); border-color: #fff; }
.btn-light:hover { background: var(--blush); border-color: var(--blush); color: var(--green-900); }

/* ---------- Pasek godzin ---------- */
.topbar { background: var(--green-900); color: #e9f3ec; font-size: .92rem; }
.topbar-in { display: flex; justify-content: space-between; align-items: center; gap: .4rem 1.5rem; flex-wrap: wrap; padding-top: .55rem; padding-bottom: .55rem; }
.topbar p { margin: 0; }
.topbar-hours { display: flex; align-items: center; gap: .55rem; flex-wrap: wrap; }
.topbar-hours svg { width: 17px; height: 17px; fill: none; stroke: #f6d6dd; stroke-width: 2; stroke-linecap: round; }
.topbar strong { color: #fff; font-weight: 600; }
.topbar .sep { opacity: .5; }
.topbar a { color: #fff; font-weight: 600; text-decoration: none; }
.topbar a:hover { text-decoration: underline; }
@media (max-width: 38rem) { .topbar-addr { display: none; } .topbar-in { justify-content: center; } }

/* ---------- Nagłówek ---------- */
.header {
  position: sticky; top: 0; z-index: 50; height: var(--header-h);
  background: rgba(251, 248, 243, .88); backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s;
}
.header.scrolled { border-color: var(--line); box-shadow: 0 6px 20px -16px rgba(6, 58, 39, .5); }
.header-in { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.brand img { height: 76px; width: auto; }
.header-hours {
  margin: 0 auto 0 1.5rem; display: flex; flex-direction: column; gap: .12rem; padding: .5rem 1rem .5rem .9rem;
  text-decoration: none; background: var(--blush); border-radius: 14px; border: 1px solid #efd0d8;
  font-size: .95rem; line-height: 1.25; color: var(--green-900);
  opacity: 0; transform: translateY(-40px); pointer-events: none;
  transition: transform .55s cubic-bezier(.34, 1.56, .64, 1), opacity .3s ease;
}
.header.hours-in .header-hours { opacity: 1; transform: none; pointer-events: auto; }
.hh-status[hidden] { display: none; }
.hh-status { display: flex; align-items: center; gap: .45rem; font-weight: 700; }
.hh-status b { font-weight: 700; }
.dot { width: 9px; height: 9px; border-radius: 50%; background: #9aa5a0; flex: none; }
.is-open .dot { background: #1fa463; box-shadow: 0 0 0 0 rgba(31, 164, 99, .5); animation: pulse 2s infinite; }
.is-closed .dot { background: var(--rose); }
.hh-line { font-weight: 600; }
.hh-addr { font-size: .85rem; color: var(--muted); }
@keyframes pulse { 70% { box-shadow: 0 0 0 7px rgba(31, 164, 99, 0); } 100% { box-shadow: 0 0 0 0 rgba(31, 164, 99, 0); } }
@media (prefers-reduced-motion: reduce) { .header-hours { transition: opacity .2s; transform: none; } .is-open .dot { animation: none; } }
@media (max-width: 62rem) { .hh-addr { display: none; } }
@media (max-width: 38rem) { .header-hours { margin-left: .6rem; padding: .35rem .65rem; font-size: .8rem; } .hh-line { display: none; } }
@media (prefers-reduced-motion: reduce) { .header-hours { transition: opacity .2s; transform: none; } }
.nav { display: flex; align-items: center; gap: 1.6rem; }
.nav a:not(.btn) { text-decoration: none; font-weight: 500; color: var(--ink); position: relative; padding: .3rem 0; }
.nav a:not(.btn)::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: -2px; height: 2px; background: var(--rose);
  transition: right .25s ease;
}
.nav a:not(.btn):hover::after { right: 0; }
.burger { display: none; width: 46px; height: 46px; border: 0; background: transparent; cursor: pointer; border-radius: 12px; }
.burger span { display: block; width: 24px; height: 2px; margin: 5px auto; background: var(--green-900); transition: transform .25s, opacity .25s; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Wspólne dla sekcji ---------- */
.section { padding: clamp(4rem, 8vw, 7rem) 0; }
.section-tint { background: linear-gradient(180deg, var(--green-50), var(--cream)); }
.sec-head { max-width: 640px; margin-bottom: 2.75rem; }
.sec-head h2, .about-text h2, .band h2 { font-size: clamp(2rem, 4.4vw, 3rem); }
.eyebrow { display: inline-flex; align-items: center; gap: .6rem; margin: 0 0 .9rem; font: 600 .82rem/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--rose); }
.eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; }
.sub { margin-top: 1rem; color: var(--muted); font-size: 1.12rem; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; padding: clamp(2.5rem, 6vw, 5rem) 0 clamp(3rem, 7vw, 6rem);
  background:
    radial-gradient(circle at 92% 8%, rgba(248, 229, 233, .95) 0, rgba(248, 229, 233, 0) 42%),
    radial-gradient(circle at 4% 96%, rgba(227, 240, 231, .9) 0, rgba(227, 240, 231, 0) 40%),
    var(--cream);
}
.hero-in { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.hero h1 { font-size: clamp(2.4rem, 5.4vw, 3.9rem); letter-spacing: -.01em; }
.hero h1 em { font-style: italic; color: var(--green-700); }
.lead { margin: 1.4rem 0 2rem; font-size: 1.2rem; color: var(--muted); max-width: 33rem; }
.hero-cta { display: flex; flex-wrap: wrap; gap: .8rem; }

.hero-art { position: relative; display: grid; grid-template-columns: 1.15fr 1fr; grid-template-rows: 1fr 1fr; gap: 14px; aspect-ratio: 1 / 1.02; }
.art { margin: 0; overflow: hidden; box-shadow: var(--shadow); background: var(--green-100); }
.art img { width: 100%; height: 100%; object-fit: cover; }
.a1 { grid-row: 1 / 3; border-radius: 999px 999px 26px 26px; }
.a2 { border-radius: 26px 26px 26px 999px; }
.a3 { border-radius: 26px 999px 26px 26px; }

/* ---------- Pasek atutów ---------- */
.strip { background: var(--green-700); color: #fff; }
.strip-in { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; padding-top: 2rem; padding-bottom: 2rem; }
.perk { display: flex; gap: .9rem; align-items: flex-start; }
.perk svg { flex: none; width: 34px; height: 34px; fill: none; stroke: #f6d6dd; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; margin-top: 3px; }
.perk h3 { font: 600 1.05rem/1.3 var(--sans); color: #fff; }
.perk p { margin: .2rem 0 0; font-size: .93rem; line-height: 1.5; color: #cfe5d6; }

/* ---------- Oferta ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; }
.card { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; transition: transform .25s ease, box-shadow .25s ease; }
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.card img { width: 100%; aspect-ratio: 4 / 3.2; object-fit: cover; transition: transform .6s ease; }
.card:hover img { transform: scale(1.05); }
.card { overflow: hidden; }
.card-body { padding: 1.4rem 1.5rem 1.7rem; }
.card h3 { font-size: 1.45rem; margin-bottom: .55rem; }
.card p { margin: 0; color: var(--muted); font-size: 1rem; line-height: 1.6; }
.card-cta { background: var(--green-900); justify-content: center; }
.card-cta .card-body { padding: 2.2rem 1.8rem; }
.card-cta h3 { color: #fff; font-size: 1.7rem; }
.card-cta p { color: #cfe5d6; margin-bottom: 1.4rem; }

/* ---------- Pas: dekoracja samochodu ---------- */
.band { background: var(--blush); position: relative; overflow: hidden; }
.band::before, .band::after { content: ""; position: absolute; border-radius: 50%; background: rgba(255, 255, 255, .55); }
.band::before { width: 340px; height: 340px; right: -90px; top: -130px; }
.band::after { width: 220px; height: 220px; left: -70px; bottom: -110px; background: rgba(6, 98, 59, .08); }
.band-in { position: relative; z-index: 1; display: grid; grid-template-columns: 1.4fr 1fr; gap: 3rem; align-items: center; padding-top: clamp(3.5rem, 7vw, 5.5rem); padding-bottom: clamp(3.5rem, 7vw, 5.5rem); }
.band p { max-width: 38rem; color: #4d5a53; font-size: 1.1rem; margin: 1.1rem 0 1.7rem; }
.band-list { display: grid; gap: .8rem; }
.band-list li { background: rgba(255, 255, 255, .8); padding: 1rem 1.3rem 1rem 3.2rem; border-radius: 16px; font-weight: 600; color: var(--green-900); position: relative; box-shadow: var(--shadow-sm); }
.band-list li::before { content: ""; position: absolute; left: 1.2rem; top: 50%; width: 14px; height: 14px; transform: translateY(-50%); border-radius: 50% 0 50% 50%; background: var(--rose); rotate: 45deg; }

/* ---------- Galeria ---------- */
.gallery { columns: 4 230px; column-gap: 14px; }
.g { display: block; width: 100%; margin: 0 0 14px; padding: 0; border: 0; background: var(--green-100); border-radius: 16px; overflow: hidden; cursor: zoom-in; break-inside: avoid; position: relative; }
.g img { width: 100%; height: auto; transition: transform .6s ease, filter .3s; }
.g::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(6, 58, 39, .35)); opacity: 0; transition: opacity .3s; }
.g:hover img { transform: scale(1.06); }
.g:hover::after { opacity: 1; }

/* ---------- O nas ---------- */
.about { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.about-photos { position: relative; padding: 0 0 4.5rem; }
.about-photos img { border-radius: var(--radius); box-shadow: var(--shadow); object-fit: cover; }
.ph1 { width: 86%; aspect-ratio: 4 / 3.2; }
.ph2 { position: absolute; right: 0; bottom: 0; width: 46%; aspect-ratio: 3 / 4; border: 6px solid var(--cream); }
.about-text h2 { margin-bottom: 1.3rem; }
.about-text p { color: #3f4d46; }
.ticks { margin: 1.4rem 0 1.6rem; display: grid; gap: .65rem; }
.ticks li { position: relative; padding-left: 2.1rem; color: var(--ink); }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: .35em; width: 1.15rem; height: 1.15rem; border-radius: 50%; background: var(--green-100);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2306623b' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E");
  background-size: 70%; background-repeat: no-repeat; background-position: center;
}
.about-note { font-family: var(--serif); font-style: italic; font-size: 1.2rem; color: var(--green-700) !important; border-left: 3px solid var(--rose); padding-left: 1.1rem; }

/* ---------- Kontakt ---------- */
.contact { display: grid; grid-template-columns: 1.05fr 1fr; gap: 2rem; align-items: stretch; }
.contact-card { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-sm); padding: clamp(1.4rem, 3vw, 2.4rem); display: grid; gap: 1.6rem; }
.c-row { display: flex; gap: 1.1rem; }
.c-row > svg { flex: none; width: 46px; height: 46px; padding: 11px; border-radius: 14px; background: var(--green-100); fill: none; stroke: var(--green-700); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.c-row:nth-child(3) > svg, .c-row:nth-child(4) > svg { fill: none; }
.c-row h3 { font: 600 1.15rem/1.3 var(--serif); margin-bottom: .3rem; }
.c-row p { margin: 0 0 .3rem; }
.muted { color: var(--muted); font-size: .95rem; }
.account { margin: 0 0 .7rem; font: 600 1.2rem/1.4 var(--serif); letter-spacing: .02em; color: var(--green-700); word-break: break-word; user-select: all; }
.big { font: 600 1.4rem/1.3 var(--serif); color: var(--green-700); text-decoration: none; }
.big:hover { color: var(--rose); }
.link { color: var(--green-700); font-weight: 600; text-underline-offset: 4px; }
.link:hover { color: var(--rose); }
.hours { border-collapse: collapse; }
.hours th { font-weight: 500; text-align: left; padding: .1rem 1.2rem .1rem 0; color: var(--muted); }
.hours td { font-weight: 600; white-space: nowrap; }
@media (max-width: 30rem) {
  .hours, .hours tbody, .hours tr, .hours th, .hours td { display: block; }
  .hours tr { margin-bottom: .5rem; }
  .hours th { padding: 0; }
}
.contact-photo { margin: 0; position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); min-height: 340px; }
.contact-photo img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.contact-photo figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 2.4rem 1.4rem 1.2rem; color: #fff; font-weight: 600; background: linear-gradient(180deg, transparent, rgba(6, 58, 39, .85)); }

/* ---------- Stopka ---------- */
.footer { background: var(--green-900); color: #cfe5d6; padding: 2.4rem 0; }
.footer-in { display: flex; flex-wrap: wrap; align-items: center; gap: 1.2rem 2rem; justify-content: space-between; }
.footer-logo { height: 72px; width: auto; background: #fff; border-radius: 12px; padding: 5px 8px; }
.footer strong { color: #fff; }
.footer-copy { font-size: .92rem; opacity: .85; }

/* ---------- Powiększenie zdjęcia ---------- */
.lightbox { border: 0; padding: 0; background: transparent; width: 100vw; height: 100vh; max-width: none; max-height: none; }
.lightbox::backdrop { background: rgba(6, 30, 20, .92); backdrop-filter: blur(4px); }
.lightbox[open] { display: grid; place-items: center; }
.lightbox img { max-width: min(92vw, 1100px); max-height: 88vh; width: auto; height: auto; border-radius: 14px; box-shadow: 0 30px 80px rgba(0, 0, 0, .5); animation: pop .25s ease; }
@keyframes pop { from { opacity: 0; transform: scale(.97); } to { opacity: 1; transform: none; } }
.lb-close, .lb-nav { position: absolute; border: 0; cursor: pointer; color: #fff; background: rgba(255, 255, 255, .14); border-radius: 50%; width: 52px; height: 52px; font-size: 2rem; line-height: 1; display: grid; place-items: center; transition: background .2s; }
.lb-close:hover, .lb-nav:hover { background: rgba(255, 255, 255, .3); }
.lb-close { top: 18px; right: 18px; }
.lb-prev { left: 18px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 18px; top: 50%; transform: translateY(-50%); }

/* ---------- Animacja pojawiania ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Tablety i telefony ---------- */
@media (max-width: 62rem) {
  .hero-in, .about, .contact, .band-in { grid-template-columns: 1fr; }
  .hero-art { max-width: 560px; margin: 0 auto; width: 100%; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .strip-in { grid-template-columns: repeat(2, 1fr); }
  .about-photos { max-width: 560px; margin: 0 auto; width: 100%; }
  .contact-photo { min-height: 300px; }
}
@media (max-width: 52rem) {
  :root { --header-h: 80px; }
  .brand img { height: 62px; }
  .burger { display: block; }
  .nav {
    position: absolute; top: var(--header-h); left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0;
    background: var(--cream); border-bottom: 1px solid var(--line); box-shadow: 0 20px 30px -20px rgba(6, 58, 39, .45);
    padding: .5rem 1.25rem 1.2rem; display: none;
  }
  .nav.open { display: flex; }
  .nav a:not(.btn) { padding: .95rem 0; border-bottom: 1px solid var(--line); font-size: 1.1rem; }
  .nav a:not(.btn)::after { display: none; }
  .nav-call { margin-top: 1rem; }
}
@media (max-width: 38rem) {
  body { font-size: 1rem; }
  .cards { grid-template-columns: 1fr; }
  .strip-in { grid-template-columns: 1fr; gap: 1.2rem; }
  .gallery { columns: 2 140px; column-gap: 10px; }
  .g { margin-bottom: 10px; border-radius: 12px; }
  .hero-cta .btn { flex: 1 1 100%; }
    .lb-nav { width: 44px; height: 44px; }
}

/* ---------- Ograniczenie animacji ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .card, .card img, .g img, .nav a::after { transition: none; }
  .lightbox img { animation: none; }
}


/* ---------- Podstrony usług ---------- */
.page-hero {
  padding: clamp(2rem, 5vw, 3.6rem) 0 clamp(2.6rem, 6vw, 4.6rem);
  background:
    radial-gradient(circle at 92% 0, rgba(248, 229, 233, .95) 0, rgba(248, 229, 233, 0) 45%),
    radial-gradient(circle at 0 100%, rgba(227, 240, 231, .9) 0, rgba(227, 240, 231, 0) 40%),
    var(--cream);
}
.page-hero h1 { font-size: clamp(2.1rem, 4.8vw, 3.4rem); max-width: 20ch; }
.page-hero .lead { max-width: 40rem; }
.crumbs { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; margin-bottom: 1.4rem; font-size: .92rem; color: var(--muted); }
.crumbs a { color: var(--green-700); text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.split { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.split-text h2 { font-size: clamp(1.8rem, 3.6vw, 2.5rem); margin-bottom: 1.2rem; }
.split-text p { color: #3f4d46; }
.split-photo { margin: 0; }
.split-photo img { width: 100%; max-height: 560px; object-fit: cover; border-radius: 999px 999px 26px 26px; box-shadow: var(--shadow); }
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; counter-reset: s; }
.steps li { display: flex; gap: 1rem; align-items: flex-start; background: #fff; border-radius: var(--radius); padding: 1.5rem; box-shadow: var(--shadow-sm); }
.step-n { flex: none; width: 2.5rem; height: 2.5rem; border-radius: 50%; display: grid; place-content: center; background: var(--green-700); color: #fff; font: 700 1.1rem var(--serif); }
.steps h3 { font-size: 1.25rem; margin-bottom: .35rem; }
.steps p { margin: 0; color: var(--muted); }
.rels { display: grid; gap: .8rem; position: relative; z-index: 1; }
.rel { display: block; padding: 1rem 1.3rem; border-radius: 16px; background: rgba(255, 255, 255, .85); text-decoration: none; color: var(--ink); box-shadow: var(--shadow-sm); transition: transform .2s; }
.rel:hover { transform: translateX(4px); }
.rel strong { display: block; color: var(--green-900); }
.rel span { display: block; font-size: .92rem; color: var(--muted); margin-top: .2rem; }
.more-link { display: inline-block; margin-top: .9rem; font-weight: 600; color: var(--green-700); text-decoration: none; }
.more-link:hover { text-decoration: underline; }
@media (max-width: 62rem) { .split { grid-template-columns: 1fr; } .split-photo { max-width: 420px; } .steps { grid-template-columns: 1fr; } }
