/*
 Project: Biegun.Studio
 Path: /assets/css/main.css
 Description: Główny plik CSS (tryb bez bundlera) + przykład BEM.
*/

:root { 
  --spacing: 1rem; 
  --container-width: 1200px;
  --color-primary: #222;
  --color-secondary: #666;
  --color-additional-1:#E20B0B;
  --color-border: #eee;
  --color-text: #333;
  
  /* Typography Variables */
  --font-family: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  --base-font-size: 16px;
  --base-line-height: 1.6;
  --base-font-weight: 400;
}

* {
  box-sizing: border-box;
}

/* Global Typography */
body {
  margin: 0;
  font-family: var(--font-family);
  font-size: var(--base-font-size);
  line-height: var(--base-line-height);
  font-weight: var(--base-font-weight);
  color: var(--color-text);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background-image: repeating-linear-gradient(
    90deg,
    transparent,
    transparent calc(25% - 0.5px),
    #f4f4f4 calc(25% - 0.5px),
    #f4f4f4 calc(25% + 0.5px),
    transparent calc(25% + 0.5px),
    transparent calc(50% - 0.5px),
    #f4f4f4 calc(50% - 0.5px),
    #f4f4f4 calc(50% + 0.5px),
    transparent calc(50% + 0.5px),
    transparent calc(75% - 0.5px),
    #f4f4f4 calc(75% - 0.5px),
    #f4f4f4 calc(75% + 0.5px),
    transparent calc(75% + 0.5px)
  );
  background-size: 100% 100%;
  background-attachment: fixed;
}

/* Typography Scale */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-family);
  font-weight: 600;
  line-height: 1.2;
  margin: 0 0 1rem 0;
  color: var(--color-primary);
}

h1 {
  font-size: 3rem;
  font-weight: 700;
  line-height: 1.1;
}

h2 {
  font-size: 2.5rem;
  font-weight: 600;
}

h3 {
  font-size: 2rem;
  font-weight: 600;
}

h4 {
  font-size: 1.5rem;
  font-weight: 500;
}

h5 {
  font-size: 1.25rem;
  font-weight: 500;
}

h6 {
  font-size: 1rem;
  font-weight: 500;
}

p {
  margin: 0 0 1rem 0;
  font-family: var(--font-family);
  line-height: var(--base-line-height);
}

a {
  color: var(--color-primary);
  text-decoration: underline;
  transition: opacity 0.2s ease;
}

a:hover {
  opacity: 0.8;
}

/* Text Utilities */
.text-small {
  font-size: 0.875rem;
}

.text-large {
  font-size: 1.125rem;
}

.text-light {
  font-weight: 300;
}

.text-regular {
  font-weight: 400;
}

.text-medium {
  font-weight: 500;
}

.text-semibold {
  font-weight: 600;
}

.text-bold {
  font-weight: 700;
}

/* Responsive Typography */
@media (max-width: 768px) {
  :root {
    --base-font-size: 15px;
  }
  
  h1 {
    font-size: 2.5rem;
  }
  
  h2 {
    font-size: 2rem;
  }
  
  h3 {
    font-size: 1.75rem;
  }
  
  h4 {
    font-size: 1.25rem;
  }
}

@media (max-width: 480px) {
  .services-grid {
    grid-template-columns: 1fr;
  }

  :root {
    --base-font-size: 14px;
  }
  
  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.75rem;
  }
  
  h3 {
    font-size: 1.5rem;
  }
}

.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 1rem;
}

.button {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .75rem 1.25rem;
  border: 1px solid #ccc;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.875rem;
  transition: all 0.2s ease;
  cursor: pointer;
}

.button__icon { 
  display: inline-block; 
  width: 1em; 
  height: 1em; 
}

.button--primary { 
  border-color: #000; 
  background: #000; 
  color: #fff; 
}

.button--primary:hover {
  background: #184341;
  border-color: #184341;
  color: #fff;
  transform: translateY(-2px);
}

.button--secondary { 
  border: none;
  background: linear-gradient(90deg, #667EEA 0%, #764BA2 100%);
  color: #fff;
}

.button--secondary:hover {
  transform: translateY(-2px);
}

/* Header Styles */
.site-header {
  border-bottom: 1px solid var(--color-border);
  background-color: #ffffff;
  position: relative;
  z-index: 10;
}

.site-header__top-bar {
  background: #f8f9fa;
  padding: 0.5rem 0;
  font-size: 0.875rem;
}

.top-bar__content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.top-bar__left {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.top-bar__rating {
  color: var(--color-primary);
  font-weight: 600;
}

.top-bar__services {
  color: var(--color-secondary);
  text-decoration: none;
  transition: color 0.2s;
}

.top-bar__services:hover {
  color: var(--color-primary);
}

.top-bar__contact {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.top-bar__contact-item {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  color: var(--color-secondary);
  font-size: 0.875rem;
}

.top-bar__contact-item a {
  color: var(--color-primary);
  text-decoration: none;
  font-weight: 600;
}

.top-bar__contact-item a:hover {
  text-decoration: underline;
}

.top-bar__icon {
  width: 16px;
  height: 16px;
  color: var(--color-secondary);
  flex-shrink: 0;
}

.site-header__main {
  padding: 1rem 0;
}

.header-main__content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
}

.site-header__logo { 
  font-weight: 700; 
  text-decoration: none; 
  color: var(--color-primary);
  font-size: 1.5rem;
  display: flex;
  align-items: center;
}

.site-header__logo-img {
  height: auto;
  max-height: 60px;
}

.site-header__right {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.site-header__nav {
  display: flex;
}

.site-header__buttons {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.menu { 
  list-style: none; 
  margin: 0; 
  padding: 0; 
  display: flex; 
  gap: 2rem; 
}

.menu li {
  position: relative;
}

.menu li a {
  text-decoration: none;
  color: var(--color-text);
  font-weight: 500;
  font-size: 0.875rem;
  transition: color 0.2s;
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

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

/* Dropdown Menu Styles */
.menu li.has-dropdown > a {
  cursor: pointer;
}

.menu__dropdown-arrow {
  transition: transform 0.2s;
  width: 16px;
  height: 16px;
}

.menu li.has-dropdown.is-open .menu__dropdown-arrow {
  transform: rotate(180deg);
}

.menu__dropdown {
  list-style: none;
  padding: 0.5rem 0;
  position: absolute;
  top: 100%;
  left: 0;
  background: white;
  border: 1px solid var(--color-border);
  border-radius: 6px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  min-width: 200px;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  gap: 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
  pointer-events: none;
}

/* Otwórz dropdown przy najechaniu myszą */
.menu li.has-dropdown:hover > .menu__dropdown,
.menu li.has-dropdown:focus-within > .menu__dropdown,
.menu li.has-dropdown.is-open > .menu__dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.menu__dropdown li {
  list-style: none;
  margin: 0;
  padding: 0;
}

.menu__dropdown li a {
  padding: 0.75rem 1rem;
  color: var(--color-text);
  border-radius: 0;
  transition: background-color 0.2s, color 0.2s;
}

.menu__dropdown li a:hover {
  background-color: var(--color-border);
  color: var(--color-primary);
}


/* Hamburger Menu */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-around;
  width: 30px;
  height: 30px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1001;
}

.hamburger__line {
  width: 30px;
  height: 3px;
  background: var(--color-primary);
  border-radius: 10px;
  transition: all 0.3s linear;
  position: relative;
  transform-origin: 1px;
}

.hamburger.is-active .hamburger__line:nth-child(1) {
  transform: rotate(45deg);
}

.hamburger.is-active .hamburger__line:nth-child(2) {
  opacity: 0;
  transform: translateX(20px);
}

.hamburger.is-active .hamburger__line:nth-child(3) {
  transform: rotate(-45deg);
}

/* Mobile Menu Panel */
.mobile-menu-panel {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 80%;
  max-width: 360px;
  background: white;
  box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  padding: 1.5rem 2rem 2rem;
  transform: translateX(100%);
  transition: transform 0.3s ease-in-out;
  overflow-y: auto;
}

.mobile-menu-panel.is-open {
  transform: translateX(0);
}

.mobile-menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease-in-out;
}

.mobile-menu-overlay.is-open {
  opacity: 1;
  visibility: visible;
}

.mobile-menu__close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  margin-bottom: 2rem;
  margin-left: auto;
  background: none;
  border: 1px solid var(--color-border);
  border-radius: 4px;
  cursor: pointer;
  color: var(--color-text);
  transition: background 0.2s, color 0.2s;
}

.mobile-menu__close:hover {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: #fff;
}

.mobile-menu__nav {
  margin-bottom: 2rem;
}

/* Usunięcie kółek/punktorów z menu mobilnego */
.mobile-menu__nav ul,
.mobile-menu__nav ul ul,
.mobile-menu__nav li {
  list-style: none;
  margin: 0;
  padding: 0;
}

.mobile-menu__nav .menu {
  flex-direction: column;
  gap: 0;
  align-items: stretch;
}

.mobile-menu__nav .menu li {
  border-bottom: 1px solid var(--color-border);
}

.mobile-menu__nav .menu li a {
  padding: 1rem 0;
  font-size: 1rem;
  display: block;
  color: var(--color-text);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease;
}

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

.mobile-menu__buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 2rem;
}

.mobile-menu__buttons .button {
  width: 100%;
  text-align: center;
  justify-content: center;
}

/* 6. Front Page Styles */

/* Hero Section */
/* ──────────────────────────────────────────────
   Hero Section
────────────────────────────────────────────── */
.hero-section {
  position: relative;
  min-height: 620px;
  display: flex;
  align-items: center;
  background: #fff;
  overflow: hidden;
}

.hero-section > .container {
  width: 100%;
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 52% 48%;
  align-items: center;
  gap: 0;
}

/* ── Left content ── */
.hero-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  padding-right: 2rem;
  position: relative;
  z-index: 2;
  transition: opacity 0.35s ease;
}

.hero-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #fff;
  background: #E20B0B;
  border-radius: 100px;
  padding: 0.3rem 0.9rem;
  margin-bottom: 1.25rem;
  transition: opacity 0.35s ease;
}

.hero-title {
  font-family: 'Manrope', sans-serif;
  font-size: clamp(2rem, 3.5vw, 3.25rem);
  font-weight: 700;
  line-height: 1.1;
  color: var(--color-primary);
  margin: 0 0 1.25rem;
  /* Title allowed to extend slightly beyond column into clip area */
  max-width: 115%;
  transition: opacity 0.35s ease;
}

.hero-description {
  font-size: 1rem;
  line-height: 1.7;
  color: #555;
  margin: 0 0 2rem;
  max-width: 440px;
  transition: opacity 0.35s ease;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  transition: opacity 0.35s ease;
}

.button--ghost {
  background: transparent;
  border: 2px solid var(--color-primary);
  color: var(--color-primary);
  padding: .65rem 1.25rem;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  transition: background 0.2s ease, color 0.2s ease;
  font-size: inherit;
}

.button--ghost:hover {
  background: var(--color-primary);
  color: #fff;
}

/* ── Right: image as absolute background of right half ── */
.hero-media {
  position: absolute;
  top: 0;
  right: 0;
  width: 52%;
  height: 100%;
  z-index: 1;
  transition: opacity 0.35s ease;
}

.hero-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
  -webkit-mask-image: url('../images/mask.png');
  mask-image: url('../images/mask.png');
  -webkit-mask-size: cover;
  mask-size: cover;
  -webkit-mask-position: bottom right;
  mask-position: bottom right;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
}

/* ── Dot indicators (inside .hero-content, left-aligned under buttons) ── */
.hero-dots {
  display: flex;
  gap: 0.5rem;
  margin-top: 1.5rem;
  align-items: center;
  justify-content: flex-start;
}

.hero-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ccc;
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background 0.25s ease, width 0.25s ease, border-radius 0.25s ease;
  flex-shrink: 0;
}

.hero-dot--active {
  width: 24px;
  border-radius: 4px;
  background: #E20B0B;
}

.hero-dot:hover:not(.hero-dot--active) {
  background: #aaa;
}

/* ── Stats bar ── */
.hero-stats {
  border-top: 1px solid #eee;
  border-bottom: 1px solid #eee;
  padding: 1.25rem 0;
  background: #fff;
}

.hero-stats__inner {
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.hero-stats__google {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: inherit;
  flex-shrink: 0;
}

.hero-stats__google:hover .hero-stats__google-text strong {
  text-decoration: underline;
}

.hero-stats__stars {
  display: flex;
  gap: 2px;
  align-items: center;
}

.hero-stats__star {
  color: #e0e0e0;
  flex-shrink: 0;
}

.hero-stats__star--filled {
  color: #fbbc04;
}

.hero-stats__google-text {
  display: flex;
  flex-direction: column;
  font-size: 0.875rem;
  line-height: 1.3;
  color: var(--color-text);
}

.hero-stats__google-text strong {
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-primary);
}

.hero-stats__divider {
  width: 1px;
  height: 36px;
  background: #e0e0e0;
  flex-shrink: 0;
}

.hero-stats__item {
  display: flex;
  flex-direction: column;
  line-height: 1.3;
}

.hero-stats__value {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1;
}

.hero-stats__unit {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-primary);
  line-height: 1.2;
}

.hero-stats__label {
  font-size: 0.75rem;
  color: #666;
  line-height: 1.3;
}

/* Services Brief Section */
.services-brief {
  padding: 6rem 0;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: 3rem;
}

.service-card {
  background: white;
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.service-icon {
  color: var(--color-primary);
  margin-bottom: 1rem;
}

.service-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: 1rem;
}

.service-description {
  color: var(--color-text);
  line-height: 1.6;
}

.services-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
}

.tag {
  background: var(--color-primary);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.875rem;
  font-weight: 500;
}

/* About Section */
.about-section {
  padding: 6rem 0;
}

.about-content {
  margin-bottom: 4rem;
}

.about-content h2 {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 1rem;
}

.about-subtitle {
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--color-text);
  margin-bottom: 2rem;
}

.about-description {
  color: #666;
  line-height: 1.7;
  font-size: 1rem;
}

/* Services Grid — 2×3 boxes */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-top: 2rem;
}

.service-box {
  position: relative;
  display: flex;
  flex-direction: column;
  background: #fff;
  color: #111;
  text-decoration: none;
  overflow: hidden;
  padding: 2rem 1.75rem;
  min-height: 260px;
}

.service-box__fill {
  position: absolute;
  inset: 0;
  background: linear-gradient(to left, #f7f7f7, transparent);
  opacity: 0;
  transition: opacity 0.35s ease;
  z-index: 0;
}

.service-box:hover .service-box__fill {
  opacity: 1;
}

.service-box__content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}

.service-box__top {
  flex: 1;
}

.service-box__heading {
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 0.75rem;
  color: #111;
}

.service-box__desc {
  font-size: 0.875rem;
  line-height: 1.65;
  color: #555;
  max-width: 340px;
}

.service-box__bottom {
  margin-top: 1.5rem;
}

.service-box__arrow {
  display: inline-flex;
  color: #bbb;
  transition: color 0.3s ease, transform 0.3s ease;
}

.service-box:hover .service-box__arrow {
  color: #111;
  transform: translateX(6px);
}

.cta-button {
  display: inline-flex;
  align-items: center;
  padding: 1rem 2rem;
  background: var(--color-primary);
  color: white;
  text-decoration: none;
  border-radius: 6px;
  font-weight: 600;
  transition: all 0.3s ease;
  margin-top: 2rem;
}

.cta-button:hover {
  background: var(--color-text);
  transform: translateY(-2px);
}

/* Services Detailed Section */
.services-detailed {
  padding: 6rem 0;
  background-color: #f8f9fa;
}

.services-accordion {
  max-width: 800px;
  margin: 0 auto;
}

.service-item {
  background: white;
  margin-bottom: 1rem;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.service-item h3 {
  padding: 1.5rem 2rem;
  margin: 0;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--color-primary);
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.service-item h3:hover {
  background-color: #f8f9fa;
}

.service-content {
  padding: 0 2rem 1.5rem;
}

.service-content p {
  color: var(--color-text);
  line-height: 1.6;
  margin: 0;
}

/* Cooperation Steps */
.cooperation-steps {
  padding: 6rem 0;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
}

.step-item {
  text-align: center;
  position: relative;
}

.step-number {
  font-size: 4rem;
  font-weight: 700;
  color: rgba(0, 0, 0, 0.1);
  position: absolute;
  top: -1rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
}

.step-item h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--color-primary);
  margin: 2rem 0 1rem;
  position: relative;
  z-index: 2;
}

.step-item p {
  color: var(--color-text);
  line-height: 1.6;
}

/* Client Tools Section */
.client-tools {
  padding: 6rem 0;
  background-color: #f8f9fa;
}

.client-tools h2 {
  text-align: center;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 1rem;
}

.section-lead {
  text-align: center;
  font-size: 1.125rem;
  color: var(--color-text);
  line-height: 1.6;
  max-width: 800px;
  margin: 0 auto 3rem;
}

.client-tools .btn-primary {
  display: block;
  width: fit-content;
  margin: 0 auto;
}

.tools-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.tool-card {
  background: white;
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: transform 0.3s ease;
}

.tool-card.featured {
  border: 2px solid var(--color-primary);
}

.tool-card:hover {
  transform: translateY(-5px);
}

.tool-card h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: 1rem;
}

.tool-cta {
  display: inline-flex;
  align-items: center;
  padding: 0.75rem 1.5rem;
  background: var(--color-primary);
  color: white;
  text-decoration: none;
  border-radius: 6px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.tool-cta:hover {
  background: var(--color-text);
}

/* Courses Section */
.courses-section {
  padding: 6rem 0;
}

.courses-section h2 {
  text-align: center;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 3rem;
}

.courses-table {
  margin: 3rem 0;
}

.course-row {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr auto;
  gap: 1rem;
  align-items: center;
  padding: 1rem;
  border-bottom: 1px solid #eee;
}

.course-row:last-child {
  border-bottom: none;
}

.course-name {
  font-weight: 600;
  color: var(--color-primary);
}

.course-date,
.course-level,
.course-price,
.course-format {
  color: var(--color-text);
  font-size: 0.875rem;
}

.course-cta {
  padding: 0.5rem 1rem;
  background: var(--color-primary);
  color: white;
  text-decoration: none;
  border-radius: 4px;
  font-size: 0.875rem;
  font-weight: 600;
  transition: background-color 0.3s ease;
}

.course-cta:hover {
  background: var(--color-text);
}

.view-all-courses {
  display: block;
  text-align: center;
  margin-top: 2rem;
  color: var(--color-primary);
  text-decoration: none;
  font-weight: 600;
}

.view-all-courses:hover {
  text-decoration: underline;
}

/* Blog Section */
.blog-section {
  padding: 6rem 0;
  background-color: #f8f9fa;
}

.blog-section h2 {
  text-align: center;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 1rem;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: 3rem;
}

.blog-card {
  background: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.blog-card-link {
  text-decoration: none;
  color: inherit;
  display: block;
}

.blog-thumbnail {
  aspect-ratio: 8 / 5;
  overflow: hidden;
}

.blog-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.blog-content {
  padding: 1.5rem;
}

.blog-category {
  background: var(--color-primary);
  color: white;
  padding: 0.25rem 0.75rem;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.blog-title {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--color-primary);
  margin: 1rem 0 0.5rem;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-excerpt {
  color: var(--color-text);
  font-size: 0.875rem;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin: 0;
}

.load-more-posts {
  display: block;
  margin: 0 auto;
  padding: 1rem 2rem;
  background: var(--color-primary);
  color: white;
  border: none;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.load-more-posts:hover {
  background: var(--color-text);
}

/* Social Proof Section */
.social-proof {
  padding: 6rem 0;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  text-align: center;
}

.claim h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 3rem;
  line-height: 1.2;
}

.proof-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  max-width: 900px;
  margin: 0 auto;
}

.proof-tag {
  background: rgba(255, 255, 255, 0.2);
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.875rem;
  font-weight: 500;
  backdrop-filter: blur(10px);
}

.proof-tag.special {
  background: rgba(255, 255, 255, 0.3);
  font-weight: 600;
}

/* 7. Responsive Styles for Front Page */
@media (max-width: 1024px) {
  .hero-section {
    min-height: 540px;
  }

  .hero-inner {
    grid-template-columns: 55% 45%;
  }

  .hero-media {
    width: 48%;
  }

  .hero-content {
    padding-right: 1rem;
  }
  
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .service-box {
    min-height: 240px;
  }
  
  .steps-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .tools-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .hero-section {
    min-height: 450px;
    height: 450px;
    padding: 0;
    align-items: center;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .hero-title {
    max-width: 100%;
    font-size: clamp(1.75rem, 7vw, 2.5rem);
  }

  .hero-media {
    display: none;
  }

  .hero-content {
    padding-right: 0;
  }

  .hero-dots {
    justify-content: flex-start;
    margin-top: 1.25rem;
  }

  .hero-stats {
    padding: 1.5rem 0;
  }

  .hero-stats__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem 1rem;
    align-items: start;
  }

  .hero-stats__google {
    grid-column: 1 / -1;
    justify-content: center;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid #eee;
  }

  .hero-stats__divider {
    display: none;
  }

  .hero-stats__item {
    text-align: center;
    align-items: center;
  }

  .services-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .course-row {
    grid-template-columns: 1fr;
    gap: 0.5rem;
    text-align: left;
  }
  
  .blog-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .claim h2 {
    font-size: 1.75rem;
  }
}

/* Archive Page Styles */
.archive-page {
  padding: 4rem 0;
}

.archive-header {
  text-align: center;
  margin-bottom: 3rem;
}

.archive-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 1rem;
}

.archive-description {
  font-size: 1.125rem;
  color: var(--color-secondary);
  max-width: 600px;
  margin: 0 auto;
}

/* Category Filter */
.category-filter {
  margin-bottom: 3rem;
}

.category-labels {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  padding: 1rem 0;
}

.category-label {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: white;
  border: 1px solid #000;
  border-radius: 4px;
  text-decoration: none;
  color: #000;
  font-family: 'Manrope', sans-serif;
  font-weight: 500;
  font-size: 0.875rem;
  transition: all 0.3s ease;
  position: relative;
}

.category-label:hover {
  background: #000;
  color: white;
  transform: translateY(-1px);
}

.category-label.active {
  background: #000;
  color: white;
}

/* Blog Grid Enhancement */
.blog-category-overlay {
  position: absolute;
  top: 1rem;
  left: 1rem;
  z-index: 2;
}

.category-badge {
  background: var(--color-primary);
  color: white;
  padding: 0.375rem 0.75rem;
  border-radius: 20px;
  font-size: 0.875rem;
  font-weight: 500;
}

.reading-time {
  color: var(--color-secondary);
  font-size: 0.875rem;
}

.blog-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.blog-date {
  color: var(--color-secondary);
  font-size: 0.875rem;
}

/* No Posts State */
.no-posts {
  text-align: center;
  padding: 4rem 2rem;
}

.no-posts-icon {
  font-size: 4rem;
  margin-bottom: 1rem;
}

.no-posts h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--color-primary);
}

.no-posts p {
  color: var(--color-secondary);
  margin-bottom: 2rem;
}

/* Pagination */
.archive-pagination {
  margin-top: 4rem;
  text-align: center;
}

.archive-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.archive-pagination .page-numbers li {
  display: inline-block;
}

.archive-pagination .page-numbers a,
.archive-pagination .page-numbers span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  height: 44px;
  padding: 0.5rem 1rem;
  background: white;
  border: 2px solid #f0f0f0;
  border-radius: 8px;
  text-decoration: none;
  color: var(--color-secondary);
  font-weight: 500;
  transition: all 0.3s ease;
}

.archive-pagination .page-numbers a:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
  transform: translateY(-1px);
}

.archive-pagination .page-numbers .current {
  background: var(--color-primary);
  color: white;
  border-color: var(--color-primary);
}

.archive-pagination .page-numbers .prev,
.archive-pagination .page-numbers .next {
  padding: 0.5rem 1.5rem;
}

/* Blog Page Styles */
.blog-page {
  padding: 4rem 0;
}

.blog-page-header {
  text-align: center;
  margin-bottom: 3rem;
}

.blog-page-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 1rem;
}

.blog-page-description {
  font-size: 1.125rem;
  color: var(--color-secondary);
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Blog Pagination */
.blog-pagination {
  margin-top: 4rem;
  text-align: center;
}

.blog-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.blog-pagination .page-numbers li {
  display: inline-block;
}

.blog-pagination .page-numbers a,
.blog-pagination .page-numbers span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  height: 44px;
  padding: 0.5rem 1rem;
  background: white;
  border: 1px solid #000;
  border-radius: 4px;
  text-decoration: none;
  color: #000;
  font-family: 'Manrope', sans-serif;
  font-weight: 500;
  transition: all 0.3s ease;
}

.blog-pagination .page-numbers a:hover {
  background: #000;
  color: white;
  transform: translateY(-1px);
}

.blog-pagination .page-numbers .current {
  background: #000;
  color: white;
}

.blog-pagination .page-numbers .prev,
.blog-pagination .page-numbers .next {
  padding: 0.5rem 1.5rem;
}

/* Responsive Design for Archive */
@media (max-width: 1024px) {
  .category-labels {
    justify-content: flex-start;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }
  
  .category-labels::-webkit-scrollbar {
    display: none;
  }
}

@media (max-width: 768px) {
  .archive-title,
  .blog-page-title {
    font-size: 2rem;
  }
  
  .blog-page {
    padding: 2rem 0;
  }
  
  .blog-page-header {
    margin-bottom: 2rem;
  }
  
  .category-label {
    padding: 0.375rem 0.75rem;
    font-size: 0.8rem;
  }
  
  .blog-pagination {
    margin-top: 2rem;
  }
  
  .blog-pagination .page-numbers a,
  .blog-pagination .page-numbers span {
    min-width: 36px;
    height: 36px;
    font-size: 0.875rem;
  }
}

@media (max-width: 640px) {
  .archive-page {
    padding: 2rem 0;
  }
  
  .archive-header {
    margin-bottom: 2rem;
  }
  
  .category-filter {
    margin-bottom: 2rem;
  }
  
  .archive-pagination {
    margin-top: 2rem;
  }
  
  .archive-pagination .page-numbers a,
  .archive-pagination .page-numbers span {
    min-width: 36px;
    height: 36px;
    font-size: 0.875rem;
  }
}

/* 8. Original Responsive Styles */
@media (max-width: 1024px) {
  .top-bar__content {
    flex-direction: column;
    gap: 0.75rem;
    text-align: center;
  }
  
  .top-bar__left {
    justify-content: center;
  }
  
  .site-header__right {
    flex-direction: column;
    gap: 1rem;
  }
  
  .site-header__buttons {
    order: -1;
  }
}

@media (max-width: 768px) {
  /* Hide top bar completely on mobile */
  .site-header__top-bar {
    display: none;
  }
  
  /* Mobile Header Main */
  .header-main__content {
    justify-content: space-between;
    align-items: center;
    flex-direction: row;
  }
  
  .site-header__right {
    display: none;
  }
  
  .hamburger {
    display: flex;
  }
  
  .menu {
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
  }
  
  .site-header__buttons {
    flex-direction: column;
    width: 100%;
    gap: 0.5rem;
  }
  
  .button {
    justify-content: center;
    width: 100%;
  }
}

/* BEFORE FOOTER STYLES */
.before-footer {
  padding: 6rem 0;
  background-color: #f8f9fa;
}

.before-footer-separator {
  width: 100px;
  height: 2px;
  background-color: var(--color-primary);
  margin: 0 auto 3rem;
}

.before-footer-title {
  text-align: center;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 4rem;
}

.before-footer-columns {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.before-footer-column h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: 1.5rem;
}

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

.before-footer-menu li {
  margin-bottom: 0.75rem;
}

.before-footer-menu li a {
  color: var(--color-text);
  text-decoration: none;
  font-size: 0.95rem;
  line-height: 1.5;
  transition: color 0.3s ease;
}

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

/* Responsive styles for Before Footer */
@media (max-width: 1024px) {
  .before-footer-columns {
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
  }
}

@media (max-width: 768px) {
  .before-footer-columns {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .before-footer-title {
    font-size: 2rem;
  }
}

/* SINGLE POST STYLES */
article.single-post {
  padding: 4rem 0 2rem;
}

article.single-post .container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 1rem;
}

.post-category-label {
  margin-bottom: 1rem;
}

.category-tag {
  display: inline-block;
  background-color: var(--color-primary);
  color: white;
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: 4px;
}

.post-title {
  font-size: 3rem;
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1.2;
  margin: 0 0 1rem 0;
}

.post-meta {
  margin-bottom: 2rem;
}

.post-date {
  font-size: 1rem;
  color: var(--color-secondary);
  font-weight: 400;
}

.post-featured-image {
  margin-bottom: 3rem;
  overflow: hidden;
  border-radius: 8px;
}

.post-featured-image .post-thumbnail {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 1140 / 712;
  object-fit: cover;
}

.post-content {
  font-size: 1.125rem;
  line-height: 1.7;
  color: var(--color-text);
}

.post-content p {
  margin-bottom: 1.5rem;
}

.post-content h2,
.post-content h3,
.post-content h4 {
  color: var(--color-primary);
  margin: 2rem 0 1rem;
}

.post-content h2 {
  font-size: 2rem;
  font-weight: 600;
}

.post-content h3 {
  font-size: 1.5rem;
  font-weight: 600;
}

.post-content h4 {
  font-size: 1.25rem;
  font-weight: 500;
}

.post-content ul,
.post-content ol {
  margin: 1.5rem 0;
  padding-left: 2rem;
}

.post-content li {
  margin-bottom: 0.5rem;
}

.post-content blockquote {
  border-left: 4px solid var(--color-primary);
  padding-left: 2rem;
  margin: 2rem 0;
  font-style: italic;
  color: var(--color-secondary);
}

/* Related Posts Section */
.related-posts {
  padding: 4rem 0;
  background-color: #f8f9fa;
}

.related-posts-separator {
  width: 100px;
  height: 2px;
  background-color: var(--color-primary);
  margin: 0 auto 2rem;
}

.related-posts-title {
  text-align: center;
  font-size: 2rem;
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: 3rem;
}

.related-posts-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  max-width: 1140px;
  margin: 0 auto;
}

.related-post-item {
  background: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.related-post-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.related-post-link {
  text-decoration: none;
  color: inherit;
  display: block;
}

.related-post-thumbnail {
  width: 100%;
  height: auto;
  overflow: hidden;
}

.related-post-thumbnail img {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 570 / 356;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.related-post-item:hover .related-post-thumbnail img {
  transform: scale(1.05);
}

.related-post-content {
  padding: 1.5rem;
}

.related-post-title {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--color-primary);
  line-height: 1.4;
  margin: 0;
}

/* Responsive Styles for Single Post */
@media (max-width: 1200px) {
  article.single-post .container {
    padding: 0 2rem;
  }
}

@media (max-width: 768px) {
  .post-title {
    font-size: 2rem;
  }

  .post-content {
    font-size: 1rem;
  }

  .related-posts-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .related-posts-title {
    font-size: 1.5rem;
  }
}

@media (max-width: 480px) {
  .post-title {
    font-size: 1.75rem;
  }

  .post-featured-image {
    margin-bottom: 2rem;
  }
}

/* PAGE TEMPLATES STYLES */

/* CSS Variables for Page Templates */
:root {
  --primary-color: #E20B0B;
  --text-color: #333333;
  --bg-color: #ffffff;
  --dark-bg: #1a1a1a;
  --dark-text: #ffffff;
  --border-radius: 8px;
  --box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  --transition: all 0.3s ease;
}

/* Utility Classes */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

.section-padding {
  padding: 4rem 0;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--text-color);
  text-align: center;
  margin-bottom: 3rem;
}

.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

/* Grid Systems */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

/* Button Styles */
.btn-primary, .btn-secondary {
  display: inline-block;
  padding: 1rem 2rem;
  border-radius: var(--border-radius);
  text-decoration: none;
  font-weight: 500;
  transition: var(--transition);
  border: none;
  cursor: pointer;
  font-size: 1rem;
}

.btn-primary {
  background-color: var(--primary-color);
  color: white;
}

.btn-primary:hover {
  background-color: #c20909;
  transform: translateY(-2px);
  box-shadow: var(--box-shadow);
}

.btn-secondary {
  background-color: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
  background-color: var(--primary-color);
  color: white;
}

/* Breadcrumbs */
.breadcrumbs {
  padding: 1rem 0;
  background-color: #f8f9fa;
  border-bottom: 1px solid #e9ecef;
}

.breadcrumbs-list {
  display: flex;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 0.875rem;
}

.breadcrumbs-item {
  display: flex;
  align-items: center;
}

.breadcrumbs-item a {
  color: var(--primary-color);
  text-decoration: none;
}

.breadcrumbs-item a:hover {
  text-decoration: underline;
}

.breadcrumbs-item--current {
  color: var(--text-color);
  font-weight: 500;
}

.breadcrumbs-separator {
  margin: 0 0.5rem;
  color: #6c757d;
}

/* Page Headers */
.page-header {
  padding: 3rem 0;
  text-align: left;
}

.page-header--minimal .page-title {
  font-size: 3rem;
  font-weight: 700;
  color: var(--text-color);
  margin-bottom: 1rem;
}

.page-header--dark .page-title {
  color: var(--dark-text);
}

.page-excerpt {
  font-size: 1.25rem;
  color: var(--text-color);
  line-height: 1.6;
}

/* Page Content */
.page-content {
  font-size: 1.125rem;
  line-height: 1.7;
  color: var(--text-color);
  margin-bottom: 3rem;
}

.page-content h2,
.page-content h3,
.page-content h4 {
  color: var(--text-color);
  margin: 2rem 0 1rem;
}

.page-content p {
  margin-bottom: 1.5rem;
}

/* Dark Template Styles */
.template-dark {
  background-color: var(--dark-bg);
  color: var(--dark-text);
  min-height: 100vh;
}

.template-dark .section-title,
.template-dark .page-content,
.template-dark .page-content h2,
.template-dark .page-content h3,
.template-dark .page-content h4,
.template-dark .page-excerpt {
  color: var(--dark-text);
}

.template-dark .breadcrumbs {
  background-color: #2a2a2a;
  border-bottom-color: #404040;
}

.template-dark .breadcrumbs-item--current {
  color: var(--dark-text);
}

.template-dark .steps__title {
  color: var(--dark-text);
}

.template-dark .steps__desc {
  color: rgba(255, 255, 255, 0.6);
}

.template-dark .offer-list__group-title {
  color: var(--dark-text);
  border-bottom-color: var(--dark-text);
}

.template-dark .offer-list__item {
  color: rgba(255, 255, 255, 0.6);
  border-bottom-color: #404040;
}

.template-dark .service-cards__item {
  background: #2a2a2a;
  border-color: #404040;
}

.template-dark .service-cards__title {
  color: var(--dark-text);
}

.template-dark .service-cards__desc {
  color: rgba(255, 255, 255, 0.6);
}

/* Knowledge Base Component */
.knowledge-base {
  background-color: #f8f9fa;
}

.knowledge-grid {
  margin-top: 2rem;
}

.knowledge-item {
  background: white;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
}

.knowledge-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.knowledge-thumbnail {
  overflow: hidden;
}

.knowledge-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: var(--transition);
}

.knowledge-item:hover .knowledge-image {
  transform: scale(1.05);
}

.knowledge-content {
  padding: 1.5rem;
}

.knowledge-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.knowledge-title a {
  color: var(--text-color);
  text-decoration: none;
}

.knowledge-title a:hover {
  color: var(--primary-color);
}

.knowledge-excerpt {
  color: #6c757d;
  margin-bottom: 1rem;
  line-height: 1.6;
}

.knowledge-link {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.knowledge-link:hover {
  text-decoration: underline;
}

/* Blog Posts Component */
.blog-posts {
  background-color: white;
}

.blog-grid {
  margin-top: 2rem;
}

.blog-item {
  background: white;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
}

.blog-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.blog-thumbnail {
  overflow: hidden;
}

.blog-image {
  width: 100%;
  height: auto;
  aspect-ratio: 8 / 5;
  object-fit: cover;
  display: block;
  transition: var(--transition);
}

.blog-item:hover .blog-image {
  transform: scale(1.05);
}

.blog-content {
  padding: 1.5rem;
}

.blog-meta {
  margin-bottom: 1rem;
}

.blog-date {
  color: #6c757d;
  font-size: 0.875rem;
}

.blog-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.blog-title a {
  color: var(--text-color);
  text-decoration: none;
}

.blog-title a:hover {
  color: var(--primary-color);
}

.blog-excerpt {
  color: #6c757d;
  margin-bottom: 1rem;
  line-height: 1.6;
}

.blog-link {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.blog-link:hover {
  text-decoration: underline;
}

/* See Also Component */
.see-also {
  background-color: #f8f9fa;
}

.see-also-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.see-also-item {
  background: white;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
}

.see-also-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.see-also-thumbnail {
  overflow: hidden;
}

.see-also-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: var(--transition);
}

.see-also-item:hover .see-also-image {
  transform: scale(1.05);
}

.see-also-content {
  padding: 1.5rem;
}

.see-also-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.see-also-title a {
  color: var(--text-color);
  text-decoration: none;
}

.see-also-title a:hover {
  color: var(--primary-color);
}

.see-also-excerpt {
  color: #6c757d;
  line-height: 1.6;
}

/* Contact Form Component */
.contact-form-section {
  background-color: var(--primary-color);
  color: white;
}

.contact-form-section .section-title {
  color: white;
}

.contact-form-wrapper {
  max-width: 600px;
  margin: 0 auto;
}

.contact-form {
  background: white;
  padding: 3rem;
  border-radius: var(--border-radius);
  color: var(--text-color);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: var(--text-color);
}

.required {
  color: var(--primary-color);
}

.form-control {
  width: 100%;
  padding: 1rem;
  border: 2px solid #e9ecef;
  border-radius: var(--border-radius);
  font-size: 1rem;
  transition: var(--transition);
}

.form-control:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(226, 11, 11, 0.1);
}

.form-group--submit {
  text-align: center;
  margin-top: 2rem;
}

.btn-submit {
  position: relative;
  min-width: 200px;
}

.btn-submit:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

.btn-spinner {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

.form-messages {
  margin-top: 1rem;
  padding: 1rem;
  border-radius: var(--border-radius);
  display: none;
}

.form-messages.success {
  background-color: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
  display: block;
}

.form-messages.error {
  background-color: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
  display: block;
}

/* FAQ Component */
.faq-section {
  background-color: white;
}

.faq-wrapper {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid #e9ecef;
  margin-bottom: 1rem;
}

.faq-question {
  width: 100%;
  padding: 1.5rem 0;
  background: none;
  border: none;
  text-align: left;
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--text-color);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: var(--transition);
}

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

.faq-question[aria-expanded="true"] .faq-icon {
  transform: rotate(45deg);
}

.faq-icon {
  transition: transform 0.3s ease;
  color: var(--primary-color);
}

.faq-answer {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.3s ease-out;
}

.faq-answer.active {
  max-height: 500px;
  transition: max-height 0.5s ease-in;
}

.faq-content {
  padding-bottom: 1.5rem;
  color: #6c757d;
  line-height: 1.6;
}

/* Other Services Component */
.other-services {
  background-color: #f8f9fa;
}

.services-grid {
  margin-top: 2rem;
}

.service-item {
  text-align: center;
}

.service-link {
  display: block;
  background: white;
  padding: 2rem;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  text-decoration: none;
  color: var(--text-color);
  transition: var(--transition);
  height: 100%;
}

.service-link:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  color: var(--text-color);
}

.service-icon {
  margin-bottom: 1.5rem;
}

.service-icon img {
  width: 48px;
  height: 48px;
  object-fit: contain;
}

.service-icon--default {
  color: var(--primary-color);
}

.service-name {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--text-color);
}

.service-description {
  color: #6c757d;
  line-height: 1.5;
  margin: 0;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .hero-title {
    font-size: 2.5rem;
  }
  
  .page-header--minimal .page-title {
    font-size: 2.5rem;
  }
}

@media (max-width: 768px) {
  .section-padding {
    padding: 3rem 0;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .grid-4,
  .grid-3,
  .grid-2 {
    grid-template-columns: 1fr;
  }
  
  .form-row {
    grid-template-columns: 1fr;
  }
  
  .hero-title {
    font-size: 2rem;
  }
  
  .hero-excerpt {
    font-size: 1.125rem;
  }
  
  .page-header--minimal .page-title {
    font-size: 2rem;
  }
  
  .contact-form {
    padding: 2rem;
  }
  
  .see-also-grid {
    grid-template-columns: 1fr;
  }
  
  /* Horizontal scroll for see-also on mobile */
  .see-also-grid {
    display: flex;
    overflow-x: auto;
    gap: 1rem;
    padding-bottom: 1rem;
  }
  
  .see-also-item {
    flex: 0 0 280px;
  }
}

@media (max-width: 480px) {
  .hero-section {
    min-height: 300px;
    height: 50vh;
  }
  
  .hero-title {
    font-size: 1.75rem;
  }
  
  .breadcrumbs-list {
    font-size: 0.8125rem;
  }
  
  .contact-form {
    padding: 1.5rem;
  }
}

/* FOOTER STYLES */
.site-footer {
    background-color: #E20B0B;
    color: #ffffff;
    padding: 80px 0;
    border-top: none;
}

.footer-container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 1rem;
}

.footer-top,
.footer-bottom {
    display: grid;
    gap: 30px;
    margin-bottom: 40px;
}

.footer-top {
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
}

.footer-bottom {
    grid-template-columns: 2fr 1fr 1fr;
    align-items: flex-end;
}

.footer-copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    margin-top: 20px;
}

.footer-copyright p {
    margin: 0;
    font-size: 0.875rem;
    opacity: 0.8;
}

/* Animowany tekst rotator */
.animated-text-container {
    text-align: left;
    width: 300px;
}

.animated-text {
    font-size: 4rem;
    margin: 0;
    font-weight: 300;
    line-height: 1.2;
    color: #fff;
}

.text-rotator {
    position: relative;
    display: inline-block;
    min-width: 120px;
}

.rotate-word {
    position: absolute;
    left: 0;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s ease-in-out;
    white-space: nowrap;
}

.rotate-word.active {
    position: relative;
    opacity: 1;
    transform: translateY(0);
}

/* Ukrywanie na urządzeniach */
.desktop-only {
    display: block;
}

.mobile-only {
    display: none;
}

/* Menu w stopce */
.footer-menu,
.footer-services {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-menu li,
.footer-services li {
    margin-bottom: 8px;
}

.footer-menu a,
.footer-services a {
    color: #ffffff;
    text-decoration: none;
    transition: opacity 0.3s ease;
    font-size: 0.875rem;
}

.footer-menu a:hover,
.footer-services a:hover {
    opacity: 0.8;
}

.footer-column h4 {
    margin-bottom: 15px;
    font-size: 16px;
    font-weight: bold;
    color: #ffffff;
}

.footer-contact-column p {
    margin: 0;
    line-height: 1.6;
}

.footer-contact-column a {
    color: #ffffff;
    text-decoration: underline;
}

.footer-contact-column a:hover {
    opacity: 0.8;
}

/* Footer logo styling */
.footer-logo img,
.footer-main-logo img {
    max-width: 100%;
    height: auto;
}

.footer-main-logo h2 {
    color: #ffffff;
    margin: 0;
    font-size: 1.5rem;
}

/* Responsywność */
@media (max-width: 1024px) {
    .footer-top {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 20px;
    }
    
    .footer-bottom {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }
    
    .animated-text-container {
        width: 100%;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .desktop-only {
        display: none !important;
    }
    
    .mobile-only {
        display: block;
    }
    
    /* Mobile Footer Layout Order */
    .footer-container {
        display: flex;
        flex-direction: column;
    }
    
    .footer-top {
        order: 2;
        grid-template-columns: 1fr;
        text-align: left;
        gap: 30px;
        margin-bottom: 30px;
    }
    
    .footer-bottom {
        order: 3;
        grid-template-columns: 1fr 1fr;
        text-align: left;
        gap: 20px;
        margin-bottom: 30px;
    }
    
    /* Mobile Logo - First */
    .footer-main-logo {
        order: 1;
        text-align: center;
        margin-bottom: 30px;
    }
    
    .footer-main-logo.desktop-only {
        display: block !important;
    }
    
    /* Mobile Animated Text - Left aligned, bigger */
    .animated-text-container {
        width: 100%;
        text-align: left;
    }
    
    .animated-text {
        font-size: 3rem;
        font-weight: 300;
    }
    
    /* Mobile Contact Column */
    .footer-contact-column {
        text-align: left;
        margin-bottom: 20px;
    }
    
    /* Mobile Menu Columns */
    .footer-menu-column,
    .footer-services-column {
        text-align: left;
    }
    
    .footer-column {
        margin-bottom: 20px;
    }
    
    .site-footer {
        padding: 30px 0;
    }
    
    .footer-copyright {
        order: 4;
    }
}

@media (max-width: 480px) {
    .text-rotator {
        min-width: 100px;
    }
    
    .animated-text {
        font-size: 2.5rem;
    }
    
    .site-footer {
        padding: 20px 0;
    }
    
    .footer-top,
    .footer-bottom {
        gap: 20px;
        margin-bottom: 20px;
    }
    
    .footer-bottom {
        grid-template-columns: 1fr 1fr;
    }
    
    .footer-menu-column,
    .footer-services-column {
        margin-bottom: 25px;
    }
}

/* ==========================================================================
   Contact Popup
   ========================================================================== */

@keyframes popup-slide-down {
  from {
    transform: translateY(-100%);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.contact-popup__backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  z-index: 9998;
}

.contact-popup {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow-y: auto;
  background: #fff;
  z-index: 9999;
  animation: popup-slide-down 0.4s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.contact-popup.is-open,
.contact-popup__backdrop.is-open {
  display: block;
}

.contact-popup__inner {
  position: relative;
  padding: 4rem 2rem 3rem;
  max-width: 1200px;
  margin: 0 auto;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.contact-popup__close {
  position: absolute;
  top: 3rem;
  right: 1.25rem;
  background: none;
  border: none;
  cursor: pointer;
  color: #111;
  padding: 0.5rem;
  line-height: 0;
  border-radius: 50%;
  transition: background 0.2s, color 0.2s;
}

.contact-popup__close:hover {
  background: #f3f3f3;
  color: #000;
}

.contact-popup__content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

/* Left side */
.contact-popup__heading {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  line-height: 1.1;
  margin: 0 0 1rem;
  color: #111;
}

.contact-popup__subtitle {
  font-size: 1rem;
  color: #555;
  margin: 0 0 2.5rem;
  max-width: 340px;
  line-height: 1.6;
}

.contact-popup__contacts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.contact-popup__contact-item {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.contact-popup__contact-label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #888;
}

.contact-popup__contact-email {
  font-size: 0.95rem;
  font-weight: 600;
  color: #111;
  text-decoration: none;
  transition: color 0.2s;
}

.contact-popup__contact-email:hover {
  color: var(--color-primary, #2563eb);
}

/* Right side – form */
.contact-popup__form {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

.contact-popup__field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.contact-popup__field label {
  font-size: 0.85rem;
  font-weight: 600;
  color: #333;
}

.contact-popup__field input,
.contact-popup__field textarea {
  width: 100%;
  padding: 0.7rem 1rem;
  border: 1.5px solid #e2e2e2;
  border-radius: 8px;
  font-size: 0.95rem;
  font-family: inherit;
  color: #111;
  background: #fafafa;
  transition: border-color 0.2s, background 0.2s;
  box-sizing: border-box;
}

.contact-popup__field input:focus,
.contact-popup__field textarea:focus {
  outline: none;
  border-color: var(--color-primary, #2563eb);
  background: #fff;
}

.contact-popup__field textarea {
  resize: vertical;
  min-height: 110px;
}

.contact-popup__field--checkbox .contact-popup__checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  cursor: pointer;
  font-size: 0.8rem;
  color: #555;
  line-height: 1.5;
}

.contact-popup__field--checkbox input[type="checkbox"] {
  width: 1rem;
  height: 1rem;
  min-width: 1rem;
  margin-top: 0.15rem;
  accent-color: var(--color-primary, #2563eb);
}

.contact-popup__field--checkbox a {
  color: var(--color-primary, #2563eb);
  text-decoration: underline;
}

.contact-popup__submit {
  align-self: flex-start;
  margin-top: 0.25rem;
}

/* CF7 overrides inside popup */
.contact-popup .wpcf7-form .wpcf7-text,
.contact-popup .wpcf7-form .wpcf7-email,
.contact-popup .wpcf7-form .wpcf7-tel,
.contact-popup .wpcf7-form .wpcf7-textarea {
  width: 100%;
  padding: 0.7rem 1rem;
  border: 1.5px solid #e2e2e2;
  border-radius: 8px;
  font-size: 0.95rem;
  font-family: inherit;
  background: #fafafa;
  box-sizing: border-box;
}

.contact-popup .wpcf7-form .wpcf7-submit {
  display: inline-flex;
  align-items: center;
  padding: 0.75rem 1.75rem;
  background: var(--color-primary, #2563eb);
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
}

.contact-popup .wpcf7-form .wpcf7-submit:hover {
  background: var(--color-primary-dark, #1d4ed8);
}

/* Mobile */
@media (max-width: 900px) {
  .contact-popup__content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .contact-popup__heading {
    font-size: clamp(2rem, 8vw, 3rem);
  }
}

@media (max-width: 600px) {
  .contact-popup__inner {
    padding: 3.5rem 1.25rem 2rem;
  }

  .contact-popup__contacts {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .contact-popup__close {
    top: 1rem;
    right: 1rem;
  }
}

/* ==========================================================================
   Go to Top
   ========================================================================== */

.go-to-top {
  position: fixed;
  bottom: 6rem;
  right: 2rem;
  z-index: 9990;
  width: 45px;
  height: 45px;
  background-color: #fff;
  border: none;
  border-radius: 50%;
  box-shadow: 0 0 30px -2px rgb(0 0 0 / .15);
  font-size: 10px;
  color: #000;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: transform 1s cubic-bezier(.23, 1, .32, 1),
              box-shadow 1s cubic-bezier(.23, 1, .32, 1),
              opacity 0.3s ease;
}

.go-to-top.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.go-to-top:hover {
  box-shadow: 0 0 40px -2px rgb(0 0 0 / .25);
  transform: translateY(-3px);
}

/* ==========================================================================
   Page Hero — hero podstron (template-1/2/3)
   ========================================================================== */

.page-hero {
  padding: 5rem 0 4.5rem;
  background: #fff;
  border-bottom: 1px solid var(--color-border);
}

.page-hero__inner {
  display: grid;
  grid-template-columns: 55% 1fr;
  gap: 3rem;
  align-items: center;
}

.page-hero__label {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-secondary);
  margin-bottom: 1.25rem;
}

.page-hero__title {
  font-size: clamp(2.25rem, 5vw, 3.75rem);
  font-weight: 700;
  line-height: 1.08;
  color: var(--color-primary);
  margin: 0 0 1.25rem 0;
}

.page-hero__excerpt {
  font-size: 1.1rem;
  color: var(--color-secondary);
  line-height: 1.7;
  margin: 0;
  max-width: 52ch;
}

.page-hero__media {
  position: relative;
  border-radius: 6px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
}

.page-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.page-hero__accent {
  height: 320px;
  background: var(--color-border);
  border-radius: 6px;
  position: relative;
  overflow: hidden;
}

.page-hero__accent::after {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    45deg,
    transparent,
    transparent 12px,
    rgba(0,0,0,0.03) 12px,
    rgba(0,0,0,0.03) 13px
  );
}

/* Bez obrazka — pełna szerokość treści */
.page-hero:not(.page-hero--has-image) .page-hero__inner {
  grid-template-columns: 1fr;
  max-width: 720px;
}

@media (max-width: 768px) {
  .page-hero {
    padding: 3rem 0 2.5rem;
  }

  .page-hero__inner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .page-hero__media,
  .page-hero__accent {
    aspect-ratio: 16 / 9;
    height: auto;
  }
}

/* ==========================================================================
   Service Hero — nagłówek strony usługi
   ========================================================================== */

.service-hero {
  padding: 5rem 0 4rem;
  border-bottom: 1px solid var(--color-border);
}

.service-hero__inner {
  display: grid;
  grid-template-columns: 1fr;
  max-width: 720px;
}

.service-hero__title {
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1.1;
  margin: 0 0 1.25rem 0;
}

.service-hero__excerpt {
  font-size: 1.125rem;
  color: var(--color-secondary);
  line-height: 1.7;
  margin: 0;
  max-width: 60ch;
}

@media (max-width: 768px) {
  .service-hero {
    padding: 3rem 0 2.5rem;
  }

  .service-hero__title {
    font-size: 2rem;
  }

  .service-hero__excerpt {
    font-size: 1rem;
  }
}

/* ==========================================================================
   Steps — 3 kroki kontaktu
   ========================================================================== */

.steps__list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
}

.steps__number {
  display: block;
  font-size: 4rem;
  font-weight: 700;
  line-height: 1;
  color: var(--color-primary);
  opacity: 0.08;
  margin-bottom: 1rem;
  font-family: var(--font-family);
}

.steps__title {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: 0.75rem;
}

.steps__desc {
  font-size: 1rem;
  color: var(--color-secondary);
  line-height: var(--base-line-height);
  margin: 0;
}

@media (max-width: 768px) {
  .steps__list {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

/* ==========================================================================
   Brand Bar — pasek marki
   ========================================================================== */

.brand-bar {
  background: var(--color-primary);
  padding: 5rem 0;
}

.brand-bar__inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 3rem;
  align-items: center;
}

.brand-bar__headline {
  font-size: 1.75rem;
  font-weight: 700;
  color: #fff;
  margin: 0 0 1rem 0;
  line-height: 1.3;
}

.brand-bar__desc {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.6);
  margin: 0;
  max-width: 56ch;
  line-height: var(--base-line-height);
}

.brand-bar__contact {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.75rem;
  flex-shrink: 0;
}

.brand-bar__link {
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.2s ease;
}

.brand-bar__link:hover {
  color: #fff;
  opacity: 1;
}

.brand-bar__cta {
  display: inline-block;
  margin-top: 0.5rem;
  padding: 0.75rem 1.75rem;
  background: #fff;
  color: #111;
  border: 2px solid #fff;
  border-radius: 4px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.2s;
}

.brand-bar__cta:hover {
  background: var(--color-additional-1);
  border-color: var(--color-primary);
  color: #fff;
  transform: translateY(-2px);
}

@media (max-width: 768px) {
  .brand-bar__inner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .brand-bar__contact {
    align-items: flex-start;
  }
}

/* ==========================================================================
   Offer List — lista oferty
   ========================================================================== */

.offer-list__heading {
  text-align: left;
}

.offer-list__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2.5rem;
}

.offer-list__group-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-primary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin: 0 0 1.25rem 0;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--color-primary);
}

.offer-list__items {
  list-style: none;
  margin: 0;
  padding: 0;
}

.offer-list__item {
  font-size: 0.9rem;
  color: var(--color-secondary);
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--color-border);
  line-height: 1.4;
}

.offer-list__item:last-child {
  border-bottom: none;
}

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

@media (max-width: 480px) {
  .offer-list__grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   Service Cards — 4 karty usług
   ========================================================================== */

.service-cards__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.service-cards__item {
  padding: 2rem 1.5rem;
  border: 1px solid var(--color-border);
  border-radius: 4px;
  background: #fff;
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.service-cards__item:hover {
  box-shadow: 0 8px 32px -4px rgb(0 0 0 / .08);
  transform: translateY(-3px);
}

.service-cards__title {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--color-primary);
  margin: 0 0 0.75rem 0;
}

.service-cards__desc {
  font-size: 0.9rem;
  color: var(--color-secondary);
  line-height: var(--base-line-height);
  margin: 0;
}

/* ==========================================================================
   Contact Section — sekcja kontaktowa (1:1 styl popup)
   ========================================================================== */

.contact-section {
  background: #fff;
}

.contact-section__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 4rem 2rem 3rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

/* ── Lewa kolumna ── */
.contact-section__heading {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  line-height: 1.1;
  margin: 0 0 1rem;
  color: #111;
}

.contact-section__subtitle {
  font-size: 1rem;
  color: #555;
  margin: 0 0 2.5rem;
  max-width: 340px;
  line-height: 1.6;
}

.contact-section__contacts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.contact-section__contact-item {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.contact-section__contact-label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #888;
}

.contact-section__contact-email {
  font-size: 0.95rem;
  font-weight: 600;
  color: #111;
  text-decoration: none;
  transition: color 0.2s;
}

.contact-section__contact-email:hover {
  color: #555;
}

.contact-section__services-label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #888;
  margin: 0 0 0.75rem;
}

.contact-section__services-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.contact-section__services-list li {
  font-size: 0.9rem;
  color: #555;
  padding: 0.45rem 0;
  border-bottom: 1px solid #eee;
}

.contact-section__services-list li:last-child {
  border-bottom: none;
}

/* ── Prawa kolumna — formularz ── */
.contact-section__form {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

.contact-section__field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.contact-section__field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.contact-section__field label {
  font-size: 0.85rem;
  font-weight: 600;
  color: #333;
}

.contact-section__field input,
.contact-section__field textarea {
  width: 100%;
  padding: 0.7rem 1rem;
  border: 1.5px solid #e2e2e2;
  border-radius: 8px;
  font-size: 0.95rem;
  font-family: var(--font-family);
  color: #111;
  background: #fafafa;
  transition: border-color 0.2s, background 0.2s;
  box-sizing: border-box;
}

.contact-section__field input:focus,
.contact-section__field textarea:focus {
  outline: none;
  border-color: #111;
  background: #fff;
}

.contact-section__field textarea {
  resize: vertical;
  min-height: 110px;
}

.contact-section__field--checkbox .contact-section__checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  cursor: pointer;
  font-size: 0.8rem;
  color: #555;
  line-height: 1.5;
}

.contact-section__field--checkbox input[type="checkbox"] {
  width: 1rem;
  height: 1rem;
  min-width: 1rem;
  margin-top: 0.15rem;
  accent-color: #111;
}

.contact-section__field--checkbox a {
  color: #111;
  text-decoration: underline;
}

.contact-section__submit {
  align-self: flex-start;
  margin-top: 0.25rem;
}

.contact-section__messages {
  font-size: 0.9rem;
  margin-top: 0.5rem;
  color: #555;
}

/* ── Responsywność ── */
@media (max-width: 1024px) {
  .contact-section__inner {
    gap: 3rem;
  }
}

@media (max-width: 768px) {
  .contact-section__inner {
    grid-template-columns: 1fr;
    padding: 3rem 1.5rem 2.5rem;
    gap: 2.5rem;
  }

  .contact-section__contacts {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .contact-section__field-row {
    grid-template-columns: 1fr;
  }
}

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

@media (max-width: 480px) {
  .service-cards__grid {
    grid-template-columns: 1fr;
  }
}
