/* =============================================================================
   brand.css — REDEO, rehabilitacja i fitness zwierząt (Pruszków)
   Paleta z logo: żywa zieleń #18A64B + ciepły bursztyn #F2A93B jako akcent.
   Klimat: ciepło, energicznie, opiekuńczo. Dużo realnych zdjęć Kasi z psami.
   Mobile-first od 360px. Ruch delikatny, szanuje prefers-reduced-motion.
   ============================================================================= */

:root {
  --font-heading: 'Poppins', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --green: #18A64B;
  --green-deep: #0C7A38;
  --green-ink: #0A3D1E;
  --amber: #F2A93B;
  --amber-deep: #D98A18;
  --ink: #16241B;
  --ink-soft: #4C5B52;
  --cream: #FAFBF7;
  --mint: #EEF7F0;
  --line: #E1EDE4;
  --paw: #F0F7F1;
}

body { background: var(--cream); color: var(--ink); font-family: var(--font-body);
  -webkit-font-smoothing: antialiased; }

h1, h2, h3 { font-family: var(--font-heading); font-weight: 700; color: var(--ink);
  letter-spacing: -0.02em; line-height: 1.12; }
h2 { font-size: clamp(27px, 5.4vw, 40px); }
h3 { font-size: clamp(18px, 3vw, 21px); line-height: 1.25; }
p { line-height: 1.65; }
.muted { color: var(--ink-soft); }
a { color: var(--green-deep); }

.container { width: min(100% - 40px, 1180px); margin-inline: auto; }
.section { padding-block: clamp(56px, 9vw, 100px); }
.section-mint { background: var(--mint); }
.section-green { background: var(--green-ink); color: #E7F3EA; }
.section-green h2, .section-green h3 { color: #fff; }
.section-green .muted { color: #A9C9B4; }

.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-heading);
  font-weight: 600; font-size: 13px; letter-spacing: .08em; text-transform: uppercase;
  color: var(--green-deep); margin-bottom: 14px; }
.eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--amber); border-radius: 2px; }
.section-green .eyebrow { color: var(--amber); }

.sec-head { max-width: 60ch; margin: 0 auto clamp(34px, 5vw, 56px); text-align: center; }
.sec-head--left { margin-inline: 0; text-align: left; }
.sec-head h2 { margin: 0; }
.sec-head p { margin-top: 14px; font-size: var(--fs-lg); color: var(--ink-soft); }
.section-cta { width: 100%; max-width: none; text-align: center; margin-top: clamp(30px, 4vw, 46px); }

/* --- Przyciski ------------------------------------------------------------ */
.btn { border-radius: 999px; padding: 15px 28px; font-family: var(--font-heading); font-weight: 600;
  font-size: 16px; min-height: 50px; display: inline-flex; align-items: center; justify-content: center;
  gap: 9px; text-decoration: none; cursor: pointer; border: 2px solid transparent;
  transition: transform .25s var(--motion-ease), background-color .25s var(--motion-ease),
              box-shadow .25s var(--motion-ease), color .25s var(--motion-ease); }
.btn svg { width: 20px; height: 20px; }
.btn-primary { background: var(--green); color: #fff; border-color: var(--green); }
.btn-primary:hover { background: var(--green-deep); transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(12,122,56,.32); }
.btn-amber { background: var(--amber); color: #3A2600; border-color: var(--amber); }
.btn-amber:hover { background: var(--amber-deep); color: #2A1C00; transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(217,138,24,.32); }
.btn-ghost { background: #fff; color: var(--green-deep); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--green); background: var(--mint); transform: translateY(-2px); }
.btn-light { background: rgba(255,255,255,.14); color: #fff; border-color: rgba(255,255,255,.4); }
.btn-light:hover { background: #fff; color: var(--green-ink); transform: translateY(-2px); }
.btn-lg { padding: 17px 34px; font-size: 17px; min-height: 56px; }

/* --- Header --------------------------------------------------------------- */
.site-header { position: sticky; top: 0; z-index: 50; background: #fff;
  border-bottom: 1px solid var(--line); box-shadow: 0 1px 10px rgba(10,61,30,.05); }
.site-header .container { display: flex; align-items: center; gap: 20px; min-height: 70px; }
.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; margin-right: auto; min-width: 0; }
.brand img { height: 42px; width: auto; flex-shrink: 0; }
.brand-text { display: grid; min-width: 0; line-height: 1.1; }
.brand-name { font-family: var(--font-heading); font-weight: 700; font-size: 18px; color: var(--green-deep);
  letter-spacing: .02em; }
.brand-tag { font-size: 11.5px; letter-spacing: .04em; color: var(--ink-soft); text-transform: uppercase; }
.main-nav { display: flex; align-items: center; gap: 4px; }
.main-nav a { color: var(--ink); text-decoration: none; font-weight: 500; font-size: 15px;
  padding: 10px 13px; border-radius: 10px; transition: background-color .2s, color .2s; }
.main-nav a:hover { background: var(--mint); color: var(--green-deep); }
.main-nav a.btn { color: #fff; }
.main-nav a.btn:hover { color: #fff; }
.nav-toggle { display: none; width: 48px; height: 48px; border: 1px solid var(--line);
  border-radius: 12px; background: #fff; cursor: pointer; align-items: center; justify-content: center; }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after { content: ""; display: block;
  width: 22px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .2s, opacity .2s; }
.nav-toggle span::before { transform: translateY(-7px); } .nav-toggle span::after { transform: translateY(5px); }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { transform: rotate(-45deg); }

@media (max-width: 900px) {
  .nav-toggle { display: inline-flex; }
  .main-nav { position: fixed; inset: 70px 0 auto 0; flex-direction: column; align-items: stretch;
    gap: 0; background: var(--cream); border-bottom: 1px solid var(--line); padding: 12px 20px 20px;
    transform: translateY(-12px); opacity: 0; pointer-events: none; transition: transform .25s, opacity .25s;
    box-shadow: 0 18px 30px rgba(0,0,0,.08); }
  .main-nav.open { transform: none; opacity: 1; pointer-events: auto; }
  .main-nav a { padding: 14px 12px; border-radius: 12px; font-size: 16px; }
  .main-nav a.btn { margin-top: 8px; justify-content: center; }
}

/* --- HERO ----------------------------------------------------------------- */
.hero { position: relative; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 32%; }
@media (max-width: 720px) { .hero-bg img { object-position: 62% 32%; } }
.hero-bg::after { content: ""; position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(10,61,30,.78) 0%, rgba(10,61,30,.50) 46%, rgba(10,61,30,.08) 100%); }
@media (max-width: 720px) {
  .hero-bg::after { background: linear-gradient(180deg, rgba(10,61,30,.45) 0%, rgba(10,61,30,.72) 60%, rgba(10,61,30,.88) 100%); }
}
.hero-inner { position: relative; z-index: 1; padding-block: clamp(56px, 12vw, 128px); max-width: 640px; }
.hero h1 { color: #fff; font-size: clamp(32px, 7vw, 56px); margin: 0 0 18px; }
.hero h1 .hl { color: var(--amber); }
.hero-lead { color: #E7F3EA; font-size: clamp(17px, 2.6vw, 21px); margin: 0 0 30px; max-width: 52ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-chips { list-style: none; display: flex; flex-wrap: wrap; gap: 10px 22px; padding: 0;
  margin: 34px 0 0; }
.hero-chips li { display: inline-flex; align-items: center; gap: 8px; color: #E7F3EA; font-size: 14.5px;
  font-weight: 500; }
.hero-chips svg { width: 18px; height: 18px; color: var(--amber); flex-shrink: 0; }
.hero-chips .stars { color: var(--amber); letter-spacing: 1px; }

/* --- Karty „dlaczego" ------------------------------------------------------ */
.why-grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }
.why-card { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 28px 24px;
  display: grid; gap: 12px; align-content: start;
  transition: transform .3s var(--motion-ease), box-shadow .3s var(--motion-ease); }
.why-card:hover { transform: translateY(-5px); box-shadow: 0 16px 34px rgba(10,61,30,.1); }
.why-icon { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center;
  background: var(--mint); color: var(--green-deep); }
.why-icon svg { width: 27px; height: 27px; }
.why-card h3 { margin: 0; }
.why-card p { margin: 0; color: var(--ink-soft); font-size: 15.5px; }

/* --- Oferta: kolorowe kafle ----------------------------------------------- */
.offer-grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }
.offer-tile { position: relative; background: #fff; border: 1px solid var(--line); border-radius: 20px;
  padding: 28px 26px; display: grid; gap: 13px; align-content: start; overflow: hidden;
  transition: transform .32s var(--motion-ease), box-shadow .32s var(--motion-ease), border-color .32s; }
.offer-tile::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 5px;
  background: var(--tile, var(--green)); transform: scaleX(0); transform-origin: left;
  transition: transform .4s var(--motion-ease); }
.offer-tile:hover { transform: translateY(-6px); border-color: color-mix(in srgb, var(--tile, var(--green)) 40%, var(--line));
  box-shadow: 0 20px 40px rgba(10,61,30,.12); }
.offer-tile:hover::after { transform: scaleX(1); }
.offer-badge { width: 54px; height: 54px; border-radius: 15px; display: grid; place-items: center;
  background: color-mix(in srgb, var(--tile, var(--green)) 15%, #fff); color: var(--tile, var(--green-deep)); }
.offer-badge svg { width: 28px; height: 28px; }
.offer-tile h3 { margin: 0; }
.offer-tile p { margin: 0; color: var(--ink-soft); font-size: 15.5px; }
.offer-tile .tags { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 2px; }
.offer-tile .tags span { font-size: 12.5px; padding: 4px 11px; border-radius: 999px;
  background: var(--paw); color: var(--ink-soft); }

/* --- Galeria kolaż --------------------------------------------------------- */
.gallery { display: grid; gap: 14px; grid-template-columns: repeat(2, 1fr); }
.gallery figure { margin: 0; border-radius: 16px; overflow: hidden; position: relative; background: var(--mint); }
.gallery img { width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform .5s var(--motion-ease); }
.gallery figure:hover img { transform: scale(1.05); }
.gallery .g-tall { grid-row: span 2; }
.gallery figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 26px 16px 12px; color: #fff;
  font-size: 13.5px; font-weight: 500;
  background: linear-gradient(180deg, transparent, rgba(10,61,30,.78)); }
@media (min-width: 760px) { .gallery { grid-template-columns: repeat(4, 1fr); grid-auto-rows: 150px; } }

/* --- Proces --------------------------------------------------------------- */
.steps { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr));
  counter-reset: krok; }
.step { position: relative; background: #fff; border: 1px solid var(--line); border-radius: 18px;
  padding: 30px 24px 26px; display: grid; gap: 10px; align-content: start;
  justify-items: center; text-align: center; }
.step::before { counter-increment: krok; content: counter(krok); width: 42px; height: 42px; border-radius: 50%;
  background: var(--green); color: #fff; font-family: var(--font-heading); font-weight: 700; font-size: 18px;
  display: grid; place-items: center; }
.step h3 { margin: 0; }
.step p { margin: 0; color: var(--ink-soft); font-size: 15.5px; }

/* --- Opinie --------------------------------------------------------------- */
.reviews-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 14px;
  margin-bottom: 34px; }
.google-badge { display: inline-flex; align-items: center; gap: 12px; background: #fff; border: 1px solid var(--line);
  border-radius: 16px; padding: 14px 22px; box-shadow: 0 6px 18px rgba(10,61,30,.06); }
.google-badge .rate { font-family: var(--font-heading); font-weight: 700; font-size: 30px; color: var(--ink); line-height: 1; }
.google-badge .stars { color: var(--amber); font-size: 17px; letter-spacing: 2px; }
.google-badge small { color: var(--ink-soft); font-size: 13px; }
.review-grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.review-card { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 26px 24px;
  display: grid; gap: 14px; align-content: start;
  transition: transform .3s var(--motion-ease), box-shadow .3s var(--motion-ease); }
.review-card:hover { transform: translateY(-4px); box-shadow: 0 16px 34px rgba(10,61,30,.1); }
.review-card .stars { color: var(--amber); letter-spacing: 2px; font-size: 15px; }
.review-card p { margin: 0; color: var(--ink); font-size: 15.5px; line-height: 1.6; }
.review-author { display: flex; align-items: center; gap: 12px; margin-top: 2px; }
.review-avatar { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center;
  background: var(--green); color: #fff; font-family: var(--font-heading); font-weight: 700; }
.review-author strong { display: block; font-size: 15px; }
.review-author small { color: var(--ink-soft); font-size: 12.5px; }

/* --- O mnie --------------------------------------------------------------- */
.about-wrap { display: grid; gap: clamp(30px, 5vw, 56px); align-items: center; }
.about-photo img { width: 100%; border-radius: 22px; display: block; box-shadow: 0 20px 44px rgba(10,61,30,.14); }
.about-body h2 { margin: 0 0 16px; }
.about-body p { color: var(--ink-soft); margin: 0 0 14px; }
.about-body p strong { color: var(--ink); }
.about-note { display: inline-flex; gap: 10px; margin-top: 8px; padding: 12px 18px; border-radius: 14px;
  background: var(--paw); border: 1px dashed color-mix(in srgb, var(--amber) 55%, var(--line));
  font-size: 14px; color: #6B4A12; }
@media (min-width: 860px) { .about-wrap { grid-template-columns: .9fr 1.1fr; } }

/* --- Cennik --------------------------------------------------------------- */
.price-grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); }
.price-card { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 28px 22px;
  display: grid; gap: 8px; align-content: start; min-width: 0; text-align: center;
  transition: transform .3s var(--motion-ease), box-shadow .3s var(--motion-ease); }
.price-card:hover { transform: translateY(-4px); box-shadow: 0 16px 34px rgba(10,61,30,.1); }
.price-card h3 { margin: 0; overflow-wrap: anywhere; }
.price-value { font-family: var(--font-heading); font-weight: 600; font-size: clamp(14px, 2vw, 16px);
  color: var(--green-deep); overflow-wrap: anywhere; }
.price-card .muted { font-size: 14.5px; overflow-wrap: anywhere; }
.price-note { margin: 22px auto 0; max-width: 720px; padding: 16px 22px; border-radius: 14px; background: var(--mint);
  font-size: 13.5px; color: var(--ink-soft); text-align: center; overflow-wrap: anywhere; }

/* --- Kontakt -------------------------------------------------------------- */
.contact-wrap { display: grid; gap: clamp(28px, 4vw, 48px); align-items: start; }
.contact-card { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: clamp(26px,4vw,38px);
  display: grid; gap: 22px; }
.contact-row { display: flex; gap: 14px; align-items: flex-start; }
.contact-row svg { width: 22px; height: 22px; color: var(--green); flex-shrink: 0; margin-top: 2px; }
.contact-row dt { font-size: 12.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--green-deep);
  margin-bottom: 3px; font-weight: 600; }
.contact-row dd { margin: 0; line-height: 1.5; }
.contact-row a { font-weight: 600; text-decoration: none; }
.contact-socials { display: flex; gap: 12px; flex-wrap: wrap; }
.social-btn { display: inline-flex; align-items: center; gap: 9px; padding: 11px 18px; border-radius: 12px;
  border: 1px solid var(--line); background: var(--cream); text-decoration: none; color: var(--ink);
  font-weight: 500; font-size: 14.5px; transition: transform .2s, border-color .2s, background-color .2s; }
.social-btn:hover { transform: translateY(-2px); border-color: var(--green); background: var(--mint); }
.social-btn svg { width: 20px; height: 20px; color: var(--green-deep); }
.map-frame { border-radius: 20px; overflow: hidden; border: 1px solid var(--line); line-height: 0; }
.map-frame iframe { width: 100%; height: clamp(300px, 50vw, 460px); border: 0; display: block; }
@media (min-width: 880px) { .contact-wrap { grid-template-columns: 1fr 1fr; } }

/* --- Stopka --------------------------------------------------------------- */
.site-footer { background: var(--green-ink); color: #C5DDCC; padding-block: clamp(48px,7vw,72px) 32px; }
.footer-grid { display: grid; gap: 32px; }
.site-footer .brand-name { color: #fff; }
.site-footer p { margin: 0 0 8px; font-size: 14.5px; line-height: 1.55; }
.site-footer a { color: #EBD9BE; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-nav { display: flex; flex-direction: column; gap: 9px; }
.footer-nav a { color: #C5DDCC; }
.footer-help p { color: #A9C9B4; }
.footer-bottom { margin-top: 34px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.14);
  font-size: 12.5px; color: #86A692; }
@media (min-width: 820px) { .footer-grid { grid-template-columns: 1.4fr .7fr 1.1fr; gap: 44px; } }

/* --- Sticky CTA mobile ---------------------------------------------------- */
.mobile-cta { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; display: none; gap: 10px;
  padding: 10px 14px; background: rgba(250,251,247,.96); backdrop-filter: blur(8px);
  border-top: 1px solid var(--line); box-shadow: 0 -4px 18px rgba(0,0,0,.08); }
.mobile-cta .btn { flex: 1; min-height: 48px; }
@media (max-width: 720px) { .mobile-cta { display: flex; } body { padding-bottom: 74px; } }

/* --- Mobile: wyśrodkowane karty z ikonami ---------------------------------- */
@media (max-width: 720px) {
  .why-card, .offer-tile { justify-items: center; text-align: center; }
  .why-icon, .offer-badge { margin-inline: auto; }
  .offer-tile .tags { justify-content: center; }
}

/* --- br widoczny tylko na mobile -------------------------------------------- */
.br-mobile { display: none; }

/* --- Mobile: karta kontaktu wyśrodkowana, mniejszy font, socjale obok siebie */
@media (max-width: 720px) {
  .br-mobile { display: inline; }
  .contact-card { text-align: center; padding: 26px 20px; }
  .contact-row { flex-direction: column; align-items: center; gap: 6px; }
  .contact-row svg { margin: 0 auto; }
  .contact-row dt { font-size: 11px; }
  .contact-row dd { font-size: 13.5px; }
  .contact-socials { justify-content: center; flex-wrap: nowrap; }
  .social-btn { font-size: 13.5px; padding: 10px 14px; }
}

/* --- Reveal --------------------------------------------------------------- */
[data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--motion-ease), transform .7s var(--motion-ease); }
[data-reveal].in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  [data-reveal] { opacity: 1 !important; transform: none !important; }
}
