:root{
  --bg:#e6fff2;
  --card:#0f3d2e;
  --muted:#3f6f5d;
  --text:#0f2f25;
  --accent:#2ecc71;
  --accent2:#27ae60;
  --border:rgba(0,0,0,.08);
  --shadow:0 10px 25px rgba(0,0,0,.15);
  --radius:18px;
}

*{box-sizing:border-box}

html,body{
  margin:0;
  padding:0;
  font-family:system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;

  background:linear-gradient(
    180deg,
    #e6fff2 0%,
    #e6fbf3 60%,
    #e2f6ee 100%
  );

  color:var(--text);
}
a{color:inherit}

.container{
  width:min(1100px, 92%);
  margin:0 auto;
}

/* HEADER */

.header{
  position:sticky;
  top:0;
  z-index:20;
  background:rgba(255,255,255,.55);
  backdrop-filter:blur(10px);
  border-bottom:1px solid rgba(0,0,0,.06);
}

.header__inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:14px 0;
  gap:14px;
}

.brand{
  display:flex;
  align-items:center;
  gap:14px;
}

.brand__logo{
  width:42px;
  height:42px;
  display:flex;
  align-items:center;
  justify-content:center;
  background:none;
  box-shadow:none;
  border-radius:0;
  overflow:visible;
  flex:0 0 auto;
}

.brand__logo img{
  width:120%;
  height:120%;
  object-fit:contain;
  display:block;
}

.brand__text{
  display:flex;
  flex-direction:column;
}

.brand__name{
  font-weight:800;
}

.brand__tagline{
  color:var(--muted);
  font-size:13px;
}

.nav{
  display:flex;
  gap:16px;
}

.nav a{
  color:#21493b;
  text-decoration:none;
  font-weight:600;
}

.nav a:hover{
  color:#0f2f25;
}

/* BUTTONS */

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:10px 14px;
  border-radius:14px;
  border:1px solid var(--border);
  text-decoration:none;
  font-weight:700;
}

.btn--primary{
  background:linear-gradient(135deg,var(--accent),var(--accent2));
  border:none;
  box-shadow:var(--shadow);
}

.btn--ghost{
  background:transparent;
}

.btn:active{
  transform:translateY(1px);
}

/* HERO */

.hero{
  padding:36px 0 0;
}

.hero__inner{
  display:grid;
  grid-template-columns:1fr 360px;
  gap:40px;
  align-items:start;
}

.hero h1{
  font-size:42px;
  line-height:1.05;
  margin:0 0 24px;
}

.hero p{
  color:var(--muted);
  font-size:17px;
  line-height:1.65;
  margin:0 0 26px;
  max-width:520px;
}

.hero__actions{
  display:flex;
  gap:14px;
  flex-wrap:wrap;
  margin-top:22px;
  margin-bottom:20px;
}

.hero__visual{
  display:flex;
  justify-content:flex-end;
  align-items:flex-start;
  width:100%;
  margin-top:-24px;
  min-height:170px;
  overflow:visible;
  position:relative;
}

.dogScene{
  position:relative;
  width:500px;
  height:380px;
  overflow:visible;
  left:-90px;
}

.dogFrame{
  position:absolute;
  left:0;
  bottom:48px;
  width:420px;
  height:auto;
  object-fit:contain;
  display:block;
  opacity:0;
  pointer-events:none;
  filter:drop-shadow(0 14px 24px rgba(0,0,0,.16));
  transform-origin:center bottom;
}

/* cały bieg od lewej strony hero do miejsca logo */
.dogFrame--run,
.dogFrame--sit{
  animation-name:dogTravel;
  animation-duration:2.8s;
  animation-timing-function:ease-out;
  animation-fill-mode:forwards;
}

/* przełączanie klatek biegu */
.dogFrame--1{
  animation-name:dogTravel, frame1;
  animation-duration:2.8s, .42s;
  animation-timing-function:ease-out, steps(1, end);
  animation-fill-mode:forwards, none;
  animation-iteration-count:1, 4;
}

.dogFrame--2{
  animation-name:dogTravel, frame2;
  animation-duration:2.8s, .42s;
  animation-timing-function:ease-out, steps(1, end);
  animation-fill-mode:forwards, none;
  animation-iteration-count:1, 4;
}

.dogFrame--3{
  animation-name:dogTravel, frame3;
  animation-duration:2.2s, .42s;
  animation-timing-function:ease-out, steps(1, end);
  animation-fill-mode:forwards, none;
  animation-iteration-count:1, 4;
}

.dogFrame--sit{
  opacity:0;
  animation:
    dogTravel 2.8s ease-out forwards,
    dogSitReveal 2.8s linear forwards;
}

/* ruch psa przez hero */
@keyframes dogTravel{
  0%{
    transform:translateX(-220px) translateY(0) scale(.92);
  }
  30%{
    transform:translateX(-140px) translateY(-3px) scale(.96);
  }
  60%{
    transform:translateX(-60px) translateY(-2px) scale(.99);
  }
  100%{
    transform:translateX(0) translateY(0) scale(1);
  }
}

/* klatki biegu */
@keyframes frame1{
  0%, 33.333%{ opacity:1; }
  33.334%, 100%{ opacity:0; }
}

@keyframes frame2{
  0%, 33.333%{ opacity:0; }
  33.334%, 66.666%{ opacity:1; }
  66.667%, 100%{ opacity:0; }
}

@keyframes frame3{
  0%, 66.666%{ opacity:0; }
  66.667%, 100%{ opacity:1; }
}

/* pies siada po biegu */
@keyframes dogSitReveal{
  0%, 59%{ opacity:0; }
  59.001%, 100%{ opacity:1; }
}

.badges{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
}

.badge{
  font-size:13px;
  color:var(--text);
  border:1px solid var(--border);
  padding:8px 10px;
  border-radius:999px;
  background:rgba(255,255,255,.04);
}

/* COMMON SECTIONS */

.section{
  padding:42px 0;
}

.section--alt{
  background:rgba(255,255,255,.03);
  border-top:1px solid var(--border);
  border-bottom:1px solid var(--border);
}

.section h2{
  margin:0 0 14px;
  font-size:28px;
}

.lead{
  color:var(--muted);
  font-size:16px;
  line-height:1.7;
  max-width:70ch;
}

.list{
  margin:14px 0 0;
  padding-left:18px;
  color:var(--muted);
  line-height:1.8;
}

/* TILES */

.grid{
  display:grid;
  grid-template-columns:repeat(4, 1fr);
  gap:14px;
  margin-top:16px;
}

.tile{
  background:var(--card);
  border:1px solid var(--border);
  border-radius:var(--radius);
  padding:16px;
  color:#fff;
}

.tile h3{
  margin:0 0 8px;
  font-size:16px;
  color:#fff;
}

.tile p{
  margin:0;
  color:rgba(255,255,255,.85);
  line-height:1.6;
}

/* OPTIONAL CARD STYLES */

.card{
  background:var(--card);
  border:1px solid var(--border);
  border-radius:var(--radius);
  padding:18px;
  box-shadow:var(--shadow);
  color:#fff;
}

.card__title{
  font-weight:800;
  margin-bottom:10px;
  color:#fff;
}

.hours{
  display:grid;
  gap:8px;
}

.hours > div{
  display:flex;
  justify-content:space-between;
  color:rgba(255,255,255,.85);
}

.card__note{
  margin-top:12px;
  color:rgba(255,255,255,.85);
  font-size:13px;
}

/* ABOUT */

.aboutBlock{
  display:grid;
  grid-template-columns:.9fr 1.1fr;
  gap:24px;
  align-items:center;
}

.aboutBlock > :first-child{
  order:2;
}

.aboutBlock > .aboutPhotoWrap{
  order:1;
}

.aboutPhotoWrap{
  display:flex;
  justify-content:center;
  align-items:flex-end;
  position:relative;
  min-height:420px;
}

.aboutPhotoWrap::before{
  content:"";
  position:absolute;
  width:320px;
  height:320px;
  border-radius:50%;
  background:radial-gradient(circle, rgba(255,255,255,.25) 0%, rgba(255,255,255,0) 70%);
  z-index:0;
}

.aboutPhotoWrap::after{
  content:"";
  position:absolute;
  bottom:30px;
  width:180px;
  height:35px;
  background:rgba(0,0,0,.15);
  border-radius:50%;
  filter:blur(18px);
  z-index:1;
}

.aboutPhoto{
  width:100%;
  max-width:260px;
  height:auto;
  display:block;
  position:relative;
  z-index:2;
  filter:drop-shadow(0 24px 30px rgba(0,0,0,.18));
}

/* WIDE PHOTO SECTION */

.sectionPhotoWrap{
  position:relative;
  margin-top:26px;
  isolation:isolate;
}

.sectionPhotoWrap::before{
  content:"";
  position:absolute;
  width:420px;
  height:140px;
  border-radius:50%;
  background:radial-gradient(circle, rgba(255,255,255,.22) 0%, rgba(255,255,255,0) 70%);
  top:-40px;
  left:50%;
  transform:translateX(-50%);
  z-index:0;
}

.sectionPhotoWrap::after{
  content:"";
  position:absolute;
  inset:0;
  border-radius:26px;
  background:linear-gradient(
    180deg,
    rgba(255,255,255,.15) 0%,
    rgba(255,255,255,0) 28%,
    rgba(0,0,0,.05) 100%
  );
  z-index:3;
  pointer-events:none;
}

.sectionPhoto{
  width:100%;
  height:420px;
  object-fit:cover;
  object-position:center 38%;
  display:block;
  border-radius:26px;
  border:1px solid rgba(255,255,255,.35);
  box-shadow:
    0 28px 60px rgba(0,0,0,.18),
    0 12px 24px rgba(0,0,0,.10);
  position:relative;
  z-index:2;
}

/* CONTACT */

.contact{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:30px;
  margin-top:18px;
  align-items:start;
}

.contactBox{
  display:flex;
  justify-content:center;
  align-items:center;
  min-height:120px;
  margin-bottom:10px;
}

.phoneCTA{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:15px 24px;
  font-size:17px;
  font-weight:700;
  background:linear-gradient(135deg,#30c37c,#22a863);
  color:#fff;
  border-radius:16px;
  text-decoration:none;
  box-shadow:0 14px 32px rgba(0,0,0,.18);
}

.phoneCTA:hover{
  transform:translateY(-2px);
  box-shadow:0 18px 40px rgba(0,0,0,.22);
}

.mapWrap{
  margin-top:0;
  border-radius:var(--radius);
  overflow:hidden;
  border:1px solid var(--border);
  background:var(--card);
  box-shadow:var(--shadow);
}

.mapWrap iframe{
  width:100%;
  height:420px;
  border:0;
}

.contactImage{
  position:relative;
  margin-top:6px;
}

.contactImage img{
  width:100%;
  height:420px;
  object-fit:cover;
  object-position:center 40%;
  border-radius:26px;
  border:1px solid rgba(255,255,255,.35);
  box-shadow:
    0 28px 60px rgba(0,0,0,.18),
    0 12px 24px rgba(0,0,0,.10);
  display:block;
  position:relative;
  z-index:2;
}

/* FORM / TOAST - zostawione, jeśli kiedyś wrócisz do formularza */

.form{
  background:var(--card);
  border:1px solid var(--border);
  border-radius:var(--radius);
  padding:16px;
  box-shadow:var(--shadow);
}

.form label{
  display:grid;
  gap:8px;
  margin-bottom:12px;
  font-weight:700;
}

.form input,
.form textarea{
  width:100%;
  border-radius:14px;
  border:1px solid rgba(255,255,255,.14);
  padding:11px 12px;
  background:rgba(255,255,255,.04);
  color:var(--text);
  outline:none;
}

.form input:focus,
.form textarea:focus{
  border-color:rgba(77,163,255,.8);
}

.formNote{
  color:var(--muted);
  font-size:12px;
  line-height:1.5;
  margin:12px 0 0;
}

.toast{
  margin-top:12px;
  padding:10px 12px;
  border-radius:14px;
  display:none;
  border:1px solid var(--border);
}

.toast--ok{
  display:block;
  background:rgba(80, 200, 120, .12);
}

.toast--bad{
  display:block;
  background:rgba(255, 90, 90, .12);
}

/* FOOTER */

.footer{
  margin-top:60px;
  padding:26px 0;
  border-top:1px solid rgba(0,0,0,.08);
  background:rgba(255,255,255,.35);
  backdrop-filter:blur(6px);
}

.footer__inner{
  position:relative;
  display:flex;
  align-items:center;
  justify-content:space-between;
}

.footer__brand{
  display:flex;
  align-items:center;
  gap:10px;
  font-size:15px;
  font-weight:500;
  color:#2c4f43;
}

.footer__logo{
  width:88px;
  height:88px;
  object-fit:contain;
  display:block;
  opacity:.9;
}

.footer__credit{
  font-size:14px;
  color:#4b6f63;
}

.footer__credit-label,
.footer__credit-name{
  display:inline;
}

.footer__credit-name{
  white-space:nowrap;
}

.small{
  font-size:12px;
}

/* RESPONSIVE */

@media (max-width: 920px){
  .hero__inner{
    grid-template-columns:1fr;
  }

  .grid{
    grid-template-columns:1fr 1fr;
  }

  .contact{
    grid-template-columns:1fr;
  }

  .aboutBlock{
    grid-template-columns:1fr;
  }

  .aboutBlock > :first-child{
    order:1;
  }

  .aboutBlock > .aboutPhotoWrap{
    order:2;
  }

  .mapWrap iframe,
  .contactImage img,
  .sectionPhoto{
    height:320px;
  }
}

@media (max-width: 520px){
  .nav{
    display:none;
  }

  .hero h1{
    font-size:34px;
  }

  .grid{
    grid-template-columns:1fr;
  }

  .brand__logo{
    width:46px;
    height:46px;
  }

  .footer__inner{
    flex-direction:column;
    align-items:center;
    gap:10px;
  }

  .footer__brand,
  .footer__credit{
    width:100%;
    text-align:center;
  }

  .footer__brand{
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
  }

  .footer__brand img{
    margin-left:auto;
    margin-right:auto;
  }

  .footer__credit{
    line-height:1.45;
  }

  .footer__credit-label,
  .footer__credit-name{
    display:block;
  }
}

.contactImage{
  position:relative;
  margin-top:40px; /* reguluj wartość */
}

.mapWrap iframe{
  width:100%;
  height:420px;
  border:0;
}

@media (max-width: 520px){
  .hero{
    padding:24px 0 4px;
  }

  .hero__inner{
    grid-template-columns:1fr;
    gap:18px;
  }

  .hero h1{
    font-size:32px;
    line-height:1.05;
    margin:0 0 14px;
  }

  .hero p{
    font-size:15px;
    line-height:1.55;
    margin:0 0 18px;
  }

  .hero__actions{
    gap:10px;
    margin-top:14px;
    margin-bottom:14px;
  }

  .hero__visual{
    justify-content:center;
    margin-top:0;
    min-height:190px;
  }

  .dogScene{
    width:240px;
    height:190px;
    left:35px;
  }

  .dogFrame{
    width:210px;
  }

  .badges{
    gap:8px;
  }

  .badge{
    font-size:12px;
    padding:7px 9px;
  }
}

@media (max-width:520px){
  .hero{
    text-align:center;
  }

  .hero p{
    margin-left:auto;
    margin-right:auto;
  }

  .hero__actions{
    justify-content:center;
  }

  .badges{
    justify-content:center;
  }
}

@media (max-width:520px){
  .aboutBlock{
    text-align:center;
  }

  .aboutBlock .list{
    display:inline-block;
    text-align:left;
    margin:16px auto 0;
  }
}

@media (max-width:520px){
  .section h2{
    text-align:center;
  }
}