/*
Theme Name: Paulina Serafin - Dietetyk
Theme URI: https://paulinaserafin.pl
Author: Paulina Serafin & Team
Author URI: https://paulinaserafin.pl
Description: Dedykowany, nowoczesny i elegancki motyw WordPress dla dietetyka Pauliny Serafin z płynnym sliderem zdjęć i spójną identyfikacją wizualną.
Version: 1.0.0
Requires at least: 5.8
Tested up to: 6.7
Requires PHP: 7.4
Text Domain: paulina-dietetyk
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
*/

html {
  scroll-behavior: auto;
  scroll-padding-top: 110px;
}

:root {
  --color-primary: #B92A57;
  --color-primary-dark: #971d43;
  --color-primary-light: #d63d6b;
  --color-accent: #c43864;
  --color-text-dark: #1f1f1f;
  --color-text-muted: #555555;
  --color-bg-light: #ffffff;
  --color-bg-subtle: #fdf8f9;
  --color-border: #f2e3e7;
  
  --font-logo: 'Licorice', cursive;
  --font-heading: 'Inter', sans-serif;
  --font-body: 'Inter', sans-serif;
  --font-social: 'Mali', cursive, sans-serif;
  
  --container-max: 1700px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --shadow-subtle: 0 4px 20px rgba(185, 42, 87, 0.08);
  --shadow-hover: 0 8px 30px rgba(185, 42, 87, 0.18);
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-body);
  color: var(--color-text-dark);
  background-color: var(--color-bg-light);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

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

.site-container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 32px;
}

/* ==========================================================================
   TOP CONTACT BAR (Font: Mali)
   ========================================================================== */
.topbar {
  display: none; /* Tymczasowo ukryte */
  background-color: #ffffff;
  border-bottom: none;
  padding: 18px 0 14px; /* Increased spacing to nav */
  font-family: var(--font-social);
  font-size: 15px;
  color: #2b2b2b;
}

.topbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.topbar-item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 500;
  color: #2b2b2b;
  transition: var(--transition);
}

.topbar-item:hover {
  color: var(--color-primary);
}

.topbar-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

.topbar-icon svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

/* ==========================================================================
   MAIN HEADER / NAVIGATION (Logo: Licorice, Nav: Inter)
   ========================================================================== */
.site-header {
  background-color: #ffffff;
  padding: 32px 0 24px;
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: box-shadow 0.25s ease;
}

.site-header.is-stuck {
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}

/* Logo (Licorice) */
.site-logo {
  display: flex;
  align-items: center;
}

.logo-text {
  font-family: var(--font-logo);
  font-size: 60px;
  font-weight: 400;
  color: #1a1a1a;
  line-height: 0.9;
  white-space: nowrap;
  letter-spacing: 0.5px;
}

.logo-text:hover {
  color: var(--color-primary);
}

/* Navigation Menu pushed to the right, closer to CTA button */
.main-nav {
  display: flex;
  align-items: center;
  margin-left: auto; /* Push nav to the right */
}

.nav-menu {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 28px; /* Tighter spacing between nav links */
  margin: 0;
  padding: 0;
}

.nav-menu li a {
  font-family: var(--font-body);
  font-size: 19px;
  font-weight: 500;
  color: #1f1f1f;
  position: relative;
  padding: 4px 0;
}

.nav-menu li a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background-color: var(--color-primary);
  transition: width 0.25s ease-in-out;
}

.nav-menu li.is-active > a::after {
  width: 100%;
}

.nav-menu li a:hover {
  color: var(--color-primary);
}

/* Header Contact CTA Wrapper & Pill Button */
.header-cta-wrapper {
  margin-left: 20px; /* Reduced distance between menu and button */
}

.btn-header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: var(--color-primary);
  color: #ffffff !important;
  font-family: var(--font-body);
  font-size: 18px;
  font-weight: 600;
  padding: 10px 28px;
  border-radius: 22px; /* Smooth pill button */
  transition: var(--transition);
  box-shadow: none;
  white-space: nowrap;
}

.btn-header-cta:hover {
  background-color: var(--color-primary-dark);
  transform: translateY(-2px);
  box-shadow: none;
  color: #ffffff;
}

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  color: #222;
}

.mobile-menu-toggle svg {
  width: 28px;
  height: 28px;
  fill: currentColor;
}

/* ==========================================================================
   HERO SECTION (Clean 50 / 50 Split Layout)
   ========================================================================== */
.hero-section {
  position: relative;
  width: 100%;
  padding: 0;
  margin: 0 0 60px 0;
  background: #ffffff;
  overflow: hidden;
}

.hero-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr; /* 50% Left Card, 50% Right Slider */
  width: 100%;
  min-height: 560px;
  height: calc(100vh - 120px);
  background: #ffffff;
  overflow: hidden;
}

/* Left Card (Inverted: White background, #B92A57 title & button) */
.hero-card {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  background-color: #ffffff;
  color: var(--color-primary);
  padding: 80px 60px 80px max(40px, calc((100vw - 1700px) / 2 + 40px));
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  clip-path: none !important;
  -webkit-clip-path: none !important;
}

.hero-title {
  font-family: 'Merienda', cursive, serif;
  font-size: 68px;
  font-weight: 700;
  font-style: italic;
  line-height: 1.15;
  margin-bottom: 54px;
  color: #1a1a1a;
  max-width: 600px;
  letter-spacing: -0.5px;
}

.btn-hero-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: var(--color-primary);
  color: #ffffff !important;
  font-family: var(--font-body);
  font-size: 20px;
  font-weight: 700;
  padding: 14px 44px;
  border-radius: 28px;
  transition: var(--transition);
  box-shadow: none;
  border: 2px solid transparent;
}

.btn-hero-cta:hover {
  background-color: var(--color-primary-dark);
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: none;
}

/* Mobile Menu Toggle Button (Clean Pink Lines) */
.mobile-menu-toggle {
  display: none;
  background: transparent;
  border: none;
  color: var(--color-primary);
  cursor: pointer;
  padding: 4px;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease, color 0.2s ease;
  z-index: 1001;
  outline: none;
}

.mobile-menu-toggle svg {
  width: 32px;
  height: 32px;
  fill: currentColor;
}

.mobile-menu-toggle:hover,
.mobile-menu-toggle[aria-expanded="true"] {
  background: transparent;
  border: none;
  color: var(--color-primary-dark);
  transform: scale(1.06);
}

/* Right Side Photo Slider (Subtle Mini-Rounded Left Corners) */
.hero-slider-container {
  position: relative;
  width: 100%;
  height: 100%;
  padding: 20px 0 20px 16px; /* Subtle outer spacing on top, bottom and left */
  display: flex;
  align-items: center;
  justify-content: flex-end;
  background-color: #ffffff;
  box-sizing: border-box;
}

.hero-slider {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 14px 0 0 14px; /* Subtle mini rounded corner on the left */
  overflow: hidden;
  box-shadow: none;
  background-color: #f8f8fa;
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  z-index: 0;
}

.hero-slide.active {
  opacity: 1;
  visibility: visible;
  z-index: 1;
}

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  border-radius: 14px 0 0 14px;
}

/* Hide slide switch dots completely as requested */
.slider-dots {
  display: none !important;
}

/* ==========================================================================
   SECTION: O MNIE (ABOUT ME)
   ========================================================================== */
.section-about {
  padding: 80px 0 90px;
  background-color: #ffffff; /* Clean white background */
  position: relative;
  overflow: hidden;
}

.about-grid {
  display: grid;
  grid-template-columns: 460px 1fr;
  gap: 70px;
  align-items: center;
}

/* Left Photo Slider Card */
.about-image-wrapper {
  position: relative;
  width: 100%;
}

.about-image-card {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 560px;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 16px 45px rgba(0, 0, 0, 0.08);
  background-color: #ffffff;
}

.about-slider {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.about-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  z-index: 0;
}

.about-slide.active {
  opacity: 1;
  visibility: visible;
  z-index: 1;
}

.about-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
}

/* Right Content Column */
.about-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.about-badge-wrapper {
  margin-bottom: 20px;
}

.about-badge {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--color-primary);
  background-color: #fdf0f4;
  padding: 6px 18px;
  border-radius: 20px;
}

.about-bio {
  margin-bottom: 32px;
}

.about-lead {
  font-family: var(--font-body);
  font-size: 22px;
  font-weight: 600;
  line-height: 1.5;
  color: #1f1f1f;
  margin-bottom: 16px;
}

.link-highlight {
  color: var(--color-primary);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: rgba(185, 42, 87, 0.4);
  text-underline-offset: 4px;
  transition: var(--transition);
}

.link-highlight:hover {
  color: var(--color-primary-dark);
  text-decoration-color: var(--color-primary);
}

.about-text {
  font-family: var(--font-body);
  font-size: 17px;
  font-weight: 400;
  line-height: 1.65;
  color: #4a4a4a;
}

.about-cooperation {
  background-color: #ffffff;
  padding: 32px 36px;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
  border: 1px solid rgba(185, 42, 87, 0.08);
}

.cooperation-title {
  font-family: var(--font-body);
  font-size: 22px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 8px;
}

.cooperation-subtitle {
  font-family: var(--font-body);
  font-size: 16px;
  color: #666666;
  margin-bottom: 24px;
}

.cooperation-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.cooperation-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 14px 16px;
  border-radius: 14px;
  background-color: #faf7f8;
  transition: var(--transition);
}

.cooperation-item:hover {
  background-color: #fdf0f4;
  transform: translateX(4px);
}

.item-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: var(--color-primary);
  color: #ffffff;
  flex-shrink: 0;
  margin-top: 2px;
  box-shadow: 0 4px 12px rgba(185, 42, 87, 0.25);
}

.item-icon svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.item-text {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  color: #333333;
}

.item-text strong {
  display: inline;
  color: #1a1a1a;
  font-weight: 700;
}

.item-text span {
  color: #4a4a4a;
}
/* ==========================================================================
   SECTION: INSTAGRAM POSTS (Ultra Modern Clean Grid)
   ========================================================================== */
.section-instagram {
  padding: 90px 0 100px;
  background-color: #ffffff;
  position: relative;
}

.instagram-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-bottom: 50px;
}



.insta-tag-badge svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.instagram-main-title {
  font-family: var(--font-body);
  font-size: 38px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 8px;
  letter-spacing: -0.5px;
}

.instagram-sub-title {
  font-family: var(--font-body);
  font-size: 18px;
  font-weight: 500;
  color: var(--color-primary);
}

.instagram-show-all-link {
  display: inline-block;
  margin-top: 10px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  color: var(--color-primary);
  transition: var(--transition);
}

.instagram-show-all-link:hover {
  color: var(--color-primary-dark);
  transform: translateY(-1px);
}

.instagram-carousel-container {
  position: relative;
  width: 100%;
  padding: 0;
}

.instagram-carousel {
  display: flex;
  gap: 32px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE 10+ */
  padding: 10px 4px 24px;
  width: 100%;
}

.instagram-carousel::-webkit-scrollbar {
  display: none;
}

/* Card sizing: 3 visible on Desktop and Tablet */
.instagram-carousel .insta-post-card {
  flex: 0 0 calc((100% - 2 * 32px) / 3);
  min-width: calc((100% - 2 * 32px) / 3);
  scroll-snap-align: start;
}

/* Floating Navigation Arrows */
.insta-nav-arrow {
  position: absolute;
  top: calc(50% - 12px);
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #ffffff;
  border: 1.5px solid #e2e2e8;
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  transition: all 0.25s ease;
  z-index: 10;
  outline: none;
}

.insta-nav-arrow svg {
  width: 26px;
  height: 26px;
  fill: currentColor;
}

.insta-nav-arrow:hover {
  background-color: var(--color-primary);
  border-color: var(--color-primary);
  color: #ffffff;
  transform: translateY(-50%) scale(1.08);
  box-shadow: 0 12px 28px rgba(185, 42, 87, 0.32);
}

.insta-prev {
  left: -22px;
}

.insta-next {
  right: -22px;
}

/* Post Card */
.insta-post-card {
  display: flex;
  flex-direction: column;
  background-color: #ffffff;
  border-radius: 24px;
  overflow: hidden;
  text-decoration: none !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(0, 0, 0, 0.06);
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.insta-post-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 22px 48px rgba(185, 42, 87, 0.15);
  border-color: rgba(185, 42, 87, 0.25);
}

/* 1:1 Aspect Ratio Photo Wrapper */
.insta-photo-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background-color: #f5f5f7;
}

.insta-photo-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.insta-post-card:hover .insta-photo-wrapper img {
  transform: scale(1.06);
}

.insta-category-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  color: var(--color-primary);
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 16px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.1);
  z-index: 2;
}

/* Hover Overlay */
.insta-hover-layer {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(185, 42, 87, 0.82);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 3;
}

.insta-post-card:hover .insta-hover-layer {
  opacity: 1;
}

.insta-hover-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: #ffffff;
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.2);
  transform: scale(0.85);
  transition: transform 0.3s ease;
}

.insta-post-card:hover .insta-hover-icon {
  transform: scale(1);
}

.insta-hover-icon svg {
  width: 30px;
  height: 30px;
  fill: currentColor;
}

/* Card Bottom Info */
.insta-card-info {
  padding: 24px 24px 26px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  background-color: #ffffff;
  flex-grow: 1;
}

.insta-post-title {
  font-family: var(--font-body);
  font-size: 20px;
  font-weight: 700;
  color: #1a1a1a;
  line-height: 1.35;
}

.insta-link-action {
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  color: var(--color-primary);
  transition: transform 0.25s ease;
}

.insta-post-card:hover .insta-link-action {
  transform: translateX(4px);
}


/* ==========================================================================
   SECTION: FOODBOOK CTA (Darmowy Foodbook - Full Width)
   ========================================================================== */
.section-foodbook {
  width: 100%;
  background: linear-gradient(135deg, #B92A57 0%, #a02249 100%);
  padding: 70px 0;
  margin: 60px 0 0;
  position: relative;
  overflow: hidden;
}

.foodbook-inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 16px;
  max-width: 720px;
  margin: 0 auto;
}

.foodbook-title {
  font-family: var(--font-body);
  font-size: 38px;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.25;
  letter-spacing: -0.5px;
  margin: 0;
}

.foodbook-title em {
  font-style: normal;
  color: #ffe6ee;
}

.foodbook-desc {
  font-family: var(--font-body);
  font-size: 18px;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.6;
  margin: 0;
}

.btn-foodbook-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 12px;
  padding: 16px 42px;
  background: #ffffff;
  color: var(--color-primary);
  font-family: var(--font-body);
  font-size: 17px;
  font-weight: 700;
  border: none;
  border-radius: 100px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.btn-foodbook-cta:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.25);
  background-color: #ffffff;
  color: var(--color-primary-dark);
}

.foodbook-modal-desc {
  font-family: var(--font-body);
  font-size: 15px;
  color: #555;
  line-height: 1.55;
  margin: 0 0 20px;
}

/* FAQ Contact Button CTA */
.faq-cta-wrapper {
  display: flex;
  justify-content: center;
  margin-top: 44px;
}

.btn-faq-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: var(--color-primary);
  color: #ffffff !important;
  font-family: var(--font-body);
  font-size: 17px;
  font-weight: 600;
  padding: 16px 40px;
  border-radius: 100px;
  text-decoration: none !important;
  transition: all 0.3s ease;
  box-shadow: 0 8px 24px rgba(185, 42, 87, 0.22);
}

.btn-faq-cta:hover {
  background-color: var(--color-primary-dark);
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(185, 42, 87, 0.32);
}


/* ==========================================================================
   RESPONSIVE MEDIA QUERIES (100% Mobile & Tablet Stacked Layout)
   ========================================================================== */
@media (max-width: 1100px) {
  .site-container {
    padding: 0 24px;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 44px;
  }

  .about-image-wrapper {
    max-width: 500px;
    width: 100%;
    margin: 0 auto;
  }

  .about-image-card {
    height: 520px;
  }
}

@media (max-width: 992px) {
  /* Hero Section Mobile Stack */
  .hero-wrapper {
    grid-template-columns: 1fr;
    height: auto;
    min-height: auto;
  }

  .hero-card {
    width: 100%;
    padding: 60px 24px;
    align-items: center;
    text-align: center;
  }

  .hero-title {
    font-size: 46px;
    margin-bottom: 32px;
    max-width: 100%;
  }

  .hero-slider-container {
    width: 100%;
    height: 380px;
    padding: 0;
  }

  .hero-slider,
  .hero-slide img {
    border-radius: 0;
  }

  /* About Me Section Mobile Stack */
  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about-image-card {
    height: 420px;
  }

  .instagram-carousel {
    gap: 20px;
  }
  .instagram-carousel .insta-post-card {
    flex: 0 0 calc((100% - 2 * 20px) / 3);
    min-width: calc((100% - 2 * 20px) / 3);
  }
  .insta-prev {
    left: -10px;
  }
  .insta-next {
    right: -10px;
  }
}

@media (max-width: 768px) {
  /* Top Contact Bar Mobile */
  .topbar-inner {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }

  .header-cta-wrapper {
    display: none;
  }

  /* Hero Section Small Mobile */
  .hero-title {
    font-size: 36px;
  }

  .btn-hero-cta {
    padding: 12px 32px;
    font-size: 18px;
  }

  /* Instagram Grid Mobile Stack (1 column - 1 below another!) */
  .instagram-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  /* Features Grid Mobile Stack */
  .features-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

.slider-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: rgba(155, 32, 70, 0.3);
  cursor: pointer;
  transition: var(--transition);
  border: none;
}

.slider-dot.active {
  background-color: var(--color-primary);
  width: 24px;
  border-radius: 10px;
}

/* ==========================================================================
   SECTION: FAQ (Accordion Styles)
   ========================================================================== */
.section-faq {
  padding: 90px 0 100px;
  background-color: #faf9f7; /* Warm soft background */
  position: relative;
}

.section-header {
  text-align: center;
  margin-bottom: 50px;
}

.section-title {
  font-family: var(--font-body);
  font-size: 38px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 10px;
  letter-spacing: -0.5px;
}

.section-tag {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 500;
  color: var(--color-primary);
}

.faq-accordion {
  max-width: 960px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background: #ffffff;
  border-radius: 16px;
  border: 1.5px solid #ececed;
  overflow: hidden;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.2s ease;
}

.faq-item:hover {
  border-color: rgba(185, 42, 87, 0.25);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.04);
}

.faq-item.active {
  border-color: rgba(185, 42, 87, 0.4);
  box-shadow: 0 10px 28px rgba(185, 42, 87, 0.08);
}

.faq-question {
  width: 100%;
  padding: 22px 28px;
  background: transparent;
  border: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  text-align: left;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 17.5px;
  font-weight: 700;
  color: #1a1a1a;
  line-height: 1.4;
  transition: color 0.2s ease;
}

.faq-item.active .faq-question,
.faq-question:hover {
  color: var(--color-primary);
}

.faq-icon {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background-color: #fdf0f4;
  color: var(--color-primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.3s ease, background-color 0.2s ease, color 0.2s ease;
}

.faq-icon svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
  transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
  background-color: var(--color-primary);
  color: #ffffff;
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1), padding 0.35s ease;
  padding: 0 28px;
}

.faq-item.active .faq-answer {
  max-height: 300px;
  padding: 0 28px 24px;
}

.faq-answer p {
  font-family: var(--font-body);
  font-size: 15.5px;
  line-height: 1.65;
  color: #4a4a4a;
  margin: 0;
  padding-top: 4px;
}

/* ==========================================================================
   SECTION: OPINIE (Reviews Slider)
   ========================================================================== */
.section-reviews {
  padding: 90px 0 100px;
  background-color: #ffffff;
  position: relative;
}

.reviews-slider-container {
  position: relative;
  width: 100%;
}

.reviews-slider-viewport {
  overflow: hidden;
  width: 100%;
}

.reviews-slider-track {
  display: flex;
  gap: 28px;
  transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}

.review-card {
  flex: 0 0 calc((100% - 56px) / 3);
  min-width: calc((100% - 56px) / 3);
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 24px;
  padding: 28px 26px 30px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.review-stars {
  display: flex;
  gap: 4px;
}

.review-star {
  width: 18px;
  height: 18px;
  fill: #e5e5e5;
}

.review-star.is-filled {
  fill: var(--color-primary);
}

.review-text {
  margin: 0;
  flex-grow: 1;
}

.review-text p {
  font-size: 15.5px;
  line-height: 1.7;
  color: #4a4a4a;
  margin: 0;
}

.review-author {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-top: 4px;
  border-top: 1px solid var(--color-border);
}

.review-name {
  font-size: 16px;
  font-weight: 700;
  color: #1a1a1a;
}

.review-role {
  font-size: 13px;
  font-weight: 500;
  color: var(--color-primary);
}

.reviews-nav-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #ffffff;
  border: 1.5px solid #e2e2e8;
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.25s ease;
  z-index: 10;
}

.reviews-nav-arrow svg {
  width: 26px;
  height: 26px;
  fill: currentColor;
}

.reviews-nav-arrow:hover:not(:disabled) {
  background-color: var(--color-primary);
  border-color: var(--color-primary);
  color: #ffffff;
  transform: translateY(-50%) scale(1.06);
}

.reviews-nav-arrow:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.reviews-prev {
  left: -22px;
}

.reviews-next {
  right: -22px;
}

.reviews-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 32px;
}

.reviews-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
  background: rgba(185, 42, 87, 0.25);
  cursor: pointer;
  transition: var(--transition);
  padding: 0;
}

.reviews-dot.active {
  background: var(--color-primary);
  width: 28px;
  border-radius: 10px;
}

.reviews-empty-note {
  text-align: center;
  color: var(--color-text-muted);
  font-size: 16px;
  margin-bottom: 24px;
}

.reviews-disclaimer {
  text-align: center;
  max-width: 720px;
  margin: 28px auto 0;
  font-size: 14px;
  line-height: 1.6;
  color: var(--color-text-muted);
}

.reviews-add-trigger {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 6px;
  padding: 0;
  border: none;
  background: none;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 500;
  color: var(--color-primary);
  cursor: pointer;
  transition: var(--transition);
}

.reviews-add-trigger:hover {
  color: var(--color-primary-dark);
}

.reviews-add-trigger:hover .reviews-add-icon {
  background-color: var(--color-primary);
  color: #ffffff;
  border-color: var(--color-primary);
  transform: rotate(90deg);
}

.reviews-add-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 1.5px solid var(--color-primary);
  color: var(--color-primary);
  transition: var(--transition);
}

.reviews-add-icon svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
}

@media (max-width: 1024px) {
  .review-card {
    flex: 0 0 calc((100% - 28px) / 2);
    min-width: calc((100% - 28px) / 2);
  }
}

@media (max-width: 767px) {
  .section-reviews {
    padding: 70px 0 80px;
  }

  .review-card {
    flex: 0 0 100%;
    min-width: 100%;
  }

  .reviews-prev {
    left: -8px;
  }

  .reviews-next {
    right: -8px;
  }

  .reviews-nav-arrow {
    width: 40px;
    height: 40px;
  }
}

/* ==========================================================================
   CONTACT MODAL (Light theme, Brand Accents)
   ========================================================================== */
.modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 99999;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  padding: 16px;
  overflow-y: auto;
}

.modal-backdrop.is-active {
  opacity: 1;
  visibility: visible;
}

.modal-container {
  width: 100%;
  max-width: 540px;
  margin: auto;
}

.modal-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 36px 32px 30px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.22);
  transform: translateY(20px) scale(0.96);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}

.modal-backdrop.is-active .modal-card {
  transform: translateY(0) scale(1);
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 22px;
}

.modal-heading {
  font-family: var(--font-body);
  font-size: 30px;
  font-weight: 700;
  color: #111111;
  letter-spacing: -0.5px;
  margin: 0;
}

.modal-close-btn {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid #e2e2e8;
  border-radius: 8px;
  background: #ffffff;
  color: #333333;
  cursor: pointer;
  transition: var(--transition);
  padding: 0;
}

.modal-close-btn svg {
  fill: currentColor;
}

.modal-close-btn:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
  background: #fdf0f4;
  transform: scale(1.05);
}

.contact-form {
  display: flex;
  flex-direction: column;
}

.form-group {
  margin-bottom: 16px;
  display: flex;
  flex-direction: column;
  text-align: left;
}

.form-group label {
  font-family: var(--font-body);
  font-size: 13.5px;
  font-weight: 600;
  color: #222222;
  margin-bottom: 6px;
}

.form-group .req {
  color: var(--color-primary);
  font-weight: 700;
  margin-left: 2px;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 11px 14px;
  font-family: var(--font-body);
  font-size: 14.5px;
  color: #111111;
  background-color: #fafafa;
  border: 1.5px solid #dcdce2;
  border-radius: 8px;
  transition: border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
  outline: none;
}

.form-group textarea {
  resize: vertical;
  min-height: 90px;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #9999a2;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  background-color: #ffffff;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(185, 42, 87, 0.12);
}

.form-checkbox {
  margin-top: 4px;
  margin-bottom: 22px;
}

.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
  font-size: 12.5px;
  color: #4a4a4a;
  line-height: 1.45;
  user-select: none;
}

.checkbox-label input[type="checkbox"] {
  width: 17px;
  height: 17px;
  accent-color: var(--color-primary);
  margin-top: 2px;
  flex-shrink: 0;
  cursor: pointer;
}

.privacy-link {
  color: var(--color-primary);
  text-decoration: underline;
  font-weight: 500;
}

.privacy-link:hover {
  color: var(--color-primary-dark);
}

.btn-modal-submit {
  width: 100%;
  padding: 14px 20px;
  background-color: var(--color-primary);
  color: #ffffff !important;
  border: none;
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 4px 14px rgba(185, 42, 87, 0.25);
  text-align: center;
}

.btn-modal-submit:hover {
  background-color: var(--color-primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(185, 42, 87, 0.35);
}

.btn-modal-submit:active {
  transform: translateY(0);
}

.form-status-msg {
  margin-top: 14px;
  padding: 12px;
  border-radius: 8px;
  font-size: 14px;
  text-align: center;
  font-weight: 500;
}

.form-status-msg.success {
  background-color: #e8f5e9;
  color: #2e7d32;
  border: 1px solid #c8e6c9;
}

/* Prevent background scroll when modal is open */
body.modal-open {
  overflow: hidden;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
  background-color: var(--color-primary);
  color: #ffffff;
  padding: 60px 0 28px;
  font-size: 15px;
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.footer-logo {
  font-family: var(--font-logo);
  font-size: 36px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 14px;
  display: block;
}

.footer-about {
  max-width: 360px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.8);
}

.footer-column h4 {
  color: #ffffff;
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 18px;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.9);
  transition: var(--transition);
}

.footer-contact-links a {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-icon-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  flex-shrink: 0;
}

.footer-icon {
  width: 18px;
  height: 18px;
  fill: #ffffff;
}

.footer-links a:hover {
  color: #ffffff;
}

.footer-contact-links a:hover {
  padding-left: 0;
  transform: translateX(3px);
}

.footer-links:not(.footer-contact-links) a:hover {
  padding-left: 4px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
}

.footer-attribution {
  width: 100%;
  text-align: right;
  font-size: 11px;
  opacity: 0.5;
  margin-top: -8px;
}

.footer-attribution a {
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
}

.footer-attribution a:hover {
  color: #fff;
  text-decoration: underline;
}

/* ==========================================================================
   RESPONSIVE DESIGN
   ========================================================================== */
@media (max-width: 992px) {
  .hero-wrapper {
    display: flex;
    flex-direction: column;
    height: auto;
    min-height: auto;
  }
  
  .hero-slider-container {
    order: 1;
    width: 100%;
    margin-left: 0;
    min-height: 550px;
    height: 550px;
    padding: 0;
    border-radius: 0;
  }

  .hero-slider,
  .hero-slide img {
    border-radius: 0;
  }

  .hero-card {
    order: 2;
    width: 100%;
    clip-path: none;
    border-radius: 0;
    padding: 32px 24px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
  }

  .section-about {
    padding: 24px 0 60px;
  }

  .hero-title {
    font-size: 40px;
    margin-bottom: 22px;
  }

  .site-header {
    padding: 16px 0;
  }

  .header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .logo-text {
    font-size: 40px;
  }

  .mobile-menu-toggle {
    display: flex;
    margin-left: auto;
    align-self: center;
  }

  .nav-menu {
    position: fixed;
    top: 0;
    right: -340px;
    width: 300px;
    max-width: 82vw;
    height: 100vh;
    background: #ffffff;
    flex-direction: column;
    align-items: flex-start;
    padding: 100px 32px 40px;
    box-shadow: -10px 0 35px rgba(0, 0, 0, 0.15);
    transition: right 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 999;
    gap: 0;
  }

  .nav-menu.is-active {
    right: 0;
  }

  .nav-menu li {
    width: 100%;
  }

  .nav-menu li a {
    display: block;
    font-size: 20px;
    font-weight: 600;
    padding: 18px 0;
    border-bottom: 1px solid #f0f0f5;
    color: #1a1a1a;
    width: 100%;
  }

  .nav-menu li a::after {
    display: none;
  }

  .nav-menu li.is-active > a {
    color: var(--color-primary);
    padding-left: 6px;
  }

  .nav-menu li a:hover {
    color: var(--color-primary);
    padding-left: 6px;
  }

  /* Mobile Footer Centering */
  .site-footer {
    text-align: center;
  }

  .footer-top {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 32px;
    text-align: center;
  }

  .footer-column {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer-about {
    margin: 0 auto;
    text-align: center;
  }

  .footer-bottom {
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    gap: 8px;
  }
}

@media (max-width: 640px) {
  .instagram-carousel {
    gap: 12px;
  }
  .instagram-carousel .insta-post-card {
    flex: 0 0 calc((100% - 12px) / 2);
    min-width: calc((100% - 12px) / 2);
  }
  .insta-prev {
    left: -6px;
  }
  .insta-next {
    right: -6px;
  }

  .topbar-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
  
  .hero-slider-container {
    min-height: 500px;
    height: 500px;
  }

  .hero-title {
    font-size: 32px;
    margin-bottom: 20px;
  }
  
  .hero-card {
    padding: 28px 20px;
  }
  
  .section-about {
    padding: 16px 0 45px;
  }

  .about-image-card {
    height: 500px;
  }
  
  .logo-text {
    font-size: 34px;
  }

  .btn-header-cta {
    padding: 8px 18px;
    font-size: 15px;
  }

  .section-foodbook {
    padding: 50px 20px;
    margin: 40px 0 0;
  }

  .foodbook-title {
    font-size: 26px;
  }

  .foodbook-desc {
    font-size: 15px;
  }

  .btn-foodbook-cta {
    width: 100%;
    padding: 15px 24px;
    font-size: 16px;
  }
}

/* ==========================================================================
   SECTION: BLOG (Archive & Single Post)
   ========================================================================== */
.section-blog-archive {
  padding: 60px 0 100px;
  background-color: #ffffff;
}

.section-instagram-archive {
  padding: 60px 0 100px;
  background-color: #ffffff;
}

.instagram-posts-grid {
  margin-top: 10px;
}

.blog-archive-header {
  text-align: center;
  margin-bottom: 50px;
}

.blog-archive-title {
  font-family: var(--font-body);
  font-size: 42px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 10px;
  letter-spacing: -0.5px;
}

.blog-archive-subtitle {
  font-family: var(--font-body);
  font-size: 18px;
  font-weight: 500;
  color: var(--color-primary);
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.blog-post-card {
  height: 100%;
}

.blog-card-excerpt {
  font-size: 15px;
  color: var(--color-text-muted);
  line-height: 1.5;
}

.blog-card-date {
  font-size: 13px;
  color: #999;
  margin-top: 4px;
}

.blog-pagination {
  margin-top: 50px;
  text-align: center;
}

.blog-pagination .nav-links {
  display: inline-flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
}

.blog-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  height: 42px;
  padding: 0 14px;
  border-radius: 12px;
  border: 1px solid var(--color-border);
  color: var(--color-text-dark);
  font-weight: 600;
  transition: var(--transition);
}

.blog-pagination .page-numbers:hover,
.blog-pagination .page-numbers.current {
  background-color: var(--color-primary);
  border-color: var(--color-primary);
  color: #ffffff;
}

.blog-empty-state {
  text-align: center;
  padding: 60px 20px;
  background: var(--color-bg-subtle);
  border-radius: 24px;
}

.blog-empty-state p {
  font-size: 18px;
  color: var(--color-text-muted);
  margin-bottom: 24px;
}

.btn-blog-back {
  display: inline-block;
  padding: 14px 28px;
  background-color: var(--color-primary);
  color: #ffffff;
  border-radius: 30px;
  font-weight: 600;
  transition: var(--transition);
}

.btn-blog-back:hover {
  background-color: var(--color-primary-dark);
  color: #ffffff;
}

/* Single Blog Post */
.blog-single-article {
  padding: 50px 0 80px;
}

.blog-single-inner {
  max-width: 860px;
  margin: 0 auto;
}

.blog-back-link {
  display: inline-block;
  font-size: 15px;
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: 30px;
}

.blog-back-link:hover {
  color: var(--color-primary-dark);
}

.blog-single-header {
  margin-bottom: 32px;
}

.blog-single-category {
  display: inline-block;
  background: var(--color-bg-subtle);
  color: var(--color-primary);
  font-size: 13px;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 16px;
  margin-bottom: 16px;
}

.blog-single-title {
  font-family: var(--font-heading);
  font-size: 42px;
  font-weight: 700;
  line-height: 1.2;
  color: #1a1a1a;
  margin-bottom: 12px;
}

.blog-single-meta {
  font-size: 14px;
  color: #666;
}

.blog-single-thumbnail {
  margin-bottom: 36px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-subtle);
}

.blog-single-thumbnail img {
  width: 100%;
  height: auto;
}

.blog-single-content {
  font-size: 18px;
  line-height: 1.8;
  color: var(--color-text-dark);
}

.blog-single-content p {
  margin-bottom: 1.4em;
}

.blog-single-content h2,
.blog-single-content h3,
.blog-single-content h4 {
  font-family: var(--font-heading);
  margin: 1.6em 0 0.6em;
  line-height: 1.3;
}

.blog-single-content ul,
.blog-single-content ol {
  margin: 0 0 1.4em 1.4em;
}

.blog-single-content img {
  border-radius: 12px;
  margin: 1.5em 0;
}

@media (max-width: 1024px) {
  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
}

@media (max-width: 640px) {
  .section-blog-archive {
    padding: 40px 0 70px;
  }

  .blog-archive-title {
    font-size: 32px;
  }

  .blog-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .blog-single-title {
    font-size: 30px;
  }

  .blog-single-content {
    font-size: 16px;
  }
}

/* ==========================================================================
   LEGAL PAGE (Privacy Policy)
   ========================================================================== */
.site-main--legal {
  padding: 48px 0 80px;
}

.legal-page-container {
  max-width: 860px;
  margin: 0 auto;
  padding: 0 24px;
}

.legal-page-title {
  font-family: var(--font-heading);
  font-size: 42px;
  line-height: 1.2;
  color: var(--color-text-dark);
  margin-bottom: 28px;
}

.legal-page-content {
  font-size: 17px;
  line-height: 1.8;
  color: #333;
}

.legal-page-content h2 {
  font-family: var(--font-heading);
  font-size: 24px;
  margin: 32px 0 12px;
  color: var(--color-primary);
}

.legal-page-content ul {
  margin: 12px 0 20px 20px;
}

.legal-page-content a {
  color: var(--color-primary);
  text-decoration: underline;
}

/* ==========================================================================
   COOKIE BANNER
   ========================================================================== */
.serafin-cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 99999;
  padding: 16px;
  transform: translateY(110%);
  transition: transform 0.35s ease;
}

.serafin-cookie-banner.is-visible {
  transform: translateY(0);
}

.serafin-cookie-inner {
  max-width: 1100px;
  margin: 0 auto;
  background: #ffffff;
  border: 1px solid #f0d5df;
  border-radius: 14px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.serafin-cookie-text {
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
  color: #444;
  flex: 1;
}

.serafin-cookie-privacy-link {
  color: var(--color-primary);
  font-weight: 600;
  text-decoration: underline;
  margin-left: 4px;
}

.serafin-cookie-actions {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}

.serafin-cookie-btn {
  border: none;
  border-radius: 8px;
  padding: 10px 16px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.serafin-cookie-btn--reject {
  background: #f3f4f6;
  color: #374151;
}

.serafin-cookie-btn--reject:hover {
  background: #e5e7eb;
}

.serafin-cookie-btn--accept {
  background: var(--color-primary);
  color: #fff;
}

.serafin-cookie-btn--accept:hover {
  background: var(--color-primary-dark);
}

.footer-legal-links {
  margin: 6px 0;
}

.footer-legal-links a,
.footer-cookie-settings-link {
  color: rgba(255, 255, 255, 0.92);
  text-decoration: underline;
  background: none;
  border: none;
  padding: 0;
  font: inherit;
  cursor: pointer;
}

.footer-legal-links a:hover,
.footer-cookie-settings-link:hover {
  color: #ffffff;
}

@media (max-width: 768px) {
  .serafin-cookie-inner {
    flex-direction: column;
    align-items: stretch;
  }

  .serafin-cookie-actions {
    flex-direction: column;
  }

  .serafin-cookie-btn {
    width: 100%;
    text-align: center;
  }

  .legal-page-title {
    font-size: 32px;
  }
}

/* ==========================================================================
   SECTION ENTRANCE ANIMATIONS
   ========================================================================== */
html.js-reveal-on body.has-section-animations .js-reveal:not(.is-visible) {
  opacity: 0;
  transform: translate3d(0, 10px, 0);
}

html.js-reveal-on body.has-section-animations .js-reveal {
  transition: opacity 0.35s cubic-bezier(0.22, 1, 0.36, 1), transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

html.js-reveal-on body.has-section-animations .js-reveal.is-visible {
  opacity: 1;
  transform: none;
}

html.js-reveal-on body.has-section-animations .js-reveal-stagger:not(.is-visible) > * {
  opacity: 0;
  transform: translate3d(0, 8px, 0);
}

html.js-reveal-on body.has-section-animations .js-reveal-stagger.is-visible > * {
  opacity: 1;
  transform: none;
  transition: opacity 0.32s cubic-bezier(0.22, 1, 0.36, 1), transform 0.32s cubic-bezier(0.22, 1, 0.36, 1);
}

html.js-reveal-on body.has-section-animations .js-reveal-stagger.is-visible > *:nth-child(1) { transition-delay: 0s; }
html.js-reveal-on body.has-section-animations .js-reveal-stagger.is-visible > *:nth-child(2) { transition-delay: 0.04s; }
html.js-reveal-on body.has-section-animations .js-reveal-stagger.is-visible > *:nth-child(3) { transition-delay: 0.08s; }
html.js-reveal-on body.has-section-animations .js-reveal-stagger.is-visible > *:nth-child(4) { transition-delay: 0.12s; }
html.js-reveal-on body.has-section-animations .js-reveal-stagger.is-visible > *:nth-child(5) { transition-delay: 0.16s; }
html.js-reveal-on body.has-section-animations .js-reveal-stagger.is-visible > *:nth-child(6) { transition-delay: 0.2s; }
html.js-reveal-on body.has-section-animations .js-reveal-stagger.is-visible > *:nth-child(7) { transition-delay: 0.24s; }
html.js-reveal-on body.has-section-animations .js-reveal-stagger.is-visible > *:nth-child(8) { transition-delay: 0.28s; }

@media (prefers-reduced-motion: reduce) {
  html.js-reveal-on body.has-section-animations .js-reveal,
  html.js-reveal-on body.has-section-animations .js-reveal-stagger > * {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}
