/* =========================================
   FRA VERA JOURNEY – DESIGN SYSTEM (FINAL)
   Style: Premium Medical & Nature
   ========================================= */

:root {
  /* PALETA KOLORÓW */
  --color-aurora-deep: #062E7E;   /* Zaufanie, Powaga */
  --color-aurora-light: #246ED4;
  --color-gold: #E5C98B;          /* Akcent Premium */
  --color-sage: #5EA59B;          /* Natura, Zdrowie */
  --color-pearl: #F5F7FA;         /* Tło */
  --color-text-main: #0B1021;     /* Ciemny granat */
  --color-text-soft: #4A5568;     /* Szary tekst */
  
  /* EFEKTY SZKŁA */
  --glass-bg: rgba(255, 255, 255, 0.9);
  --glass-border: 1px solid rgba(255, 255, 255, 0.8);
  --shadow-soft: 0 10px 30px rgba(6, 46, 126, 0.05);
  --shadow-hover: 0 20px 40px rgba(6, 46, 126, 0.12);

  /* TYPOGRAFIA */
  --font-heading: "Cormorant Garamond", serif;
  --font-body: "Inter", sans-serif;
}

/* RESET */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-body);
  color: var(--color-text-main);
  background: var(--color-pearl);
  line-height: 1.6;
  overflow-x: hidden;
}

/* TYPOGRAFIA */
h1, h2, h3, h4 { font-family: var(--font-heading); font-weight: 600; color: var(--color-aurora-deep); }

/* H1 - POPRAWKA CZYTELNOŚCI NA TLE ZDJĘCIA */
h1 { 
    font-size: 2.5rem; 
    line-height: 1.1; 
    margin-bottom: 1rem; 
    text-shadow: 0 2px 15px rgba(255, 255, 255, 0.9); /* Mocniejszy cień dla kontrastu */
}

h2 { font-size: 2rem; margin-bottom: 1rem; }
h3 { font-size: 1.4rem; margin-bottom: 0.5rem; }
p { margin-bottom: 1rem; color: var(--color-text-soft); font-size: 1.05rem; }

/* LINKI I PRZYCISKI */
a { text-decoration: none; color: inherit; transition: 0.3s; }

.cta {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  padding: 1rem 2rem;
  border-radius: 50px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
}

.cta--main {
  background: var(--color-aurora-deep);
  color: var(--color-gold);
  box-shadow: 0 4px 15px rgba(6, 46, 126, 0.3);
}
.cta--main:hover {
  background: #041B4D;
  transform: translateY(-2px);
  color: #fff;
}

.cta--secondary {
  background: transparent;
  border: 2px solid var(--color-aurora-deep);
  color: var(--color-aurora-deep);
}
.cta--secondary:hover {
  background: var(--color-aurora-deep);
  color: #fff;
}

.center-btn { text-align: center; margin-top: 2rem; }
.full-width { width: 100%; }

/* LAYOUT */
.section-inner{
  scroll-margin-top: 90px;
  padding: 4rem 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
}

/* ================================
   HEADER + NAV (OVERRIDES)
   wklej na sam koniec pliku
   ================================ */

.site-header{
  position: sticky !important;
  top: 0 !important;
  z-index: 1000 !important;
  background: rgba(245,247,250,0.92) !important;
  backdrop-filter: blur(10px) !important;
  border-bottom: 1px solid rgba(0,0,0,0.06) !important;
  padding: 0.35rem 0 !important;
}

.header-inner{
  max-width: 1200px !important;
  margin: 0 auto !important;
  padding: 0 1.5rem !important;

  display:flex !important;
  align-items:center !important;
  gap:14px !important;
  flex-wrap: nowrap !important;
  position: relative !important; /* kotwica dla dropdown */
}

.brand{ flex:0 0 auto !important; }

.nav-desktop{
  flex:1 1 auto !important;
  display:none !important;
  align-items:center !important;
  gap:1.05rem !important;
  white-space:nowrap !important;
  overflow:hidden !important;
}

.nav-desktop a{
  white-space:nowrap !important;
  text-decoration:none !important;
  font-size:0.92rem !important;
}

.lang-switch--header{
  display:inline-flex !important;
  gap:8px !important;
  flex:0 0 auto !important;
  margin-left:auto !important;
}

.lang-switch--header button{
  padding:6px 10px !important;
  border-radius:12px !important;
  border:1px solid rgba(0,0,0,0.12) !important;
  background:rgba(255,255,255,0.75) !important;
}

.nav-mobile-btn{
  flex:0 0 auto !important;
  margin-left:12px !important;
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  background:none !important;
  border:none !important;
  font-size:1.8rem !important;
  cursor:pointer !important;
  color: var(--color-aurora-deep) !important;
}

/* Mobile dropdown menu */
.nav-mobile{
  display:none !important;
  position:absolute !important;
  top: calc(100% + 10px) !important;
  right: 1.5rem !important;
  width: min(320px, calc(100vw - 3rem)) !important;
  padding: 14px !important;
  border-radius: 16px !important;
  background: rgba(255,255,255,0.96) !important;
  border: 1px solid rgba(0,0,0,0.10) !important;
  box-shadow: 0 18px 60px rgba(0,0,0,0.18) !important;
}

.nav-mobile.is-open{ display:block !important; }

.nav-mobile a{
  display:block !important;
  padding:10px 10px !important;
  border-radius:12px !important;
  text-decoration:none !important;
  color: var(--color-aurora-deep) !important;
}

.nav-mobile a:hover{
  background: rgba(0,0,0,0.04) !important;
}

.nav-mobile .lang-switch.mobile{
  display:flex !important;
  gap:8px !important;
  margin-top:10px !important;
}

/* Desktop: pokaż nav linki */
@media (min-width: 768px){
  .nav-desktop{ display:flex !important; }
}

/* 3. HERO SECTION - POPRAWKA WIDOCZNOŚCI */
.hero-section {
  position: relative;
  min-height: 90vh;
  display: flex;

  /* ZAMIANA: tekst wędruje wyżej */
  align-items: flex-start;

  background: url('/assets/img/hero.png') no-repeat center/cover;
}

/* Overlay: mniej "mleka", lepszy kontrast */
.hero-bg-overlay {
  position: absolute;
  inset: 0;

  /* Było 0.8 na górze -> zmniejszamy, żeby nie wybielało postaci i nie "zjadało" kontrastu */
  background: linear-gradient(
    to bottom,
    rgba(245, 247, 250, 0.52) 0%,
    rgba(245, 247, 250, 0.18) 38%,
    rgba(245, 247, 250, 0.00) 75%
  );

  z-index: 1;
}
.root-hero{
  min-height:100vh;
  background-image:url("/assets/img/hero.png");
  background-size:cover;
  background-position:center;
  position:relative;
}

.root-overlay{
  position:absolute;
  inset:0;
  background:
    radial-gradient(circle at 20% 10%, rgba(229,201,139,0.15), transparent 55%),
    linear-gradient(rgba(16,19,38,0.45), rgba(16,19,38,0.65));
}

.lang-selector{
  position:relative;
  min-height:100vh;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:24px;
}

.lang-selector__inner{
  max-width:640px;
  width:100%;
  padding:36px;
  border-radius:22px;
  background:rgba(227,231,238,0.75);
  backdrop-filter:blur(14px);
  box-shadow:0 18px 50px rgba(0,0,0,0.25);
  text-align:center;
}

.root-logo{
  height:70px;
  margin-bottom:20px;
}

.lang-buttons{
  display:flex;
  justify-content:center;
  gap:14px;
  flex-wrap:wrap;
  margin-top:18px;
}

.lang-btn{
  padding:14px 22px;
  border-radius:999px;
  background:white;
  text-decoration:none;
  font-weight:600;
  border:1px solid rgba(0,0,0,0.12);
  transition:.25s;
}

.lang-btn:hover{
  transform:translateY(-2px);
  box-shadow:0 6px 18px rgba(0,0,0,0.18);
}

/* Kontener treści: wyżej, ale z oddechem od menu */
.hero-content{
  text-align: center;

  /* NOWE: pozycja tekstu w górę */
  padding-top: clamp(88px, 10vh, 140px);

  position: relative;
  z-index: 2; /* nad overlay */
}

/* HERO: pozycjonowanie CTA na dole */
.hero-section { 
  position: relative; 
}

/* Upewnij się, że overlay jest pod treścią */
.hero-bg-overlay { 
  z-index: 1; 
}
.hero-content { 
  position: relative; 
  z-index: 2; 
}

/* CTA absolutnie na dole hero */
.hero-cta{
  position: absolute;
  left: 50%;
  bottom: 28px;            /* możesz dać 22px albo 36px */
  transform: translateX(-50%);
  z-index: 3;
}

/* Na mobile trochę wyżej, żeby nie walczyło z paskiem przeglądarki */
@media (max-width: 640px){
  .hero-cta{ bottom: 18px; }
}

/* Ważne: daj hero-content trochę miejsca na dole, żeby CTA nie nachodziło na tekst */
.hero-content{
  padding-bottom: 110px;   /* rezerwuje miejsce na CTA */
}

/* 4. SEKCJA O NAS */
.about-content { max-width: 800px; margin: 2rem auto 0; text-align: justify; }
.quote-block { border-left: 3px solid var(--color-gold); padding-left: 1.5rem; margin: 2rem 0; font-family: var(--font-heading); font-style: italic; font-size: 1.5rem; color: var(--color-aurora-deep); }

/* 5. GRIDY I KARTY */
.glass-panel { background: var(--glass-bg); backdrop-filter: blur(10px); border: var(--glass-border); border-radius: 20px; padding: 2rem; box-shadow: var(--shadow-soft); }
.grid-3-cards, .offer-grid { display: grid; grid-template-columns: 1fr; gap: 2rem; margin-top: 3rem; }
.info-card { background: #fff; border-radius: 16px; overflow: hidden; box-shadow: var(--shadow-soft); }
.card-img { height: 200px; background-size: cover; background-position: center; }
.card-content { padding: 1.5rem; }
.icon-large { font-size: 3rem; margin-bottom: 1rem; color: var(--color-sage); }
/* OFFER: równe kolumny + CTA na tej samej wysokości */
.offer-grid > .glass-panel{
  display: flex;
  flex-direction: column;
  height: 100%;
}

.offer-grid > .glass-panel .cta{
  margin-top: auto !important; /* przycisk zawsze na dół */
}

@media (min-width: 768px){
  .grid-3-cards{ grid-template-columns: repeat(3, 1fr); }
  .offer-grid{ grid-template-columns: repeat(3, 1fr); align-items: stretch; }
  .reviews-slider{ grid-template-columns: repeat(3, 1fr); align-items: stretch; }
  .quiz-options{ grid-template-columns: repeat(3, 1fr); }  }

/* 6. QUIZ */
.quiz-wrapper { max-width: 800px; margin: 0 auto; }
.quiz-step { display: none; animation: fadeIn 0.5s ease; }
.quiz-step.active { display: block; }
.quiz-options { display: grid; gap: 1rem; margin-top: 2rem; }
.quiz-btn { background: #fff; border: 2px solid #eee; padding: 1.5rem; border-radius: 12px; font-size: 1.1rem; font-weight: 500; cursor: pointer; transition: 0.2s; color: var(--color-text-main); text-align: left; }
.quiz-btn:hover { border-color: var(--color-sage); background: #F0FDF4; }

/* 7. TRUST & DARK SECTION */
.dark-section { background: var(--color-aurora-deep); color: #fff; padding: 4rem 1.5rem; }
.dark-section h2, .dark-section p { color: #fff; }
.trust-indicators { display: flex; flex-wrap: wrap; justify-content: center; gap: 2rem; margin-top: 3rem; }
.trust-item { display: flex; flex-direction: column; align-items: center; text-align: center; }
.trust-item span { font-size: 2rem; margin-bottom: 0.5rem; }

/* 8. OPINIE */
.reviews-slider { display: grid; gap: 1.5rem; margin-top: 2rem; }
.review-card { position: relative; }
.review-author { margin-top: 1rem; font-size: 0.9rem; text-align: right; }
.review-author span { display: block; font-size: 0.8rem; color: var(--color-text-soft); }

/* 9. FORMULARZE */
.contact-wrapper { max-width: 600px; margin: 0 auto; }
.form-group { margin-bottom: 1.2rem; }
.form-group label { display: block; font-weight: 600; margin-bottom: 0.5rem; font-size: 0.9rem; }
.form-group input, .form-group textarea { width: 100%; padding: 1rem; border: 1px solid #ccc; border-radius: 8px; font-family: inherit; font-size: 1rem; }
.legal-check { font-size: 0.85rem; margin-bottom: 1.5rem; display: flex; gap: 0.5rem; align-items: start; }
.form-note { font-size: 0.8rem; text-align: center; margin-top: 1rem; opacity: 0.7; }

/* ===== FOOTER (BASE) ===== */
.site-footer{
  padding: 2.5rem 0 1rem;
  border-top: 1px solid rgba(0,0,0,0.06);
  background: rgba(245,247,250,0.7);
}

.footer-grid{
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: start;
}

.footer-col p{ margin-bottom: .5rem; font-size: .95rem; }

.footer-col.links a{
  display: block;
  margin-bottom: 8px;
}

.footer-bottom{
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(0,0,0,0.06);
  text-align: center;
  font-size: 0.85rem;
  opacity: 0.8;
}

@media (min-width: 768px){
  .footer-grid{
    grid-template-columns: 1.4fr 1fr 1fr 0.9fr;
  }
}

/* STICKY CONCIERGE */
.sticky-concierge { position: fixed; bottom: 20px; right: 20px; z-index: 999; display: flex; align-items: center; gap: 10px; background: #fff; padding: 5px; border-radius: 50px; box-shadow: 0 5px 20px rgba(0,0,0,0.15); transition: 0.3s; }
.concierge-icon { width: 50px; height: 50px; background: var(--color-gold); border-radius: 50%; display: flex; justify-content: center; align-items: center; color: var(--color-aurora-deep); }
.concierge-text { font-weight: 600; color: var(--color-aurora-deep); padding-right: 15px; font-size: 0.9rem; }
.sticky-concierge:hover { transform: scale(1.05); }

/* Bez JS treść ma być widoczna */
.animate-up { opacity: 1; transform: none; }

/* Animacje tylko gdy JS działa */
html.js .animate-up { opacity: 0; transform: translateY(30px); transition: 0.8s ease-out; }
html.js .animate-up.visible { opacity: 1; transform: translateY(0); }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

/* DESKTOP */
/* =========================================
   MEDIA QUERIES (DESKTOP - DUŻY EKRAN)
   ========================================= */
@media (min-width: 768px) {
  .hero-split{
    display: flex;
    justify-content: space-between;
    align-items: center;

    width: min(1400px, 100%);
    margin: 4rem auto 0;
    padding: 0 0.25rem; /* minimalny margines -> odsłania postacie */
    gap: 2rem;
  }

  .hero-card{
    width: 340px;
    flex-shrink: 0;
  }
}
.offer-grid > .glass-panel{
  display: flex;
  flex-direction: column;
  height: 100%;
  position: relative;
}

.offer-grid > .glass-panel ul{
  margin-bottom: 1.25rem;
}

.offer-grid > .glass-panel .cta{
  margin-top: auto !important; /* przycisk zawsze w tej samej linii */
}
.quiz-btn{
  display: flex;
  gap: 10px;
  align-items: center;
}

.quiz-emoji{
  font-size: 1.2rem;
  flex: 0 0 auto;
}

.quiz-label{
  line-height: 1.15;
}

.fv-quiz-panel{
  background:
    linear-gradient(180deg,
      rgba(227,231,238,0.92),
      rgba(227,231,238,0.78)
    );
}
.legal-note{
  max-width: 800px;
  margin: 1rem auto 0;
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(255,255,255,0.75);
  border: 1px solid rgba(0,0,0,0.06);
  box-shadow: var(--shadow-soft);
  font-size: 0.85rem;
  opacity: 0.95;
  text-align: center;
}
@media (min-width: 768px){
  .quiz-options{ grid-template-columns: repeat(3, 1fr); }
  .grid-3-cards{ grid-template-columns: repeat(3, 1fr); }

  /* Opinie: 3 obok siebie (zamiast kolumny) */
  .reviews-slider{
    grid-template-columns: repeat(3, 1fr);
    align-items: stretch;
  }
}
/* Blog/Home back button in header */
.nav-home-btn{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(0,0,0,0.12);
  background: rgba(255,255,255,0.55);
  font-weight: 800;
  font-size: 0.85rem;
  white-space: nowrap;
}

.nav-home-btn:hover{
  background: rgba(255,255,255,0.85);
}

.b2b-title {
  color: var(--color-aurora-deep, #0b2a5f);
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 0.75rem;
}

.b2b-subtitle {
  color: #4a5568;
  font-size: 1.15rem;
  max-width: 720px;
  margin: 0 auto;
}


/* =========================================================
   FRA VERA — FIX PACK (no renaming, CSS-only improvements)
   ========================================================= */

/* HERO — stronger contrast on bright photos */
.hero-bg-overlay{
  background: linear-gradient(
    180deg,
    rgba(245,247,250,0.72) 0%,
    rgba(245,247,250,0.42) 40%,
    rgba(6,46,126,0.18) 72%,
    rgba(6,46,126,0.32) 100%
  );
}

/* Typographic rhythm across sections */
.section-inner .text-center h2{
  margin: 0 0 10px;
}
.section-inner .text-center h3,
.section-inner .text-center p{
  max-width: 860px;
  margin-left: auto;
  margin-right: auto;
}
.section-inner .text-center h3{ margin-top: 0; }
.section-inner .text-center p{ margin-top: 8px; }

/* OFFER — give tiers more breathing room without touching other cards */
#offer .fv-offer-3col > .glass-panel{
  padding: 18px 18px;
}
#offer .fv-offer-3col > .glass-panel h3{
  letter-spacing: 0.02em;
}
#offer .fv-offer-3col > .glass-panel p{
  font-size: 0.95rem;
  line-height: 1.6;
}

/* QUIZ — make footer CTA more visible */
#quiz .fv-quiz-footer .cta{
  min-width: 260px;
}
@media (max-width: 900px){
  #quiz .fv-quiz-footer .cta{
    width: 100%;
    max-width: 520px;
  }
}

/* HEALING MAP — post-map action block */
#healing-map .healing-map-actions{
  margin-top: 18px;
}
#healing-map .healing-map-actions p{
  opacity: 0.85;
  line-height: 1.7;
}
#healing-map .healing-map-actions .cta{
  margin-top: 12px;
}

/* Sticky concierge — reduce obstruction over map on small screens */
.sticky-concierge{
  right: 18px;
  bottom: 18px;
}
@media (max-width: 680px){
  .sticky-concierge .concierge-text{ display:none; }
  .sticky-concierge{ padding: 12px; }
}
