@import url('fonts.css');

/* ==========================================================================
   NOVERA — Centrum Terapii
   1. Zmienne / design tokens
   2. Reset i typografia
   3. Elementy współdzielone (przyciski, sekcje, ikony)
   4. Header i nawigacja
   5. Hero
   6. Wartości
   7. Oferta
   8. O nas + modale
   9. Jak pracujemy
   10. Obszary pomocy
   11. FAQ
   12. CTA
   13. Stopka + formularz
   14. Podstrony (polityka prywatności)
   15. Animacje i responsywność
   ========================================================================== */

/* 1. ZMIENNE ============================================================== */
:root{
  --navy-900:#071C3C;
  --navy:#0B2247;
  --navy-700:#152A49;
  --navy-500:#3A4A66;
  --gold:#BF9F84;
  --gold-dark:#A8815F;
  --gold-soft:#E4D3C2;
  --cream:#F4E9E3;
  --cream-light:#FBF5F1;
  --sand:#EFE5DB;
  --bg:#F6F1EE;
  --white:#FFFDFB;
  --text:#6E6662;
  --text-dark:#2C3242;
  --line:rgba(11,34,71,.12);

  --ff-serif:'Playfair Display', 'Times New Roman', serif;
  --ff-sans:'Lato', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
  --ff-script:'Sacramento', 'Playfair Display', cursive;

  --container:1200px;
  --gutter:clamp(1.25rem, 4vw, 2.5rem);
  --radius:8px;
  --radius-lg:14px;
  --shadow:0 18px 45px -25px rgba(7,28,60,.35);
  --shadow-soft:0 10px 30px -20px rgba(7,28,60,.4);
  --ease:cubic-bezier(.22,.61,.36,1);
}

/* 2. RESET I TYPOGRAFIA =================================================== */
*,*::before,*::after{box-sizing:border-box;}
html{-webkit-text-size-adjust:100%;scroll-behavior:smooth;}
@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto;}}
body{
  margin:0;
  background:var(--bg);
  color:var(--text);
  font-family:var(--ff-sans);
  font-size:1rem;
  font-weight:400;
  line-height:1.75;
  -webkit-font-smoothing:antialiased;
  overflow-x:hidden;
}
img{max-width:100%;height:auto;display:block;}
a{color:inherit;text-decoration:none;}
button{font:inherit;color:inherit;}
h1,h2,h3,h4{
  font-family:var(--ff-serif);
  color:var(--navy);
  font-weight:400;
  line-height:1.18;
  margin:0 0 .6em;
  letter-spacing:-.01em;
}
h1{font-size:clamp(2.25rem,5.2vw,3.9rem);}
h2{font-size:clamp(1.8rem,3.6vw,2.85rem);}
h3{font-size:clamp(1.2rem,2vw,1.5rem);}
p{margin:0 0 1.15em;}
p:last-child{margin-bottom:0;}
::selection{background:var(--gold-soft);color:var(--navy);}
:focus-visible{outline:2px solid var(--gold-dark);outline-offset:3px;border-radius:2px;}

.skip-link{
  position:absolute;left:-9999px;top:0;z-index:200;
  background:var(--navy);color:var(--cream-light);
  padding:.75rem 1.25rem;border-radius:0 0 var(--radius) 0;
}
.skip-link:focus{left:0;}

/* 3. ELEMENTY WSPÓŁDZIELONE =============================================== */
.container{width:100%;max-width:var(--container);margin-inline:auto;padding-inline:var(--gutter);}
.section{padding-block:clamp(4rem,9vw,7.5rem);}
.section--tight{padding-block:clamp(3rem,6vw,5rem);}

.eyebrow{
  font-size:.72rem;letter-spacing:.22em;text-transform:uppercase;
  color:var(--gold-dark);font-weight:700;margin:0 0 1.1rem;
}
.section-head{max-width:44rem;margin-inline:auto;text-align:center;margin-bottom:clamp(2.5rem,5vw,4rem);}
.section-head p{color:var(--text);}
.rule{width:46px;height:1px;background:var(--gold);border:0;margin:1.6rem auto 0;}
.rule--left{margin-inline:0;}

.script{
  font-family:var(--ff-script);
  color:var(--gold);
  font-size:1.35em;
  line-height:.95;
  font-weight:400;
  letter-spacing:.01em;
  display:inline-block;
  padding-block:.06em;
}

.btn{
  display:inline-flex;align-items:center;justify-content:center;gap:.6rem;
  padding:1.05rem 2.15rem;
  border-radius:999px;border:1px solid transparent;
  background:var(--navy);color:var(--cream-light);
  font-size:.72rem;font-weight:700;letter-spacing:.18em;text-transform:uppercase;
  cursor:pointer;transition:background .3s var(--ease),transform .3s var(--ease),box-shadow .3s var(--ease);
  box-shadow:var(--shadow-soft);
}
.btn:hover{background:var(--navy-700);transform:translateY(-2px);box-shadow:0 16px 30px -18px rgba(7,28,60,.6);}
.btn:active{transform:translateY(0);}
.btn--sm{padding:.85rem 1.6rem;font-size:.68rem;}
.btn--ghost{background:transparent;color:var(--navy);border-color:rgba(11,34,71,.35);box-shadow:none;}
.btn--ghost:hover{background:var(--navy);color:var(--cream-light);}
.btn--light{background:var(--cream-light);color:var(--navy);}
.btn--light:hover{background:#fff;color:var(--navy);}

.link-more{
  display:inline-flex;align-items:center;gap:.65rem;
  font-size:.7rem;font-weight:700;letter-spacing:.18em;text-transform:uppercase;
  color:var(--navy);transition:color .25s var(--ease);
}
.link-more svg{transition:transform .3s var(--ease);}
.link-more:hover{color:var(--gold-dark);}
.link-more:hover svg{transform:translateX(5px);}

.icon{width:1em;height:1em;fill:none;stroke:currentColor;stroke-width:1.25;stroke-linecap:round;stroke-linejoin:round;}

/* Placeholder zdjęcia — do podmiany po sesji zdjęciowej */
.photo-slot{
  position:relative;overflow:hidden;
  background:
    linear-gradient(135deg,rgba(255,255,255,.55),rgba(255,255,255,0)),
    linear-gradient(160deg,var(--cream) 0%,var(--sand) 55%,var(--gold-soft) 100%);
  display:flex;align-items:center;justify-content:center;
}
.photo-slot::after{
  content:"";position:absolute;inset:10px;border:1px solid rgba(191,159,132,.35);border-radius:inherit;
  pointer-events:none;
}
.photo-slot__label{
  display:flex;flex-direction:column;align-items:center;gap:.55rem;
  color:var(--gold-dark);font-size:.63rem;letter-spacing:.2em;text-transform:uppercase;text-align:center;
  padding:1rem;line-height:1.6;
}
.photo-slot__label svg{width:26px;height:26px;opacity:.75;}
.photo-slot img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;}

/* 4. HEADER =============================================================== */
.header{
  position:fixed;inset:0 0 auto;z-index:100;
  padding-block:1.1rem;
  transition:background .35s var(--ease),box-shadow .35s var(--ease),padding .35s var(--ease);
}
.header.is-stuck{
  background:rgba(246,241,238,.94);
  -webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);
  box-shadow:0 1px 0 var(--line);
  padding-block:.7rem;
}
.header__inner{display:flex;align-items:center;justify-content:space-between;gap:1.5rem;}
.brand{display:block;flex:none;}
.brand img{width:clamp(84px,9vw,108px);}
.nav{display:flex;align-items:center;gap:clamp(1rem,2.3vw,2rem);}
.nav a{
  font-size:.7rem;font-weight:700;letter-spacing:.16em;text-transform:uppercase;
  color:var(--navy);position:relative;padding-block:.35rem;transition:color .25s var(--ease);
}
.nav a::after{
  content:"";position:absolute;left:0;bottom:0;width:0;height:1px;background:var(--gold);
  transition:width .3s var(--ease);
}
.nav a:hover::after,.nav a[aria-current="true"]::after{width:100%;}
.nav a:hover{color:var(--gold-dark);}
.header__cta{flex:none;}
.nav a.btn{color:var(--cream-light);}
.nav a.btn::after{display:none;}
.nav a.btn:hover{color:var(--cream-light);}
.nav [data-mobile-cta]{display:none;}
.nav-toggle{
  display:none;width:44px;height:44px;border:0;background:transparent;cursor:pointer;
  align-items:center;justify-content:center;
}
.nav-toggle span{display:block;width:22px;height:1.5px;background:var(--navy);position:relative;transition:.3s var(--ease);}
.nav-toggle span::before,.nav-toggle span::after{
  content:"";position:absolute;left:0;width:22px;height:1.5px;background:var(--navy);transition:.3s var(--ease);
}
.nav-toggle span::before{top:-7px;}
.nav-toggle span::after{top:7px;}
.nav-toggle[aria-expanded="true"] span{background:transparent;}
.nav-toggle[aria-expanded="true"] span::before{top:0;transform:rotate(45deg);}
.nav-toggle[aria-expanded="true"] span::after{top:0;transform:rotate(-45deg);}

/* 5. HERO ================================================================= */
.hero{
  position:relative;background:var(--cream);
  padding-top:clamp(7.5rem,14vw,10.5rem);
  padding-bottom:0;
  overflow:hidden;
}
.hero__grid{
  display:grid;grid-template-columns:minmax(0,.94fr) minmax(0,1.06fr);
  gap:clamp(2rem,5vw,4rem);align-items:end;
}
.hero__copy{padding-bottom:clamp(4rem,8vw,7rem);max-width:34rem;}
.hero h1{margin-bottom:1.5rem;}
.hero h1 .line{display:block;}
.hero__lead{max-width:27rem;color:var(--text);font-size:1.02rem;}
.hero__actions{margin-top:2.2rem;display:flex;flex-wrap:wrap;gap:1rem;}

.hero__media{position:relative;align-self:stretch;min-height:clamp(380px,46vw,620px);}
.hero__media::before{ /* łuk w tle, jak w projekcie */
  content:"";position:absolute;left:2%;right:-8%;bottom:0;top:8%;
  background:var(--cream-light);
  border-radius:50% 50% 0 0 / 30% 30% 0 0;
}
.hero__photos{
  position:absolute;inset:auto 0 0 0;
  display:flex;align-items:flex-end;justify-content:center;
  gap:clamp(.5rem,1.2vw,1.15rem);
}
.hero__photo{
  position:relative;overflow:hidden;margin:0;
  width:min(47%,300px);
  border-radius:999px 999px 0 0;
  box-shadow:var(--shadow);
}
.hero__photo img{width:100%;height:100%;object-fit:cover;object-position:center 8%;display:block;}
.hero__photo--back{aspect-ratio:3/4.35;}
.hero__photo--front{aspect-ratio:3/3.95;}
/* Wariant z jednym wspólnym zdjęciem zespołu */
.hero__photos--single{justify-content:center;}
.hero__photos--single .hero__photo{
  width:100%;aspect-ratio:1400/1250;
  border-radius:999px 999px 0 0 / 300px 300px 0 0;
}
.hero__photos--single .hero__photo img{object-position:center 18%;}

/* 6. WARTOŚCI ============================================================= */
.values{background:var(--sand);}
.values__grid{
  display:grid;grid-template-columns:repeat(4,1fr);
  gap:clamp(1.5rem,3.5vw,3rem);
}
.value{text-align:center;}
.value__icon{
  width:44px;height:44px;margin:0 auto 1.35rem;color:var(--navy);
  display:flex;align-items:center;justify-content:center;
}
.value__icon svg{width:100%;height:100%;}
.value h3{font-size:1.06rem;margin-bottom:.55rem;}
.value p{font-size:.85rem;line-height:1.7;max-width:15rem;margin-inline:auto;}

/* 7. OFERTA =============================================================== */
.offer__grid{display:grid;grid-template-columns:repeat(3,1fr);gap:clamp(1.5rem,3vw,2.6rem);}
.offer-card{text-align:center;display:flex;flex-direction:column;}
.offer-card__figure{position:relative;margin-bottom:3.4rem;}
.offer-card__media{
  position:relative;border-radius:var(--radius);overflow:hidden;aspect-ratio:16/11;
  background:var(--cream);
}
.offer-card__media img{width:100%;height:100%;object-fit:cover;transition:transform .7s var(--ease);}
.offer-card:hover .offer-card__media img{transform:scale(1.04);}
.offer-card__badge{
  position:absolute;left:50%;bottom:0;transform:translate(-50%,50%);
  width:58px;height:58px;border-radius:50%;background:var(--navy);color:var(--cream-light);
  display:flex;align-items:center;justify-content:center;z-index:2;
  box-shadow:0 10px 24px -12px rgba(7,28,60,.7);
}
.offer-card__badge svg{width:26px;height:26px;}
.offer-card h3{margin-bottom:.75rem;}
.offer-card p{font-size:.9rem;max-width:20rem;margin-inline:auto;}
.offer-card .link-more{margin-top:1.6rem;align-self:center;}

/* 8. O NAS ================================================================ */
.about__grid{
  display:grid;grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr);
  gap:clamp(2rem,5vw,4.5rem);align-items:center;
}
.about__copy{max-width:26rem;}
.about__copy h2{margin-bottom:1.4rem;}
.team{display:grid;grid-template-columns:repeat(2,1fr);gap:clamp(1.25rem,2.5vw,2rem);}
.team-card{
  background:transparent;border:0;padding:0;text-align:center;cursor:pointer;
  display:flex;flex-direction:column;gap:1.1rem;width:100%;
  transition:transform .35s var(--ease);
}
.team-card:hover{transform:translateY(-4px);}
.team-card__photo{
  position:relative;border-radius:var(--radius);overflow:hidden;aspect-ratio:4/5;
  background:var(--cream);box-shadow:var(--shadow-soft);
}
.team-card__photo img{width:100%;height:100%;object-fit:cover;transition:transform .6s var(--ease);}
.team-card:hover .team-card__photo img{transform:scale(1.035);}
.team-card__overlay{
  position:absolute;inset:auto 0 0;padding:1.4rem .75rem .9rem;
  background:linear-gradient(to top,rgba(11,34,71,.72),rgba(11,34,71,0));
  color:var(--cream-light);font-size:.63rem;letter-spacing:.18em;text-transform:uppercase;font-weight:700;
  opacity:0;transition:opacity .35s var(--ease);
}
.team-card:hover .team-card__overlay,.team-card:focus-visible .team-card__overlay{opacity:1;}
.team-card__name{font-family:var(--ff-serif);font-size:1.22rem;color:var(--navy);line-height:1.3;}
.team-card__role{display:block;font-size:.82rem;color:var(--text);margin-top:.35rem;line-height:1.6;}

/* Modal biogramu */
.bio-modal{
  border:0;padding:0;max-width:min(760px,92vw);width:100%;
  background:var(--bg);border-radius:var(--radius-lg);color:var(--text);
  box-shadow:0 40px 90px -40px rgba(7,28,60,.75);
}
.bio-modal::backdrop{background:rgba(7,28,60,.55);-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);}
.bio-modal__inner{display:grid;grid-template-columns:minmax(0,.62fr) minmax(0,1fr);}
.bio-modal__photo{background:var(--cream);}
.bio-modal__photo img{width:100%;height:100%;object-fit:cover;min-height:260px;}
.bio-modal__body{padding:clamp(1.75rem,3.5vw,2.75rem);max-height:min(78vh,760px);overflow-y:auto;}
.bio-modal__body h2{font-size:clamp(1.5rem,2.6vw,2rem);margin-bottom:.35rem;}
.bio-modal__role{
  font-size:.68rem;letter-spacing:.16em;text-transform:uppercase;color:var(--gold-dark);
  font-weight:700;margin-bottom:1.6rem;line-height:1.8;
}
.bio-modal__body p{font-size:.92rem;}
.bio-modal__close{
  position:absolute;top:.9rem;right:.9rem;width:42px;height:42px;border-radius:50%;
  border:1px solid var(--line);background:var(--bg);cursor:pointer;
  display:flex;align-items:center;justify-content:center;color:var(--navy);
  transition:background .25s var(--ease),color .25s var(--ease);
}
.bio-modal__close:hover{background:var(--navy);color:var(--cream-light);}
.bio-modal__close svg{width:16px;height:16px;}

/* 9. JAK PRACUJEMY ======================================================== */
.process{background:var(--cream);}
.process__grid{display:grid;grid-template-columns:repeat(4,1fr);gap:clamp(1.25rem,2.5vw,2rem);}
.step{
  background:var(--cream-light);border:1px solid rgba(191,159,132,.28);border-radius:var(--radius);
  padding:clamp(1.6rem,2.6vw,2.1rem);position:relative;
  transition:transform .35s var(--ease),box-shadow .35s var(--ease);
}
.step:hover{transform:translateY(-5px);box-shadow:var(--shadow);}
.step__num{
  font-family:var(--ff-serif);font-size:1.5rem;color:var(--gold);
  display:block;margin-bottom:1rem;line-height:1;
}
.step h3{font-size:1.05rem;margin-bottom:.6rem;}
.step p{font-size:.86rem;line-height:1.7;}

/* 10. OBSZARY POMOCY ====================================================== */
.areas__list{max-width:60rem;margin-inline:auto;border-top:1px solid var(--line);}
.area{border-bottom:1px solid var(--line);}
.area>summary{
  list-style:none;cursor:pointer;padding:1.6rem .5rem;
  display:flex;align-items:center;gap:1.25rem;
}
.area>summary::-webkit-details-marker{display:none;}
.area__num{
  font-family:var(--ff-serif);font-size:.9rem;color:var(--gold);flex:none;width:2rem;letter-spacing:.05em;
}
.area__title{
  font-family:var(--ff-serif);font-size:clamp(1.1rem,1.9vw,1.42rem);color:var(--navy);flex:1;line-height:1.35;
  transition:color .25s var(--ease);
}
.area>summary:hover .area__title{color:var(--gold-dark);}
.area__chevron{
  flex:none;width:34px;height:34px;border-radius:50%;border:1px solid var(--line);
  display:flex;align-items:center;justify-content:center;color:var(--navy);
  transition:transform .35s var(--ease),background .3s var(--ease),color .3s var(--ease);
}
.area__chevron svg{width:13px;height:13px;}
.area[open] .area__chevron{transform:rotate(180deg);background:var(--navy);color:var(--cream-light);}
.area__content{padding:0 .5rem 2rem calc(2rem + 1.25rem);max-width:52rem;}
.area__content p{font-size:.94rem;}
.area__tags{list-style:none;display:flex;flex-wrap:wrap;gap:.5rem;padding:0;margin:1.25rem 0 0;}
.area__tags li{
  font-size:.72rem;letter-spacing:.06em;color:var(--navy-500);
  background:var(--cream);border:1px solid rgba(191,159,132,.3);border-radius:999px;padding:.4rem 1rem;
}

/* 11. FAQ ================================================================= */
.faq{background:var(--sand);}
.faq__list{max-width:52rem;margin-inline:auto;display:flex;flex-direction:column;gap:.85rem;}
.faq-item{
  background:var(--cream-light);border:1px solid rgba(191,159,132,.3);border-radius:var(--radius);
  overflow:hidden;
}
.faq-item>summary{
  list-style:none;cursor:pointer;padding:1.3rem 1.6rem;
  display:flex;align-items:center;gap:1.25rem;
  font-family:var(--ff-serif);font-size:clamp(1rem,1.5vw,1.15rem);color:var(--navy);line-height:1.45;
}
.faq-item>summary::-webkit-details-marker{display:none;}
.faq-item__icon{
  flex:none;margin-left:auto;width:26px;height:26px;color:var(--gold-dark);
  display:flex;align-items:center;justify-content:center;transition:transform .35s var(--ease);
}
.faq-item__icon svg{width:14px;height:14px;}
.faq-item[open] .faq-item__icon{transform:rotate(45deg);}
.faq-item__answer{padding:0 1.6rem 1.5rem;font-size:.93rem;color:var(--text);}

/* 12. CTA ================================================================= */
.cta{padding-block:clamp(4rem,8vw,7rem);}
.cta__box{
  position:relative;overflow:hidden;border-radius:var(--radius-lg);
  background:var(--navy);color:var(--cream-light);
  display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);align-items:stretch;
  box-shadow:var(--shadow);
}
.cta__media{position:relative;min-height:300px;overflow:hidden;}
.cta__media img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;}
.cta__media .photo-slot{position:absolute;inset:0;filter:brightness(.92);}
.cta__media .photo-slot__label{color:rgba(255,253,251,.8);}
.cta__media .photo-slot::after{border-color:rgba(255,253,251,.28);}
.cta__media::after{
  content:"";position:absolute;inset:0;
  background:linear-gradient(90deg,rgba(11,34,71,.18) 0%,rgba(11,34,71,.9) 88%,var(--navy) 100%);
}
.cta__body{padding:clamp(2.25rem,5vw,4rem);display:flex;flex-direction:column;justify-content:center;}
.cta__body h2{color:var(--cream-light);margin-bottom:1.2rem;}
.cta__body p{color:rgba(251,245,241,.82);max-width:28rem;}
.cta__body .btn{margin-top:2rem;align-self:flex-start;}

/* 13. STOPKA ============================================================== */
.footer{background:var(--cream-light);padding-top:clamp(3.5rem,7vw,5.5rem);}
.footer__grid{
  display:grid;grid-template-columns:minmax(0,1fr) minmax(0,.85fr) minmax(0,1.15fr);
  gap:clamp(2rem,5vw,4rem);padding-bottom:clamp(2.5rem,5vw,4rem);
}
.footer__brand img{width:132px;margin-bottom:1.5rem;}
.footer__brand p{font-size:.86rem;max-width:20rem;}
.footer h4{
  font-family:var(--ff-sans);font-size:.7rem;font-weight:700;letter-spacing:.2em;text-transform:uppercase;
  color:var(--navy);margin-bottom:1.6rem;
}
.contact-list{list-style:none;padding:0;margin:0;display:flex;flex-direction:column;gap:1.15rem;}
.contact-list li{display:flex;gap:.9rem;align-items:flex-start;font-size:.9rem;}
.contact-list svg{width:20px;height:20px;flex:none;color:var(--gold-dark);margin-top:.15rem;}
.contact-list a:hover{color:var(--gold-dark);}
.socials{display:flex;gap:.75rem;margin-top:1.75rem;}
.socials a{
  width:40px;height:40px;border-radius:50%;border:1px solid var(--line);
  display:flex;align-items:center;justify-content:center;color:var(--navy);
  transition:background .3s var(--ease),color .3s var(--ease),transform .3s var(--ease);
}
.socials a:hover{background:var(--navy);color:var(--cream-light);transform:translateY(-2px);}
.socials svg{width:18px;height:18px;}

.form{display:flex;flex-direction:column;gap:.9rem;}
.form__row{display:grid;grid-template-columns:repeat(2,1fr);gap:.9rem;}
.field{position:relative;}
.field label{
  position:absolute;left:1.05rem;top:.95rem;font-size:.85rem;color:#A29A94;pointer-events:none;
  transition:.22s var(--ease);background:transparent;padding-inline:.25rem;
}
.field input,.field textarea{
  width:100%;padding:1rem 1.15rem;border:1px solid rgba(11,34,71,.14);border-radius:6px;
  background:var(--white);font-family:inherit;font-size:.9rem;color:var(--text-dark);
  transition:border-color .25s var(--ease),box-shadow .25s var(--ease);
}
.field textarea{min-height:120px;resize:vertical;}
.field input:focus,.field textarea:focus{
  outline:none;border-color:var(--gold);box-shadow:0 0 0 3px rgba(191,159,132,.16);
}
.field input:focus+label,.field textarea:focus+label,
.field input:not(:placeholder-shown)+label,.field textarea:not(:placeholder-shown)+label{
  top:-.55rem;left:.9rem;font-size:.66rem;letter-spacing:.1em;text-transform:uppercase;
  color:var(--gold-dark);background:var(--cream-light);
}
.field--hp{position:absolute;left:-9999px;opacity:0;height:0;overflow:hidden;}
.consent{display:flex;gap:.7rem;align-items:flex-start;font-size:.74rem;line-height:1.6;color:var(--text);}
.consent input{margin-top:.2rem;width:16px;height:16px;flex:none;accent-color:var(--navy);}
.consent a{text-decoration:underline;text-underline-offset:2px;}
.form .btn{align-self:flex-start;margin-top:.4rem;}
.form__status{
  font-size:.85rem;padding:.9rem 1.1rem;border-radius:6px;display:none;
}
.form__status.is-visible{display:block;}
.form__status--ok{background:rgba(70,120,90,.1);color:#2F5D42;border:1px solid rgba(70,120,90,.25);}
.form__status--error{background:rgba(168,60,60,.08);color:#8E3B3B;border:1px solid rgba(168,60,60,.22);}

.footer__bar{
  background:var(--navy-900);color:rgba(251,245,241,.75);
  font-size:.75rem;letter-spacing:.03em;
}
.footer__bar .container{display:flex;flex-wrap:wrap;gap:.75rem 1.5rem;justify-content:space-between;padding-block:1.15rem;}
.footer__bar a:hover{color:var(--gold-soft);}

/* 14. PODSTRONY =========================================================== */
.page-hero{background:var(--cream);padding-top:clamp(8rem,14vw,11rem);padding-bottom:clamp(2.5rem,5vw,4rem);}
.page-hero h1{font-size:clamp(2rem,4vw,3rem);margin-bottom:0;}
.prose{max-width:52rem;margin-inline:0;}
.prose h2{font-size:clamp(1.3rem,2.2vw,1.7rem);margin-top:2.75rem;}
.prose h3{font-size:1.1rem;margin-top:2rem;}
.prose ul,.prose ol{padding-left:1.25rem;margin:0 0 1.15em;}
.prose li{margin-bottom:.5rem;}
.prose a{color:var(--navy);text-decoration:underline;text-underline-offset:3px;}
.prose a:hover{color:var(--gold-dark);}
.note{
  background:var(--cream);border-left:3px solid var(--gold);border-radius:0 6px 6px 0;
  padding:1.1rem 1.35rem;font-size:.88rem;
}

/* 15. ANIMACJE I RESPONSYWNOŚĆ ============================================ */
/* Ukrycie przed animacją tylko wtedy, gdy JavaScript działa — bez niego treść
   jest widoczna od razu (klasa .js jest dodawana w <head>). */
.js [data-reveal]{
  opacity:0;transform:translateY(26px);
  transition:opacity .8s var(--ease),transform .8s var(--ease);
}
.js [data-reveal].is-visible{opacity:1;transform:none;}
@media (prefers-reduced-motion:reduce){
  .js [data-reveal]{opacity:1;transform:none;transition:none;}
  *{animation-duration:.01ms !important;transition-duration:.01ms !important;}
}

@media (max-width:1080px){
  .nav{gap:1.1rem;}
  .nav a{font-size:.66rem;letter-spacing:.12em;}
  .header__cta .btn{padding:.8rem 1.3rem;}
}
@media (max-width:900px){
  .header__cta{display:none;}
  .nav-toggle{display:flex;order:3;}
  .nav{
    position:fixed;inset:0 0 0 auto;width:min(340px,84vw);
    background:var(--cream-light);flex-direction:column;align-items:flex-start;justify-content:center;
    gap:1.75rem;padding:5rem var(--gutter) 3rem;
    transform:translateX(100%);transition:transform .4s var(--ease);
    box-shadow:-20px 0 60px -40px rgba(7,28,60,.6);
  }
  .nav.is-open{transform:translateX(0);}
  .nav a{font-size:.82rem;letter-spacing:.16em;}
  .nav [data-mobile-cta]{display:inline-flex;margin-top:.5rem;}
  .nav-backdrop{
    position:fixed;inset:0;background:rgba(7,28,60,.4);opacity:0;pointer-events:none;
    transition:opacity .35s var(--ease);z-index:99;
  }
  .nav-backdrop.is-open{opacity:1;pointer-events:auto;}
  body.nav-open{overflow:hidden;}

  .hero__grid{grid-template-columns:1fr;gap:2.5rem;}
  .hero__copy{padding-bottom:0;max-width:none;}
  .hero__media{min-height:min(84vw,440px);}
  .hero__media::before{left:4%;right:-4%;top:10%;}
  .hero__photo{width:min(48%,240px);}
  .hero__photos--single .hero__photo{width:100%;}
  .values__grid{grid-template-columns:repeat(2,1fr);gap:2.5rem 1.5rem;}
  .offer__grid{grid-template-columns:1fr;max-width:26rem;margin-inline:auto;}
  .about__grid{grid-template-columns:1fr;}
  .about__copy{max-width:none;}
  .process__grid{grid-template-columns:repeat(2,1fr);}
  .cta__box{grid-template-columns:1fr;}
  .cta__media{min-height:220px;}
  .cta__media::after{background:linear-gradient(180deg,rgba(11,34,71,.2) 0%,rgba(11,34,71,.92) 90%,var(--navy) 100%);}
  .footer__grid{grid-template-columns:1fr;}
  .bio-modal__inner{grid-template-columns:1fr;}
  .bio-modal__photo{max-height:260px;}
  .bio-modal__photo img{min-height:0;height:260px;object-position:center 20%;}
}
@media (max-width:560px){
  .values__grid{grid-template-columns:1fr;gap:2.25rem;}
  .process__grid{grid-template-columns:1fr;}
  .team{grid-template-columns:1fr;max-width:20rem;margin-inline:auto;}
  .form__row{grid-template-columns:1fr;}
  .hero__photos{gap:.4rem;}
  .area__content{padding-left:.5rem;}
  .btn{width:auto;}
}

/* Rozwijana treść "Dowiedz się więcej o nas" ------------------------------ */
.about__more{margin-top:1.75rem;}
.about__more>summary{list-style:none;display:inline-flex;}
.about__more>summary::-webkit-details-marker{display:none;}
.about__more[open]>summary{background:var(--navy-700);}
.about__more-content{
  margin-top:1.5rem;padding-left:1.25rem;border-left:2px solid var(--gold-soft);
  font-size:.94rem;
}
.team__hint{
  grid-column:1/-1;text-align:center;margin:.35rem 0 0;
  font-size:.72rem;letter-spacing:.12em;text-transform:uppercase;color:var(--gold-dark);
}
