/* ===========================
   GastroFeed — style.css
   Paleta: bordo + żółty akcent
   =========================== */

:root{
  --bg: #0f0f10;
  --text: #f4f4f4;
  --muted: #c8c8c8;

  --brand: #800020;        /* bordo */
  --brand-900:#800020;
  --brand-700:#800020;
  --accent:#ffd700;        /* żółty */
  --accent-700:#ffd700;

  --card:#1a1a1d;
  --stroke:#2a2a2e;

  --radius: 14px;
  --shadow: 0 10px 30px rgba(0,0,0,.25);
  --maxw: 1200px;
}

/* Reset / base */
*{ box-sizing: border-box; }
html{ scroll-behavior:smooth; }
body{
  margin:0;
  font-family: "Montserrat", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}
img{ max-width:100%; height:auto; display:block; }
a{ color: inherit; text-decoration: none; }
p{ margin: .25rem 0 1rem; }
h1,h2,h3{ margin:0 0 .5rem; line-height:1.15; }
h1{ font-weight:800; letter-spacing:.3px; }
h2{ font-weight:800; }
h3{ font-weight:700; }
.show-sm{ display:none; }
.sr-only{ position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); border:0; }

/* Layout helpers */
.container{
  width: min(92%, var(--maxw));
  margin-inline:auto;
}
.section-head{ text-align:center; margin-bottom:1.25rem; }
.section-title{
  font-size: clamp(28px, 5vw, 48px);
  text-transform: uppercase;
  letter-spacing:.4px;
}






body {
  margin: 0;
  font-family: Arial, sans-serif;
}

/* Intro – białe tło, znika po 3s */
#intro {
  position: fixed;
  inset: 0;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  animation: hideIntro 3s forwards;
}

#intro {
  background: repeating-linear-gradient(
    45deg,
    #ffffff,
    #ffffff 19px,
    #800020 20px
  );
}

/* ==== LOGO + EFEKTY ==== */
.logo-container{
  position:relative; display:inline-block;
}

.logo-container img{
  width:60px; display:block; position:relative; z-index:1;
  /* PULSOWANIE logo */
  animation: logoPulse 2s ease-in-out infinite;
  will-change: transform, opacity;
}

@keyframes logoPulse{
  0%   { transform: scale(1);    opacity: 1;   }
  50%  { transform: scale(1.06); opacity: 0.96;}
  100% { transform: scale(1);    opacity: 1;   }
}

/* BŁYSK – tylko po kształcie logo (mask) */
.logo-container::after{
  content:""; position:absolute; top:0; left:-80%;
  width:60%; height:100%; z-index:2;
  background: linear-gradient(
    120deg,
    rgba(255,255,255,0) 0%,
    rgba(255,210,63,0.30) 47%,
    rgba(255,210,63,0.90) 50%,
    rgba(255,210,63,0.30) 53%,
    rgba(255,255,255,0) 100%
  );
  transform: skewX(-20deg);
  pointer-events:none;
  /* MASKA = błysk widoczny tylko na logotypie */
  -webkit-mask-image: url("logo.png");
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-size: contain;
  -webkit-mask-position: center;
          mask-image: url("logo.png");
          mask-repeat: no-repeat;
          mask-size: contain;
          mask-position: center;

  /* ANIMACJA błysku */
  animation: shine 1s ease forwards;
  animation-delay: .4s;
}

@keyframes shine{
  0%   { left:-80%; }
  100% { left:120%; }
}

/* (opcjonalnie) redukcja ruchu dla osób z ustawieniami dostępności */
@media (prefers-reduced-motion: reduce){
  .logo-container img{ animation: none; }
  .logo-container::after{ animation: none; }
}

/* (opcjonalnie) na telefonach pomijamy intro w całości */
@media (max-width:1023px){
  #intro{ display:none !important; }
}

/* Wygaszenie całego intro */
@keyframes hideIntro {
  0%   { opacity: 1; visibility: visible; }
  80%  { opacity: 1; }
  100% { opacity: 0; visibility: hidden; display: none; }
}


/* Header / Nav */
.site-header{
  position: fixed; top:0; left: 0; width: 100%; z-index:10;
  background: transparent;
  backdrop-filter: blur(0%);
  border-bottom: none;
}
.header__inner{
  display:flex; align-items:center; justify-content:space-between;
  min-height:64px; gap:2rem;
}
.brand__logo{ height:64px; width:auto; margin-top: 15px; }
.brand__logo:hover {
  animation: pulse 0.6s ease-in-out forwards;
}

@keyframes pulse {
  0%   { transform: scale(1); }
  50%  { transform: scale(1.15); }
  100% { transform: scale(1); }
}


.nav-toggle{
  width:40px; height:40px; border:1px solid var(--stroke); border-radius:10px;
  background:transparent; color:var(--text); display:grid; place-items:center;
}
.nav-toggle__bar{
  position:relative; width:20px; height:2px; background:var(--text);
}
.nav-toggle__bar::before, .nav-toggle__bar::after{
  content:""; position:absolute; left:0; width:20px; height:2px; background:var(--text);
}
.nav-toggle__bar::before{ top:-6px; }
.nav-toggle__bar::after{ top:6px; }

.nav{
  position: fixed; inset:64px 0 auto 0; translate: 0 -8px;
  background: rgba(15,15,16,.98);
  border-bottom:1px solid var(--stroke);
  transform: translateY(-120%);
  transition: transform .35s ease;
}
.nav--open{ transform: translateY(0); }
.nav__list{ list-style:none; margin:0; padding:12px 4%; display:grid; gap:.25rem; }
.nav__list a{
  display:block; padding:.9rem 1rem; border-radius:10px;
}
.nav__list a:hover{ background:#111; color:var(--accent); }

/* Desktop nav */
@media (min-width: 900px){
  .nav{ position:static; transform:none; background:transparent; border:0; inset:auto; translate:0; }
  .nav__list{ grid-auto-flow:column; gap:1.25rem; padding:0; }
  .nav__list a{ padding:.75rem .5rem; }
  .nav-toggle{ display:none; }
}

/* Hero */
.hero {
  position: relative;
  background: url("images/herobg.png") center/cover no-repeat;
  min-height: auto;
  display: grid;
  place-items: center;
  overflow: hidden;
  text-align: center;
  color: #fff
}
.hero__bg {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 0;
}
.hero::before{
  content:""; position:absolute; inset:0;
  background: rgba(0,0,0,.55); z-index: 0;
  opacity: 25%;  /* ciemna nakładka */
  }
.hero__content {
  position: relative;
  z-index: 1;
  padding-top: 60px;
  padding-bottom: 80px;
}

/* === Ogólny nagłówek H1 (użytkownik widzi tylko SOCIAL MEDIA) === */
.hero__title {
  margin: 0;
  font-weight: 800;
  color: #fff;
  font-size: clamp(72px, 10vw, 120px); /* duży napis */
  line-height: 1.6;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: .15em;
}

/* === Ukryty tekst SEO === */
.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap; /* zapobiega łamaniu */
  border: 0;
}






.hero__subtitle {
  margin: 1.5rem 0 0;            /* odstęp od nagłówka */
  font-weight: 600;              /* mocniejszy */
  color: rgba(255, 255, 255, 0.9); /* lekko złamany biały */
  font-size: clamp(18px, 2vw, 28px);
  line-height: 1.5;
  text-transform: none;          /* naturalna pisownia */
  letter-spacing: .02em;         /* subtelne rozstrzelenie */
  max-width: 70ch;               /* nie za szeroki blok tekstu */
  margin-inline: auto;
}




/* Trzecia linia (opis) */
.hero__desc {
  padding-top: 60px;
  margin: 0rem;
  font-weight: 400;
  color: #fff;
  text-transform: uppercase;
  font-size: clamp(24px, 5vw, 24px);
  letter-spacing: .12em;
  line-height: 1.5;
  max-width: 60ch;
  margin-inline: auto;
}

.hero__cta{ 
  padding-bottom: 70px;
  display:flex;
  gap:.75rem; 
  justify-content:center; 
  margin: top 1.5rem;; 
  flex-wrap:wrap;
  z-index: 2
  ;}

/* Buttons */
.btn{
  --h: 77px;
  display:inline-flex; align-items:center; gap:.5rem; height:var(--h);
  padding: 0 1.1rem; border-radius: calc(var(--h)/2);
  border:1px solid transparent; font-weight:700; letter-spacing:.2px;
  transition: transform .12s ease, box-shadow .2s ease, .2s ease, color .2s ease;
  box-shadow: var(--shadow); margin-top: 50px;
}
.btn__icon{ translate: 0 1px; }
.btn:active{ transform: translateY(1px); box-shadow: 0 6px 18px rgba(0,0,0,.2); }

.btn--primary{ background: linear-gradient(135deg, var(--accent), #ffe275); color:#1a1200; }
.btn--primary:hover{ background: linear-gradient(135deg, #ffe275, var(--accent));animation: pulse 0.6s ease-in-out forwards;
} 

.btn--ghost{
  background: rgba(0,0,0,.35);
  border-color: rgba(255,255,255,.18);
}
.btn--ghost:hover{ color: var(--accent); border-color: var(--accent);animation: pulse 0.6s ease-in-out forwards;
} 

/* Services */
.services{
  position: relative;
  background: url("images/bordowe.png") center/cover no-repeat;
  padding: clamp(50px, 1vw, 180px) 0;
}

/* Nagłówek sekcji */
.services .section-title {
  color: #ffd23f; /* żółty brandowy */
  font-size: clamp(40px, 4vw, 55px);
  font-weight: 800;
  text-align: center;
  margin-bottom: 2rem;
}

/* Grid */
.services__grid {
  display: grid;
  gap: 32px; /* większy oddech */
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  align-items: stretch;
  padding-bottom: 30px;
}

/* Pojedyncza karta */
.service-card {
  text-align: center;
  background: transparent;
  border: none;
  border-radius: var(--radius);
  padding: 20px 16px;
  min-height: 300px;

  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

/* Ikona */
.service-card__icon {
  width: 94px;
  height: 94px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: transparent;
  margin: 0 auto 1rem;
  font-size: 36px;
  line-height: 1;
}

/* Tytuł */
.service-card__title {
  color: #ffd23f;       /* żółty jak nagłówek */
  font-size: 22px;
  font-weight: 700;
  margin: 0 0 0.75rem;
  text-transform: none;
}

/* Treść */
.service-card__text {
  color: rgba(255,255,255,.92); /* jaśniejszy, nie zlewa się */
  font-size: 16px;
  line-height: 1.6;
  max-width: 30ch;
  margin: 0 auto;
}












/* =================== ABOUT (Kim jestem) =================== */
.about{
  position: relative;
  padding: clamp(120px, 6vw, 180px) 0;
  background: url("images/koncowe.png") center/cover no-repeat;
  color: #2b1f1f;
  overflow: hidden;
}
.about__inner{
  display: grid;
  gap: 24px;
  align-items: center;
}
@media (min-width: 900px){
  .about__inner{
    grid-template-columns: 0.9fr 1.4fr;
    gap: 40px;
  }
}
.about .section-title{
  color: #7c0a11; /* bordo */
  text-align: center;
  text-transform: none;
  font-size: clamp(28px, 4.6vw, 42px);
}

.about__left{ display: grid; gap: 16px; justify-items: start; }


.about__social {
  list-style: none;
  padding: 0;
  margin: 12px auto 0;  /* auto = centrowanie */
  display: flex;
  gap: 16px;
  justify-content: center; /* wyrównanie w poziomie */
}

.about__social img{
  width: 38px; height: 38px; display: block;
  filter: drop-shadow(0 4px 8px rgba(0,0,0,.12));
  transition: transform .15s ease, filter .2s ease;
}
.about__social a:hover img{ transform: translateY(-2px); filter: none; animation: pulse 0.6s ease-in-out forwards;
} 

.about__text{
  font-size: clamp(15px, 2.1vw, 18px);
  color: #3d2d2d;
  max-width: 66ch;
}
  .about__right {
    text-align: center;
  }


/* =================== PROCESS (Jak działam) =================== */
.process{
  position: relative;
  padding: clamp(100px, 10vw, 240px) 0;
  background: url("images/koncowe.png") center/cover no-repeat;
  color: #2b1f1f;
  overflow: hidden;
}
.process .section-title{
  color: #7c0a11;
  text-align: center;
  text-transform: none;
  margin-bottom: 22px;
  position: absolute;
  top: 30px;
  left: 50%;
  transform: translateX(-50%);
}

/* czerwona linia między krokami (desktop) */
.process__rail{
  display: none;
}
@media (min-width:900px){
  .process__rail{
    display: block;
    position: absolute;
    top: calc(px + 33px); /* wysokość plakietek + margines */
    left: 50%;
    width: min(1100px, 92%);
    transform: translateX(-50%);
    height: 6px;
    background: #7c0a11;
    border-radius: 999px;
    box-shadow: 0 6px 16px rgba(124,10,17,.25) inset;
  }
}

.process__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  justify-content: center;
  text-align: center;
  align-items: stretch; /* <-- zapewnia równą wysokość */
}

@media (min-width: 700px) {
  .process__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1100px) {
  .process__grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.step {
  position: relative;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(128, 0, 32, 0.2);
  border-radius: 12px;
  padding: 28px 24px 24px;
  max-width: 340px;
  margin: 0 auto;
  transition: all 0.35s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  height: 100%; /* <-- równanie wysokości kart */
}

.step:hover {
  transform: translateY(10px); /* „wysuwa” się w dół */
  border-color: #ffd23f;
  box-shadow: 0 8px 16px rgba(255, 210, 63, 0.25);
}

/* efekt subtelnego podświetlenia */
.step::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(255,210,63,0) 0%, rgba(255,210,63,0.15) 100%);
  opacity: 0;
  transition: opacity 0.35s ease;
  z-index: 0;
}

.step:hover::before {
  opacity: 1;
}


.step__badge{
/* Rozmiar i pozycja badge'a — jak u Ciebie */
  position:absolute;
  top:-34px; left:50%; transform:translateX(-50%);
  width: clamp(48px, 6vw, 64px);
  aspect-ratio: 1/1;
  border-radius: 999px;
  /* ring + cień (zostawiamy, bo ładny) */
  border: 6px solid #ffd23f;
  box-shadow: 0 10px 18px rgba(124,10,17,.25);
  background: #7c0a11 center/cover no-repeat; /* fallback */
}

/* Ustawiamy grafiki per kafelek */
.step:nth-child(1) .step__badge{ background-image: url("images/badge.svg"); }
.step:nth-child(2) .step__badge{ background-image: url("images/dwa.svg") }
.step:nth-child(3) .step__badge{ background-image: url("images/trzy.svg"); }
.step:nth-child(4) .step__badge{ background-image: url("images/cztery.svg"); }

.step__icon {
  width: 94px;
  height: 94px;
  object-fit: contain;
  margin: 72px auto 8px;
  padding-top: 10px;

  /* subtelniejszy cień */
  filter: drop-shadow(0 1px 2px rgba(128, 0, 32, 0.4));
  transition: filter 0.3s ease;
}

.step__icon:hover {
  filter: drop-shadow(0 2px 4px rgba(128, 0, 32, 0.6));
}

.step__title{
  color: #800020;
  font-size: 1.1rem; margin: 2px 0 6px; padding-top: 20px; font-weight: 600;
}
.step__desc{
  color: #000000; font-size: .96rem; margin: 0 0 10px; padding-top: 20px;         
}
.step__effect{
  color: #800020; font-size: .95rem; margin: 0;
  border-top: 0px dashed #ead8c8; padding-top: 10px; font-weight: 530; font-style: italic;
  letter-spacing: .5px; 
}

/* drobne dostosowania na bardzo małych ekranach */
@media (max-width:360px){
  .about__photo-wrap{ width: 150px; }
  .step{ padding: 16px 12px 12px; }
  .step__badge{ width: 48px; height: 48px; font-size: 22px; border-width: 5px; top: -20px; }
}


/* Contact */
/* ====== Palette / helpers (możesz już mieć te zmienne w projekcie) ====== */
:root{
  --brand: #7c0a11;     /* bordo tło */
  --accent: #ffd23f;    /* żółty */
  --cream: #fff4e6;     /* krem na karcie */
  --ink: #1a1313;       /* ciemny tekst */
  --muted: #f0e3d7;     /* delikatne obrysy */
  --radius: 18px;
  --shadow: 0 24px 50px rgba(0,0,0,.25);
}
.container{ width:min(1200px,92%); margin-inline:auto; }

/* ====== Sekcja lead / CTA ====== */
.lead-cta{
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding: clamp(48px, 6vw, 80px) 0 clamp(80px, 10vw, 140px);
  color: #fff;
  background: url(images/bordowe.png) center/cover no-repeat;
}
.lead-cta__bg{
  /* pattern w tle sekcji */
  position: absolute; inset: 0;
  background:
    radial-gradient(1200px 600px at 10% 15%, rgba(255,210,63,.12), transparent 60%),
    radial-gradient(1200px 600px at 90% 85%, rgba(255,210,63,.10), transparent 60%),
    url("images/pattern-food.svg") center/900px repeat;
  opacity: .35;
  z-index: -1;
}
.lead-cta__header{
  text-align: center;
  max-width: 1150px;
  margin: 0 auto clamp(28px, 4vw, 48px);
}
.lead-cta__eyebrow{
  margin:0 0 .25rem;
  font-weight:700;
  text-transform: uppercase;
  letter-spacing:.12em;
  opacity:.9;
}
.lead-cta__title{
  margin: .1rem 0 .35rem;
  font-weight: 800;
  line-height: 1.05;
  text-transform: uppercase;
  font-size: clamp(28px, 6vw, 64px);
}
.lead-cta__subtitle{
  margin:0;
  font-size: clamp(14px, 2.1vw, 20px);
  letter-spacing:.04em;
  opacity:.95;
}

/* ====== Układ: karta z formularzem ====== */
.lead-cta__grid{
  display: grid;
  justify-content: start; /* karta po lewej na desktopie */
}
@media (min-width: 1000px){
  .lead-cta__grid{
    grid-template-columns: 520px 1fr; /* karta + pusta przestrzeń z prawej */
    column-gap: min(5vw, 60px);
  }
}

/* ====== Karta ====== */
.lead-card{
  background: var(--cream);
  color: var(--ink);
  border-radius: var(--radius);
  border: 1px solid rgba(0,0,0,.06);
  box-shadow: var(--shadow);
  padding: clamp(18px, 3vw, 26px);
  max-width: 520px;
  position: relative;
  overflow: hidden;
}
.lead-card::before{
  /* delikatny doodle-pattern na karcie */
  content:"";
  position:absolute; inset:0;
  background: url("images/pattern-doodles.svg") center/340px repeat;
  opacity:.16;
  pointer-events:none;
}
.lead-card__title{
  margin: 0 0 .75rem;
  font-size: clamp(18px, 2.4vw, 22px);
  font-weight: 800;
  text-transform: uppercase;
   text-align: center;
}

/* Pola */
.lead-field{
  display: grid; gap:.4rem;
  margin-bottom: .8rem;
  position: relative;
  z-index: 1; /* nad patternem */
}
.lead-field span{
  font-size: .92rem; color: #3a2a2a; opacity:.9;
}

.lead-field input{
  width: 100%;
  height: 48px;
  border: none;
  outline: none;
  border-radius: 999px;
  padding: 0 16px;
  background: var(--accent);
  color: #1a1200;
  font-weight: 700;
  letter-spacing:.02em;
  box-shadow: inset 0 -2px 0 rgba(0,0,0,.08);
}
.lead-field input::placeholder{ color: rgba(0,0,0,.55); font-weight:600; }

/* Notka nad przyciskiem */
.lead-card__note{
  margin: .2rem 0 .7rem;
  font-weight: 700;
  text-transform: uppercase;
  text-align: center;
}

/* Przycisk */
.lead-btn{
  margin:0 auto;
  display: flex; align-items: center; justify-content: center; gap:.5rem;
  width: 200px; height: 56px;
  border-radius: 999px;
  border: none;
  background: linear-gradient(135deg, var(--accent), #ffe57c);
  color: #1b1300;
  font-weight: 800;
  letter-spacing:.04em;
  cursor: pointer;
  box-shadow: 0 12px 24px rgba(0,0,0,.18);
  transition: transform .12s ease, box-shadow .2s ease, filter .2s ease;
}
.lead-btn:hover{ transform: translateY(-1px); filter: brightness(1.05);animation: pulse 0.6s ease-in-out forwards;
}
.lead-btn:active{ transform: translateY(1px); box-shadow: 0 8px 18px rgba(0,0,0,.2); }

/* Drobnym drukiem */
.lead-card__legal{
  margin: .7rem 0 0;
  font-size: .78rem;
  color: #5a4c47;
  text-align: center;
}

/* RWD – centrowanie karty na mniejszych ekranach */
@media (max-width: 999px){
  .lead-cta__grid{ justify-content: center; }
  .lead-card{ width: 100%; max-width: 560px; }
}

/* Układ dwóch kolumn w sekcji CTA */
.lead-cta__grid{
  display:grid; gap:min(5vw, 40px);
}
@media (min-width: 1000px){
  .lead-cta__grid{ grid-template-columns: 1fr 1fr; align-items:stretch; }
}

/* Karta kontaktowa – szkło na bordowym tle */
.contact-card{
  background:var(--cream);;
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 20px;
  padding: clamp(18px, 3vw, 26px);
  color:#000000;
  box-shadow: 0 16px 40px rgba(0,0,0,.22);
}
.contact-card p {
  text-align: justify; /* opisy równo */
}
.contact-card__title{
  margin:0 0 .75rem;
  font-weight:800;
  letter-spacing:.06em;
  text-transform:uppercase;
  color: #000000;
  text-align: center;
}

/* Lista kontaktów z ikonami – bez bulletów */
.contact-list{ list-style:none; padding:0; margin:0 0 .75rem; display:flex; gap:1.5rem; flex-wrap: wrap; justify-content: center; }
.contact-list li{ display:flex; align-items:center; gap:.6rem; }
.contact-list .icon{ width:1.6rem;height: 1.6rem; display: flex;
  align-items: center;
  justify-content: center; opacity:.9; }
.contact-list img {
  width: 100%;
  height: auto;
  display: block;
}
.contact-list a {
  color: #000000;
  text-decoration: underline transparent;
}
.contact-list a:hover{ text-decoration-color:#000000; }

/* pogrubienie tylko dla telefonu i maila */
.contact-list a[href^="tel:"],
.contact-list a[href^="mailto:"] {
  font-weight: 700; /* albo 600 w zależności od wyglądu */
}




/* Zakładki map */
.map-switch{ display:flex; gap:.5rem; margin:.9rem 0 .6rem; justify-content: center; }
.map-switch__btn{
  padding:.5rem 1rem; border-radius:999px; border:1px solid rgba(255,255,255,.25);
  background:rgba(0,0,0,.35); color:#fff; cursor:pointer;
}
.map-switch__btn.is-active{ background:#7c0a11; border-color:#ffd23f; }

/* Jedna mapa aktywna, ładne oprawienie */
.map-wrap{ border-radius:16px; overflow:hidden; border:1px solid rgba(255,255,255,.18); }
.map{ display:none; width:100%; height:300px; border:0; }
.map.is-active{ display:block; }

@media (max-width: 480px){ .map{ height:240px; } }





/* Footer */
.mini-footer {
  background: #800020; /* burgund */
  color: #f9f5ef;
  font-size: 14px;
  padding: 12px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap; /* na mobile złamie się w kilka linii */
  gap: 20px;
  border-top:1px solid rgba(255,255,255,0.1);
}

.footer-left {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap; /* żeby ładnie się łamało na małych ekranach */
}

.footer-logo {
  height: 52px; /* małe logo */
  display: block;
}

.footer-text {
  font-size: 14px;
  color: #f9f5ef;
  opacity: 0.85;
}

.footer-cta {
  color: #FFD500;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s ease;
}

.footer-cta:hover {
  color: #fff;
}

.footer-right {
  font-size: 13px;
  opacity: 0.85;
  text-align: right;
}


#scrollTopBtn {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 44px;
  height: 44px;
  border: 2px solid #ffffff;   /* cienka bordowa ramka */
  border-radius: 50%;
  background: transparent;     /* przezroczyste tło */
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  transition: opacity 0.3s ease, transform 0.3s ease, border-color 0.3s ease;
  z-index: 999;
}

#scrollTopBtn img {
  width: 32px;
  height: 32px;
  display: block;
}


#scrollTopBtn:hover {
  border-color: #FFD500;       /* ramka zmienia się na żółtą */
  transform: translateY(-2px);
}






/* Utilities */
.no-scroll{ overflow:hidden; }

/* Typography tweaks for bigger screens */
@media (min-width: 900px){
  .hero{ min-height:78dvh; }
  .hero__subtitle{ font-size: 1.05rem; }
}

/* Focus visible */
:where(a, button, input, textarea):focus-visible{
  outline: 3px solid var(--accent);
  outline-offset: 2px;
  border-radius: 10px;
}

/* Small improvements for very small screens */
@media (max-width: 360px){
  .btn{ --h: 48px; padding:0 .9rem; }
  .services__grid{ grid-template-columns: 1fr; }
  .show-sm{ display:inline; }
}



.hero .hero__subtitle{
  font-size: clamp(22px, 3.4vw, 48px);
  line-height: 1.35;

  font-weight: 700;
  font-style: italic;
  color: rgba(255,255,255,0.95);

  text-transform: none;
  letter-spacing: .02em;
  text-shadow: 0 1px 2px rgba(0,0,0,.35);

  margin-top: 24px;
  margin-bottom: 20px;
  max-width: 70ch;
  margin-inline: auto;
  text-align: center;
}

/* złoty akcent na wyraz „social media” */
.hero__subtitle strong {
  color: #ffd23f;
  font-style: italic;
}

.services__title {
  font-size: clamp(32px, 4vw, 52px); /* responsywny rozmiar */
  font-weight: 800;
  color: #ffd23f; /* żółty brandowy */
  text-align: center;
  text-transform: uppercase;
  letter-spacing: .05em;
  margin-bottom: 2rem; /* odstęp od ikon/usług */
}


.services__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem; /* odstęp między kolumnami */
  text-align: center;
  align-items: stretch; /* wszystkie boxy tej samej wysokości */
}

.service {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: 1rem;
  max-width: 280px;
  margin-inline: auto;
}

.service__icon {
  margin-bottom: 1rem;
}

.service h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: #fff;
}

.service p {
  font-size: 16px;
  line-height: 1.5;
  color: #fff;
  opacity: 0.95;
}

.about__list li {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 18px;
  line-height: 1.4;
  transition: all 0.3s ease; /* animacja dla całego elementu */
  cursor: default;
}

.about__list li:hover {
  transform: translateX(6px); /* lekkie przesunięcie w prawo */
  color: #ffd23f; /* złoty akcent przy hoverze */
}

.about__list li:hover .check-icon {
  transform: scale(1.1) rotate(10deg);
  filter: drop-shadow(0 0 6px rgba(255, 210, 63, 0.4)); /* subtelna poświata */
}

.check-icon {
  width: 64px;
  height: 64px;
  flex-shrink: 0;
  align-self: flex-start;
  margin-top: 2px;
  transition: all 0.3s ease; /* dodaj, żeby ikona też się animowała */
}


.hp{
  position:absolute;
  left:-9999px;
  width:1px;height:1px;overflow:hidden;
}

/* Animacja podskoku dla logo w hero */
.brand{
  position:absolute; top:18px; left:18px; z-index:10;
  backdrop-filter: blur(6px);
  background: rgba(0,0,0,.005);
  border-radius: 999px;
  padding: 6px 10px;
  transition: box-shadow .25s ease;
  will-change: transform;
}

.brand img{ height:56px; width:auto; display:block; }

/* podskok przy najechaniu i focusie z klawiatury */
.brand:hover,
.brand:focus-visible{
  animation: hop .45s cubic-bezier(.22,.9,.24,1);
  box-shadow: 0 14px 30px rgba(0,0,0,.28);
}

@keyframes hop{
  0%   { transform: translateY(0) scale(1); }
  55%  { transform: translateY(-8px) scale(1.03); } /* podskok */
  85%  { transform: translateY(2px)  scale(0.995); } /* lekkie odbicie */
  100% { transform: translateY(0)    scale(1); }
}

/* Mobile skala mniejsza */
@media (max-width:768px){
  .brand{ top:12px; left:12px; padding:4px 8px; }
  .brand img{ height:44px; }
}

/* Szanuj preferencje dostępności */
@media (prefers-reduced-motion: reduce){
  .brand, .brand *{ animation: none !important; transition: none !important; }
}


/* Hero */
.hero {
  position: relative;
  background: url("images/herobg.png") center/cover no-repeat;
  min-height: 65dvh;
  display: grid;
  place-items: center;
  overflow: hidden;
  text-align: center;
  color: #fff
}
/* Efekt ramki i hovera */
.service-card {
  position: relative;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  padding: 28px 22px;
  min-height: 320px;
  transition: all 0.35s ease;
  backdrop-filter: blur(6px);
}

.service-card:hover {
  border-color: #ffd23f; /* złoty akcent przy hoverze */
  box-shadow: 0 8px 16px rgba(255, 210, 63, 0.25);
  transform: translateY(-6px);
}

/* delikatny efekt złotego "shine" */
.service-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(
    180deg,
    rgba(255, 210, 63, 0) 0%,
    rgba(255, 210, 63, 0.15) 100%
  );
  opacity: 0;
  transition: opacity 0.35s ease;
  z-index: 0;
}

.service-card:hover::before {
  opacity: 1;
}

/* upewnij się, że treść jest nad pseudo-elementem */
.service-card > * {
  position: relative;
  z-index: 1;
}

/* layout sekcji */
.about { padding: clamp(60px, 8vw, 120px) 0; }
.about__container{
  display:grid; gap:40px; align-items:center;
  grid-template-columns: 1.1fr 1.4fr; /* lewa / prawa */
  max-width:1200px; margin:0 auto; padding:0 32px;
}

/* karta ze zdjęciem – subtelna ramka + efekt jak w .step/.service-card */
.about__photo-card{
  position:relative;
  border:1px solid rgba(255,255,255,.14);
  border-radius:16px;
  background:rgba(255,255,255,.02);
  backdrop-filter: blur(6px);
  padding:12px;                /* wąski pasek „ramki” */
  transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease;
  box-shadow: 0 6px 18px rgba(0,0,0,.08);
}
.about__photo-card:hover{
  transform: translateY(-6px);
  border-color:#ffd23f;                 /* złoty akcent przy hoverze */
  box-shadow: 0 12px 24px rgba(255,210,63,.20);
}

/* samo zdjęcie */
.about__photo{
  display:block; width:100%; height:auto; border-radius:12px;
  object-fit:cover;
  aspect-ratio: 4 / 5;                  /* ładna pionowa proporcja; zmień wg potrzeby */
}

/* delikatny złoty „shine” jak wcześniej */
.about__photo-card::before{
  content:""; position:absolute; inset:0; border-radius:16px;
  background: linear-gradient(180deg, rgba(255,210,63,.10), transparent 60%);
  opacity:.0; transition:opacity .35s ease; pointer-events:none;
}
.about__photo-card:hover::before{ opacity:.8; }

/* opcjonalna plakietka z logo (nakładka w rogu) */
.about__badge{
  position:absolute; left:14px; top:14px;
  width:64px; height:64px; border-radius:50%; overflow:hidden;
  box-shadow:0 8px 16px rgba(0,0,0,.18);
}
.about__badge img{ width:100%; height:100%; display:block; }

/* responsywność */
@media (max-width: 900px){
  .about__container{ grid-template-columns: 1fr; }
  .about__photo-card{ order: -1; }  /* foto nad tekstem */
}
.section-title {
  text-shadow: 0 2px 6px rgba(0,0,0,0.15);
}
/* Styl bazowy linków w stopce / kontakcie */
a[href^="tel"], 
a[href^="mailto"] {
  position: relative;
  text-decoration: none;
  color: inherit;               /* dziedziczy kolor z otoczenia */
  transition: color 0.3s ease;
}

/* delikatna linia pojawiająca się od środka */
a[href^="tel"]::after,
a[href^="mailto"]::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -2px;
  transform: translateX(-50%) scaleX(0);
  transform-origin: center;
  width: 100%;
  height: 2px;
  background-color: #ffd23f;     /* złoty brandowy kolor */
  transition: transform 0.3s ease;
}

/* efekt po najechaniu */
a[href^="tel"]:hover::after,
a[href^="mailto"]:hover::after {
  transform: translateX(-50%) scaleX(1);
}


/* Footer (responsywny, lekki) */
.mini-footer{
  background:#800020;
  color:#f9f5ef;
  font-size: clamp(13px, 1.2vw, 15px);
  padding: clamp(12px, 2.5vw, 20px) clamp(16px, 4vw, 32px);
  border-top:1px solid rgba(255,255,255,0.1);

  /* grid jest stabilniejszy przy łamaniu niż flex-row + wrap */
  display:grid;
  grid-template-columns: 1fr auto; /* lewa | prawa */
  align-items:center;
  gap: clamp(12px, 2vw, 24px);
}

/* lewa strona (logo + tekst + CTA) */
.footer-left{
  display:flex;
  align-items:center;
  gap: clamp(10px, 1.5vw, 16px);
  flex-wrap:wrap;      /* ładnie łamie na wąskich ekranach */
  min-width:0;         /* pozwala tekstowi się zawijać */
}

.footer-logo{
  width: clamp(36px, 6vw, 52px);
  height:auto;
  display:block;
  flex:0 0 auto;
}

.footer-text{
  margin:0;
  opacity:.9;
}

/* CTA – link w kolorze brandowym, z lepszym focus */
.footer-cta{
  color:#ffd23f;
  font-weight:700;
  text-decoration:none;
  transition: color .2s ease, text-underline-offset .2s ease;
}
.footer-cta:hover{
  color:#ffffff;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.footer-cta:focus-visible{
  outline:2px dashed #ffd23f;
  outline-offset:2px;
  border-radius:4px;
}

/* prawa strona (copyright / extras) */
.footer-right{
  font-size: .95em;
  opacity:.85;
  text-align:right;
  justify-self:end;
}

/* ——— Mobile ——— */
@media (max-width: 720px){
  .mini-footer{
    grid-template-columns: 1fr;    /* jedna kolumna */
    text-align:center;
  }
  .footer-left{
    justify-content:center;
  }
  .footer-right{
    justify-self:center;
    text-align:center;
  }
}
.about__social a {
  position: relative;
  display: inline-grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  overflow: hidden;
  transition: transform 0.3s ease;
}

/* ikony */
.about__social img {
  width: 42px;
  height: 42px;
  position: relative;
  z-index: 1;
  transition: transform 0.3s ease;
}

/* pojawiające się tło */
.about__social a::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: #FFD23F; /* burgund */
  transform: scale(0);
  opacity: 0;
  transition: transform 0.3s ease, opacity 0.3s ease;
  z-index: 0;
}

/* efekt po najechaniu */
.about__social a:hover::before {
  transform: scale(1);
  opacity: 1;
}

.about__social a:hover img {
  transform: translateY(-2px);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, transparent 60%, rgba(0,0,0,0.6) 100%);
  z-index: 0;
}

.hero__subtitle strong {
  display: inline-block;
  background: linear-gradient(
    90deg,
    #806000 0%,          /* głęboki, ciemnozłoty */
    #FFD23F 20%,         /* złoty brandowy */
    #FFF8B0 50%,         /* jasny błysk – efekt shine */
    #FFD23F 80%, 
    #806000 100%
  );
  background-size: 300% 100%;          /* większy zakres ruchu */
  background-position: 0% 50%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  animation: shine 3s ease-in-out infinite;
  font-weight: 800;                    /* dla mocniejszego wyglądu */
  text-shadow: 0 0 10px rgba(255,210,63,0.3); /* złoty glow wokół */
}

@keyframes shine {
  0%   { background-position: 0% 50%; opacity: 0.85; }
  50%  { background-position: 200% 50%; opacity: 1; }
  100% { background-position: 0% 50%; opacity: 0.85; }








  
}
/* 🔇 Wyłączenie WSZYSTKICH animacji i przejść na małych ekranach */
@media (max-width: 768px) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
