/* ==========================================================================
   FEEL IT BELIZE - GUIDES (blog) shared stylesheet
   Editorial article layout. Reuses FIB design tokens + nav + footer 1:1.
   Loaded by /guides/, /es/guides/, /pl/guides/ subpages. Absolute /assets/ paths.
   ========================================================================== */

/* ---- Local font fallback (Google CDN loads in <head>) ---- */
@font-face {
  font-family: 'Kaushan Script';
  src: url('/assets/fonts/KaushanScript-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --white: #FFFFFF;
  --off-white: #FAFAF8;
  --teal: #2A9B9F;
  --teal-deep: #1F7B7E;
  --teal-light: #E8F3F4;
  --sunset: #F4A93D;
  --sunset-soft: #FCEBD0;
  --cream: #F7EEE1;
  --navy: #0E2233;
  --navy-light: #1A3149;
  --charcoal: #1A1A1A;
  --muted: #6B6B6B;
  --border: rgba(14, 34, 51, 0.08);

  --font-display: 'Kaushan Script', cursive;
  --font-sans: 'Plus Jakarta Sans', 'Cabinet Grotesk', system-ui, -apple-system, sans-serif;
  --font-serif: 'Lora', Georgia, serif;

  --section-px: clamp(24px, 5vw, 80px);
  --max-w: 1440px;
  --max-w-prose: 72ch;

  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-pill: 999px;

  --ease-smooth: cubic-bezier(0.22, 0.61, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --duration-fast: 0.2s;
  --duration-base: 0.5s;
}

/* ==========================================================================
   RESET + BASE
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  scrollbar-gutter: stable;
  overflow-x: clip;
  width: 100%;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  font-size: 17px;
  font-weight: 400;
  line-height: 1.7;
  letter-spacing: -0.003em;
  color: var(--charcoal);
  background: var(--white);
  overflow-x: clip;
  width: 100%;
  position: relative;
  opacity: 0;
  transition: opacity 0.5s ease-out;
}
body.is-ready { opacity: 1; }
@media (prefers-reduced-motion: reduce) {
  body { opacity: 1; transition: none; }
  html { scroll-behavior: auto; }
}

img { max-width: 100%; display: block; }
::selection { background: var(--teal); color: var(--white); }
a { color: var(--teal-deep); text-decoration: none; transition: color var(--duration-fast) var(--ease-smooth); }

.skip-link {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.skip-link:focus, .skip-link:focus-visible {
  position: fixed; top: 16px; left: 16px; width: auto; height: auto; margin: 0;
  padding: 12px 20px; overflow: visible; clip: auto; z-index: 9999;
  background: var(--navy); color: var(--white); font-family: var(--font-sans);
  font-size: 13px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase;
  border-radius: 8px; outline: 2px solid var(--sunset); outline-offset: 2px;
}

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 30px; font-family: var(--font-sans); font-size: 12px; font-weight: 500;
  letter-spacing: 0.16em; text-transform: uppercase; border-radius: 28px 8px 28px 8px;
  text-decoration: none; cursor: pointer; border: none;
  transition: all var(--duration-base) var(--ease-smooth); white-space: nowrap;
}
.btn:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }
.btn--primary { background: var(--teal); color: var(--white); box-shadow: 0 6px 24px rgba(31,123,126,0.35); }
.btn--primary:hover { background: var(--teal-deep); transform: translateY(-2px); color: var(--white); box-shadow: 0 10px 32px rgba(31,123,126,0.45); }
.btn--sunset { background: var(--sunset); color: var(--navy); font-weight: 700; }
.btn--sunset:hover { background: #f8b955; transform: translateY(-2px); color: var(--navy); }
.btn--outline-cream { background: transparent; color: var(--white); border: 1px solid rgba(255,255,255,0.55); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.btn--outline-cream:hover { background: rgba(255,255,255,0.12); border-color: rgba(255,255,255,0.85); color: var(--white); }

/* ==========================================================================
   NAV (1:1 z index.html - transparent na ciemnym hero -> solid po scroll)
   ========================================================================== */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 28px clamp(24px, 5vw, 64px);
  background: transparent; border: 0; box-shadow: none;
  transition: padding var(--duration-base) var(--ease-smooth),
              background var(--duration-base) var(--ease-smooth),
              box-shadow var(--duration-base) var(--ease-smooth);
}
.nav.is-scrolled {
  padding-top: 16px; padding-bottom: 16px;
  background: rgba(255,255,255,0.88);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 rgba(14,34,51,0.06);
}
@media (max-width: 900px) {
  .nav.is-scrolled { background: rgba(255,255,255,0.97); backdrop-filter: none; -webkit-backdrop-filter: none; }
}
.nav-logo { display: flex; align-items: center; text-decoration: none; line-height: 1; transition: opacity var(--duration-base) var(--ease-smooth); }
.nav-logo img {
  height: clamp(48px, 4.2vw, 64px); width: auto; display: block;
  filter: brightness(0) invert(1) drop-shadow(0 2px 12px rgba(14,34,51,0.4));
  transition: filter var(--duration-base) var(--ease-smooth);
}
.nav.is-scrolled .nav-logo img { filter: none; }
.nav-links { display: flex; gap: clamp(20px, 3vw, 44px); align-items: center; }
.nav-links a {
  color: var(--white); font-family: var(--font-sans); font-size: 14px; font-weight: 600;
  letter-spacing: 0.2em; text-transform: uppercase; position: relative; padding: 4px 0;
  transition: color var(--duration-base) var(--ease-smooth);
}
.nav-links a::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: currentColor; transform: scaleX(0); transform-origin: right;
  transition: transform var(--duration-base) var(--ease-smooth);
}
.nav-links a:hover::after { transform: scaleX(1); transform-origin: left; }
.nav.is-scrolled .nav-links a { color: var(--charcoal); text-shadow: none; }
.nav.is-scrolled .nav-links a:hover { color: var(--teal); }
.nav-links a:focus-visible { outline: 2px solid var(--sunset); outline-offset: 3px; border-radius: 2px; }
.nav-lang { margin-left: clamp(4px, 1vw, 12px); }
.nav-links a[aria-current="page"] { color: var(--sunset); }
.nav.is-scrolled .nav-links a[aria-current="page"] { color: var(--teal-deep); }
@media (max-width: 900px) {
  .nav:not(.is-scrolled) .nav-links a { text-shadow: 0 1px 4px rgba(14,34,51,0.55), 0 0 8px rgba(14,34,51,0.35); }
}
/* Mobile nav: logo + lang widoczne, sekcje glowne chowamy (podstrona = focus na tresci) */
@media (max-width: 640px) {
  .nav-links a:not(.nav-lang) { display: none; }
  .nav-links a.nav-guides { display: inline-block; }
}

/* ==========================================================================
   ARTICLE HERO (ciemny, asymetryczny - DESIGN_VARIANCE 7)
   ========================================================================== */
.guide-hero {
  position: relative;
  min-height: min(78vh, 720px);
  display: flex;
  align-items: flex-end;
  padding: 140px clamp(24px, 5vw, 80px) clamp(48px, 6vw, 76px);
  overflow: hidden;
  isolation: isolate;
  background: linear-gradient(160deg, var(--teal) 0%, var(--teal-deep) 58%, #12565a 130%);
  color: var(--white);
}
/* Placeholder tla: gdy klient wrzuci foto -> podmien .guide-hero__media na <img>/<picture>.
   HERO-FOTO (LCP nad foldem): loading="eager" + fetchpriority="high" + alt OPISOWY (scena, nie "Feel It Belize").
   Kontener rezerwuje wymiary (min-height), wiec object-fit:cover wystarcza - CLS bezpieczne. Idealnie <link rel="preload"> foto.
   Foto kart pod foldem (guide-post__media, related) = loading="lazy". */
.guide-hero__media {
  position: absolute; inset: 0; z-index: -2;
  background: linear-gradient(160deg, var(--teal) 0%, var(--teal-deep) 60%, #12565a 135%);
}
.guide-hero__media picture { position: absolute; inset: 0; display: block; }
.guide-hero__media img { width: 100%; height: 100%; object-fit: cover; }
/* Podwodne swiatlo - subtelne promienie (god rays) czysto CSS, znika przy realnym foto */
.guide-hero__media::after {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(120% 80% at 72% -12%, rgba(232,243,244,0.30), transparent 56%);
  mix-blend-mode: screen;
}
/* Lekki welon tylko przy samym dole - foto zostaje jasne, tytul czytelny dzieki text-shadow */
.guide-hero::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(to top, rgba(12,48,50,0.38) 0%, rgba(12,48,50,0.08) 26%, transparent 48%);
}
.guide-hero__inner {
  width: 100%; max-width: var(--max-w); margin: 0 auto;
  display: grid; grid-template-columns: minmax(0, 8.5fr) minmax(0, 3.5fr); gap: 40px;
  align-items: end;
}
.guide-hero__lead { max-width: 20ch; }

.guide-hero h1 {
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(38px, 6vw, 82px); line-height: 1.03;
  letter-spacing: -0.01em; color: var(--white);
  text-shadow: 0 2px 10px rgba(8,20,32,0.55), 0 4px 40px rgba(8,20,32,0.4);
  margin-bottom: 26px; max-width: 18ch;
}

.guide-byline {
  display: flex; align-items: center; flex-wrap: wrap; gap: 14px;
  font-family: var(--font-sans); font-size: 14px; color: rgba(255,255,255,0.9);
}
.guide-byline__avatar {
  width: 42px; height: 42px; border-radius: 50%; flex-shrink: 0;
  background: var(--cream);
  border: 1px solid rgba(255,255,255,0.55);
  display: flex; align-items: center; justify-content: center;
  color: var(--teal-deep); font-family: var(--font-serif); font-weight: 600; font-size: 14px; letter-spacing: -0.01em; line-height: 1;
  box-shadow: 0 2px 12px rgba(8,20,32,0.22);
}
.guide-byline__meta strong { font-weight: 600; }
.guide-byline__meta span { color: rgba(255,255,255,0.65); }
.guide-byline__dot { color: rgba(255,255,255,0.4); margin: 0 2px; }

/* ==========================================================================
   ARTICLE BODY (prose editorial)
   ========================================================================== */
.guide-article { background: var(--white); padding: clamp(48px, 6vw, 88px) clamp(24px, 5vw, 80px) clamp(56px, 7vw, 100px); }
.guide-body { max-width: var(--max-w-prose); margin: 0 auto; }

.guide-body > p, .guide-body li { font-family: var(--font-sans); font-size: clamp(17px, 1.15vw, 18.5px); line-height: 1.82; color: #23303b; }
.guide-body > p { margin-bottom: 1.35em; }

/* Intro (przed pierwszym H2) - drop cap editorial */
.guide-body > p.guide-intro { font-size: clamp(19px, 1.5vw, 22px); line-height: 1.7; color: #23303b; }
.guide-body > p.guide-intro::first-letter {
  font-family: var(--font-display); font-size: 3.4em; line-height: 0.72;
  float: left; margin: 0.08em 0.12em 0 0; color: var(--teal-deep);
}

.guide-body h2 {
  font-family: var(--font-serif); font-weight: 600;
  font-size: clamp(25px, 3.2vw, 35px); line-height: 1.18; color: var(--teal-deep);
  margin: 2.6em 0 0.7em; scroll-margin-top: 90px;
}
.guide-body h2:first-of-type { margin-top: 1.4em; }

/* Direct-answer lead (AEO) = pierwszy akapit po H2, auto-stylowany jako statement Lora italic teal */
.guide-body h2 + p {
  font-family: var(--font-serif); font-style: italic; font-weight: 500;
  font-size: clamp(19px, 1.9vw, 23px); line-height: 1.55; color: var(--teal-deep);
  margin-bottom: 1.3em;
}
.guide-body h2 + p strong { font-weight: 600; font-style: italic; color: var(--teal-deep); }

.guide-body h3 {
  font-family: var(--font-sans); font-weight: 700; font-size: clamp(18px, 1.4vw, 21px);
  color: var(--teal-deep); margin: 1.8em 0 0.5em;
}

.guide-body ul, .guide-body ol { margin: 0 0 1.35em 1.1em; }
.guide-body li { margin-bottom: 0.5em; padding-left: 0.3em; }
.guide-body ul li::marker { color: var(--teal); }
.guide-body ol li::marker { color: var(--teal-deep); font-weight: 600; }

.guide-body a { color: var(--teal-deep); text-decoration: underline; text-decoration-color: rgba(31,123,126,0.35); text-underline-offset: 3px; }
.guide-body a:hover { color: var(--sunset); text-decoration-color: var(--sunset); }

.guide-body strong { font-weight: 700; color: var(--teal-deep); }
.guide-body em { font-style: italic; }

/* Tables - editorial (hairline, bez zebry i boxa), responsive scroll wrapper */
.guide-table { overflow-x: auto; margin: 2.3em 0; -webkit-overflow-scrolling: touch; }
.guide-table table { width: 100%; border-collapse: collapse; font-family: var(--font-sans); font-size: 15.5px; min-width: 460px; }
.guide-table th {
  background: transparent; color: var(--teal-deep); text-align: left;
  font-size: 11.5px; letter-spacing: 0.11em; text-transform: uppercase; font-weight: 700;
  padding: 0 22px 13px; border-bottom: 2px solid rgba(31,123,126,0.4);
}
.guide-table td { padding: 17px 22px; border-bottom: 1px solid rgba(31,123,126,0.11); color: #33414d; line-height: 1.62; vertical-align: top; }
.guide-table td:first-child { color: var(--teal-deep); font-weight: 600; }
.guide-table tr:last-child td { border-bottom: none; }

/* Pull statement (opcjonalny blockquote akcent) */
.guide-body blockquote {
  font-family: var(--font-serif); font-style: italic; font-size: clamp(20px, 2.2vw, 26px);
  line-height: 1.5; color: var(--teal-deep); border-left: 2px solid var(--sunset);
  padding: 0.2em 0 0.2em 1.1em; margin: 1.6em 0;
}

/* ==========================================================================
   FAQ
   ========================================================================== */
/* FAQ: wodny wash spojny z homepage (aqua + morelowa poswiata zamiast plaskiego cream) */
.guide-faq {
  /* Spojne z FAQ homepage (czyste bialo) - tylko subtelny fade, zero nasyconych plam */
  background: linear-gradient(180deg, var(--white) 0%, #FBF7F0 12%, #FBF7F0 88%, var(--white) 100%);
  padding: clamp(64px, 7vw, 100px) clamp(24px, 5vw, 80px);
}
.guide-faq__inner { max-width: var(--max-w-prose); margin: 0 auto; }
.guide-faq__marker {
  font-family: var(--font-sans); font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase;
  font-weight: 700; color: var(--teal-deep); margin-bottom: 10px;
}
.guide-faq h2 { font-family: var(--font-serif); font-weight: 600; font-size: clamp(26px, 3.4vw, 38px); color: var(--teal-deep); margin-bottom: 1.2em; }
.guide-faq__item { border-top: 1px solid rgba(31,123,126,0.14); padding: 22px 0; }
.guide-faq__q { font-family: var(--font-sans); font-weight: 700; font-size: clamp(17px, 1.4vw, 19px); color: var(--teal-deep); margin-bottom: 8px; }
.guide-faq__a { font-family: var(--font-sans); font-size: 16.5px; line-height: 1.7; color: #33414d; }

/* ==========================================================================
   CTA (ciemny panel - kontrast do jasnej tresci)
   ========================================================================== */
.guide-cta { padding: clamp(40px, 5vw, 72px) clamp(16px, 3vw, 44px); }
.guide-cta__panel {
  max-width: 1560px; margin: 0 auto; border-radius: var(--radius-lg); overflow: hidden;
  position: relative; isolation: isolate;
  background: linear-gradient(140deg, var(--teal) 0%, var(--teal-deep) 100%);
  color: var(--white); padding: clamp(40px, 5vw, 68px) clamp(28px, 5vw, 64px);
  text-align: center;
}
.guide-cta__panel::after {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(85% 75% at 50% -12%, rgba(255,255,255,0.12), transparent 62%);
}
.guide-cta__panel h2 { font-family: var(--font-display); font-weight: 400; font-size: clamp(28px, 4vw, 46px); line-height: 1.1; margin-bottom: 16px; }
.guide-cta__panel p { font-family: var(--font-serif); font-style: italic; font-size: clamp(17px, 1.6vw, 20px); color: rgba(255,255,255,0.88); max-width: 46ch; margin: 0 auto 28px; }

/* ==========================================================================
   RELATED GUIDES
   ========================================================================== */
.guide-related { background: linear-gradient(180deg, var(--white) 0%, var(--off-white) 72px, var(--off-white) calc(100% - 72px), var(--white) 100%); padding: clamp(56px, 6vw, 88px) clamp(24px, 5vw, 80px); }
.guide-related__inner { max-width: 1080px; margin: 0 auto; }
.guide-related__marker { font-family: var(--font-sans); font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; font-weight: 700; color: var(--teal-deep); margin-bottom: 20px; }
.guide-related__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.guide-related__card {
  display: block; padding: 26px 28px; border-radius: var(--radius-lg);
  background: var(--white); border: 1px solid var(--border);
  transition: transform var(--duration-base) var(--ease-smooth), box-shadow var(--duration-base) var(--ease-smooth);
}
.guide-related__card:hover { transform: translateY(-3px); box-shadow: 0 12px 30px rgba(14,34,51,0.08); }
.guide-related__card h3 { font-family: var(--font-serif); font-weight: 600; font-size: clamp(18px, 1.8vw, 22px); color: var(--teal-deep); margin: 8px 0 6px; }
.guide-related__card p { font-family: var(--font-sans); font-size: 14.5px; color: var(--muted); line-height: 1.6; }

/* ==========================================================================
   FOOTER (1:1 z index.html)
   ========================================================================== */
.footer {
  position: relative; background: var(--white);
  padding: clamp(64px, 8vw, 108px) clamp(24px, 5vw, 64px) 260px;
  overflow: hidden; isolation: isolate;
}
.footer-ocean { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 220px; pointer-events: none; z-index: 0; }
.footer-ocean svg { display: block; width: 100%; height: 100%; }
.footer-ocean .wave-far { fill: rgba(42,155,159,0.20); }
.footer-ocean .wave-mid { fill: rgba(42,155,159,0.45); }
.footer-ocean .wave-near { fill: rgba(31,123,126,0.85); }
@media (prefers-reduced-motion: no-preference) {
  .footer-ocean .wave-far { animation: waveDrift 22s ease-in-out infinite alternate; }
  .footer-ocean .wave-mid { animation: waveDrift 16s ease-in-out infinite alternate-reverse; }
}
@keyframes waveDrift { 0% { transform: translateX(-2%); } 100% { transform: translateX(2%); } }
.footer-jellyfish { position: absolute; left: clamp(20px, 4vw, 64px); bottom: 28px; width: 78px; height: 124px; z-index: 1; opacity: 0.85; pointer-events: none; transform-origin: 50% 30%; }
.footer-jellyfish svg { width: 100%; height: 100%; display: block; }
@media (prefers-reduced-motion: no-preference) {
  .footer-jellyfish { animation: jellyFloat 6.5s ease-in-out infinite; }
  .footer-jellyfish .jelly-tentacles { transform-origin: 50% 0; animation: jellySway 4.2s ease-in-out infinite alternate; }
}
@keyframes jellyFloat { 0%,100% { transform: translateY(0) scale(1); } 50% { transform: translateY(-8px) scale(1.03); } }
@keyframes jellySway { 0% { transform: skewX(-3deg) translateY(0); } 50% { transform: skewX(0deg) translateY(2px); } 100% { transform: skewX(3deg) translateY(0); } }
.footer-fish-swim, .footer-fish-swim-2 { position: absolute; z-index: 2; pointer-events: none; color: var(--teal-deep); opacity: 0; }
.footer-fish-swim svg, .footer-fish-swim-2 svg { width: 100%; height: 100%; display: block; transform: scaleX(-1); }
.footer-fish-swim { bottom: 92px; left: -8%; width: 38px; height: 19px; }
.footer-fish-swim-2 { bottom: 56px; left: -8%; width: 26px; height: 13px; color: var(--teal); }
@media (prefers-reduced-motion: no-preference) {
  .footer-fish-swim { animation: footerFishSwim 18s linear infinite; animation-delay: 1s; }
  .footer-fish-swim-2 { animation: footerFishSwim 24s linear infinite; animation-delay: 9s; }
}
@keyframes footerFishSwim {
  0% { left: -8%; opacity: 0; transform: translateY(0); }
  10% { opacity: 0.85; } 50% { left: 50%; opacity: 0.9; transform: translateY(-6px); }
  90% { opacity: 0.65; } 100% { left: 108%; opacity: 0; transform: translateY(3px); }
}
.footer-bubble { position: absolute; bottom: 8px; width: 6px; height: 6px; border-radius: 50%; background: rgba(232,243,244,0.6); border: 1px solid rgba(232,243,244,0.85); z-index: 2; pointer-events: none; opacity: 0; }
.footer-bubble--a { left: 18%; width: 5px; height: 5px; }
.footer-bubble--b { left: 62%; width: 7px; height: 7px; }
.footer-bubble--c { left: 84%; width: 4px; height: 4px; }
@media (prefers-reduced-motion: no-preference) {
  .footer-bubble--a { animation: bubbleRise 7s ease-in infinite; }
  .footer-bubble--b { animation: bubbleRise 9s ease-in infinite; animation-delay: 3s; }
  .footer-bubble--c { animation: bubbleRise 6.5s ease-in infinite; animation-delay: 5s; }
}
@keyframes bubbleRise { 0% { bottom: 8px; opacity: 0; transform: translateX(0); } 15% { opacity: 0.7; } 100% { bottom: 180px; opacity: 0; transform: translateX(8px); } }
.footer-inner { max-width: 1080px; margin: 0 auto; display: grid; grid-template-columns: 1.2fr 0.9fr 0.9fr 1.1fr 1.4fr; gap: 36px; position: relative; z-index: 2; }
.footer-brand { display: flex; align-items: flex-start; text-decoration: none; }
.footer-brand img { height: 80px; width: auto; display: block; transition: opacity var(--duration-fast); }
.footer-brand:hover img { opacity: 0.85; }
.footer-col h4 { font-family: var(--font-sans); font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; font-weight: 700; color: var(--teal-deep); margin-bottom: 14px; }
.footer-col a { display: block; color: rgba(14,34,51,0.78); text-decoration: none; font-size: 13px; line-height: 1.9; transition: color var(--duration-fast); }
.footer-col a:hover { color: var(--navy); }
.footer-col--partners { max-width: 280px; }
.footer-partners-note { font-family: var(--font-sans); font-size: 12px; line-height: 1.55; color: rgba(14,34,51,0.72); margin-top: 4px; }
.footer-social { position: relative; z-index: 3; max-width: 1080px; margin: 56px auto 0; display: flex; justify-content: center; align-items: center; gap: 22px; }
.footer-social a { display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; color: var(--teal-deep); opacity: 0.78; transition: color 0.3s ease, opacity 0.3s ease, transform 0.3s ease; }
.footer-social a:hover, .footer-social a:focus-visible { color: var(--sunset); opacity: 1; transform: translateY(-2px); }
.footer-social svg { width: 22px; height: 22px; display: block; }
.footer-legal { position: relative; z-index: 3; max-width: 1080px; margin: 28px auto 0; padding: 18px 0 0; border-top: 1px solid rgba(31,123,126,0.18); display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 14px 24px; font-family: var(--font-sans); font-size: 12px; letter-spacing: 0.06em; color: rgba(14,34,51,0.55); }
.footer-legal a { color: var(--teal-deep); text-decoration: none; transition: color 0.25s ease; }
.footer-legal a:hover { color: var(--sunset); }
.footer-legal-credit .arrow { display: inline-block; margin-left: 4px; transition: transform 0.25s ease; }
.footer-legal-credit:hover .arrow { transform: translate(2px, -2px); }

/* ==========================================================================
   REVEAL
   ========================================================================== */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out); }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 860px) {
  .guide-hero__inner { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 28px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-col--partners { grid-column: 1 / -1; max-width: none; }
  .guide-related__grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .guide-hero { min-height: 68vh; padding-top: 118px; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-legal { justify-content: center; text-align: center; gap: 8px 14px; font-size: 11px; }
  .guide-body > p.guide-intro::first-letter { font-size: 3em; }
}
/* Blanket mobile perf kill wpuszcza tylko celowe animacje - reveal dziala przez transform/opacity inline, nie potrzebuje wyjatku */
