/*
Theme Name: Professional Service
Theme URI: https://professionalservice.pl
Author: Professional Service Team
Author URI: https://professionalservice.pl
Description: Nowoczesny motyw WordPress dla firmy księgowej Professional Service. Zawiera kompletną funkcjonalność strony typu landing page z sekcjami: Hero, O nas, Aktualności, Usługi, Formularze, Cennik i Kontakt. W pełni edytowalny przez Advanced Custom Fields (ACF).
Version: 1.0.24
Requires at least: 5.8
Tested up to: 6.4
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: professional-service
Tags: one-column, custom-colors, custom-menu, featured-images, threaded-comments, translation-ready, business, portfolio

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned.
*/

/*
 * This stylesheet is only for theme metadata.
 * All actual styles are in /assets/css/main.css
 * 
 * The theme requires Advanced Custom Fields (ACF) plugin for full functionality.
 * Install ACF Free or ACF Pro from: https://wordpress.org/plugins/advanced-custom-fields/
 * 
 * After installation:
 * 1. Go to WordPress Dashboard → Ustawienia Strony
 * 2. Fill in all the content fields
 * 3. Your site is ready!
 */

/*
 * Main Stylesheet for Professional Service Theme
 * Brown color scheme: #260E03 (primary), #4a3420 (accent)
 */

/* ===== CSS Variables ===== */
:root {
  --primary-color: #260E03;
  --accent-color: #4a3420;
  --text-dark: #1f2937;
  --text-light: #6b7280;
  --bg-light: #f9fafb;
  --white: #ffffff;
  --border-color: #e5e7eb;
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
  --transition: all 0.3s ease;
}

/* ===== Reset & Base Styles ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  background-color: var(--white);
  overflow-x: hidden;
  width: 100%;
  max-width: 100vw;
}

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

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

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

/* ===== Container & Layout ===== */
.container {
  max-width: 1280px;
  width: 100%;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 5rem 0;
  width: 100%;
  overflow-x: hidden;
}

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

.section-subtitle {
  font-size: 1.125rem;
  text-align: center;
  color: var(--text-light);
  margin-bottom: 3rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* ===== Header ===== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.site-header.transparent {
  background: transparent;
  box-shadow: none;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.5rem;
  max-width: 1280px;
  margin: 0 auto;
}

.site-logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-color);
  font-family: 'Cormorant Garamond', 'Playfair Display', Georgia, serif;
  letter-spacing: 0.5px;
}

.site-logo img {
  height: 40px;
  width: auto;
}

.main-nav ul {
  display: flex;
  list-style: none;
  gap: 0.5rem;
  align-items: center;
}

.main-nav a {
  padding: 0.5rem 0.75rem;
  font-size: 0.875rem;
  font-weight: 500;
  white-space: nowrap;
  transition: var(--transition);
  color: var(--text-dark);
}

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

/* Transparent header styles - white text */
.site-header.transparent .site-logo {
  color: white;
}

.site-header.transparent .main-nav a {
  color: white;
}

.site-header.transparent .main-nav a:hover {
  color: rgba(255, 255, 255, 0.8);
}



/* Ensure phone number text is white in transparent header */
.site-header.transparent .phone-number,
.site-header.transparent .phone-number a {
  color: white !important;
}

/* Contact Button in Navigation */
.btn-contact {
  background-color: transparent;
  color: white !important;
  padding: 0.5rem 1.25rem;
  border-radius: 0.375rem;
  border: 2px solid white;
  font-size: 0.875rem;
  font-weight: 600;
  transition: var(--transition);
  white-space: nowrap;
}

.btn-contact:hover {
  background-color: white;
  color: var(--primary-color) !important;
}

/* Sticky header - contact button with brown theme */
.site-header:not(.transparent) .btn-contact {
  background-color: var(--primary-color);
  color: white !important;
  border-color: var(--primary-color);
}

.site-header:not(.transparent) .btn-contact:hover {
  background-color: var(--accent-color);
  color: white !important;
}



/* Mobile Menu Toggle */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  cursor: pointer;
  z-index: 1001;
}

.mobile-menu-toggle span {
  width: 24px;
  height: 2px;
  background-color: var(--primary-color);
  transition: var(--transition);
}

/* Transparent header - white hamburger icon */
.site-header.transparent .mobile-menu-toggle span {
  background-color: white;
}

/* ===== Hero Section ===== */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background-image: url('assets/images/hero-background.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  padding-top: 80px;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(38, 14, 3, 0.92) 0%, rgba(74, 52, 32, 0.88) 100%);
  z-index: 2;
}

/* Hero Video Background */
.hero-video-background {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 1;
}

.hero-video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translate(-50%, -50%);
  object-fit: cover;
}

.hero-video-desktop {
  display: block;
}

.hero-video-mobile {
  display: none;
}

.hero-video-fallback {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  display: none;
}

@media (max-width: 768px) {
  .hero-video-desktop {
    display: none;
  }
  .hero-video-mobile {
    display: block;
  }
}

.hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  color: white;
  padding: 2rem;
  max-width: 1280px;
  margin: 0 auto;
}

.hero-title {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 2rem;
  line-height: 1.2;
}

.hero-title-line2 {
  display: inline-block;
}

/* Rotating Text Animation */
.hero-rotating-title .rotating-text {
  display: inline-block;
  transition: opacity 0.4s ease-in-out, transform 0.4s ease-in-out;
  opacity: 1;
}

.hero-rotating-title .rotating-text.fade-out {
  opacity: 0;
  transform: translateY(-10px);
}

.hero-rotating-title .rotating-text.fade-in {
  opacity: 1;
  transform: translateY(0);
  animation: fadeInUp 0.4s ease-out;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 2rem;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
}

.hero-feature {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 0.75rem;
  padding: 1.25rem;
  transition: var(--transition);
  min-height: 80px;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.hero-feature:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-3px);
}

.hero-feature-icon {
  flex-shrink: 0;
}

.hero-feature-icon svg {
  color: white;
  stroke: white;
}

.hero-feature-title {
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.3;
  color: white;
}

.hero-text-section {
  margin-bottom: 2rem;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.hero-main-text {
  font-size: 1.5rem;
  font-weight: 500;
  color: white;
  margin-bottom: 1rem;
}

.hero-sub-text {
  font-size: 1.125rem;
  color: white;
  opacity: 0.95;
  margin-bottom: 0;
}

.hero-phone-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.btn-phone {
  padding: 0.875rem 1.75rem;
  border-radius: 0.5rem;
  font-weight: 600;
  font-size: 1rem;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  cursor: pointer;
  background-color: white;
  color: var(--primary-color);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.btn-phone:hover {
  background-color: rgba(255, 255, 255, 0.9);
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

/* YouTube Button Section */
.hero-youtube-section {
  display: flex;
  justify-content: center;
  margin-bottom: 5rem;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.btn-youtube {
  padding: 0.875rem 1.5rem;
  border-radius: 0.5rem;
  font-weight: 600;
  font-size: 0.95rem;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  cursor: pointer;
  background-color: white;
  color: var(--primary-color);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.15);
  width: auto;
  max-width: 600px;
  justify-content: center;
}

.btn-youtube svg {
  flex-shrink: 0;
}

.btn-youtube:hover {
  background-color: rgba(255, 255, 255, 0.9);
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

.hero-cta {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 5rem;
}

.btn {
  padding: 0.875rem 2rem;
  border-radius: 0.5rem;
  font-weight: 600;
  font-size: 1rem;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  cursor: pointer;
  border: none;
}

.btn svg {
  flex-shrink: 0;
}

.btn-primary {
  background-color: white;
  color: var(--primary-color);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.btn-primary:hover {
  background-color: rgba(255, 255, 255, 0.9);
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.btn-secondary {
  background-color: rgba(255, 255, 255, 0.1);
  color: white;
  border: 2px solid white;
}

.btn-secondary:hover {
  background-color: rgba(255, 255, 255, 0.2);
}

/* ===== About Section ===== */
.about-section {
  background-color: var(--bg-light);
}

.about-description {
  max-width: 800px;
  margin: 0 auto 3rem;
  text-align: justify;
  color: var(--text-light);
  font-size: 1.125rem;
  line-height: 1.8;
}

.values-heading {
  text-align: center;
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 2rem;
  margin-top: 2rem;
}

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

.value-item {
  background: white;
  padding: 2rem;
  border-radius: 1rem;
  box-shadow: var(--shadow-lg);
  transition: var(--transition);
  text-align: center;
}

.value-item:hover {
  box-shadow: var(--shadow-xl);
  transform: translateY(-3px);
}

.value-icon-wrapper {
  width: 56px;
  height: 56px;
  margin: 0 auto 1rem;
  background-color: rgba(38, 14, 3, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.value-icon-wrapper svg {
  stroke: var(--primary-color);
}

.value-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: var(--text-dark);
}

.value-description {
  color: var(--text-light);
  line-height: 1.6;
  text-align: justify;
}

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

.team-card {
  background: white;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
}

.team-card:hover {
  box-shadow: var(--shadow-xl);
  transform: translateY(-5px);
}

.team-image {
  width: 100%;
  height: auto;
  aspect-ratio: 5/3;
  object-fit: cover;
  object-position: top center;
}

.team-info {
  padding: 1.5rem;
}

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

.team-description {
  color: var(--text-light);
}

/* ===== News Section ===== */
.news-section {
  background-color: var(--white);
}

.news-card {
  max-width: 800px;
  margin: 0 auto;
  background: white;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.news-header {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
  color: white;
  padding: 2rem;
  text-align: center;
}

.news-header h3 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.news-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.news-body {
  padding: 2rem;
}

.news-benefits {
  list-style: none;
  margin-bottom: 2rem;
}

.news-benefits li {
  display: flex;
  align-items: start;
  gap: 0.75rem;
  margin-bottom: 1rem;
  color: var(--text-dark);
}

.news-benefits svg {
  color: var(--primary-color);
  flex-shrink: 0;
  margin-top: 0.25rem;
}

.btn-facebook {
  width: 100%;
  background-color: var(--primary-color);
  color: white;
  padding: 1rem;
  border-radius: 0.5rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: var(--transition);
}

.btn-facebook:hover {
  background-color: var(--accent-color);
}

/* ===== Services Section ===== */
.services-section {
  background-color: var(--bg-light);
}

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

.service-item {
  background: white;
  padding: 1rem;
  border-radius: 0.75rem;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.service-item:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.service-item:last-child {
  grid-column: span 2;
}

.service-icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

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

.service-text {
  color: var(--text-dark);
  font-weight: 500;
}

/* ===== Forms Section ===== */
.forms-section {
  background-color: var(--white);
}

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

.form-card {
  background: white;
  padding: 1.5rem;
  border-radius: 0.75rem;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  border: 1px solid transparent;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  cursor: pointer;
  position: relative;
  text-decoration: none;
  color: inherit;
}

.form-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
  text-decoration: none;
}

.form-icon-wrapper {
  width: 48px;
  height: 48px;
  background-color: rgba(38, 14, 3, 0.1);
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: var(--transition);
}

.form-card:hover .form-icon-wrapper {
  background-color: rgba(38, 14, 3, 0.2);
}

.form-icon-wrapper svg {
  stroke: var(--primary-color);
}

.form-content {
  flex: 1;
}

.form-title {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
  color: var(--text-dark);
  transition: var(--transition);
}

.form-card:hover .form-title {
  color: var(--primary-color);
}

.form-description {
  color: var(--text-light);
  font-size: 0.875rem;
  line-height: 1.5;
  margin: 0;
}

.form-download-icon {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  stroke: var(--text-light);
  transition: var(--transition);
}

.form-card:hover .form-download-icon {
  stroke: var(--primary-color);
}

.forms-footer-note {
  text-align: center;
  color: var(--text-light);
  font-size: 0.875rem;
  margin-top: 3rem;
}

/* ===== Pricing Section ===== */
.pricing-section {
  background-color: var(--bg-light);
}

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

.pricing-table {
  background: white;
  border-radius: 1rem;
  padding: 2rem;
  box-shadow: var(--shadow-lg);
}

.pricing-table:last-child {
  grid-column: span 2;
}

.pricing-table-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: var(--primary-color);
  text-align: center;
}

.pricing-table table {
  width: 100%;
  border-collapse: collapse;
}

.pricing-table th,
.pricing-table td {
  padding: 0.75rem;
  text-align: left;
  border-bottom: 1px solid var(--border-color);
}

.pricing-table th {
  background-color: var(--bg-light);
  font-weight: 600;
  color: var(--primary-color);
}

.pricing-table td:last-child {
  text-align: right;
  font-weight: 600;
  color: var(--primary-color);
}

.pricing-examples {
  background: white;
  border-radius: 1rem;
  padding: 2rem;
  box-shadow: var(--shadow-md);
}

.pricing-examples h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: var(--primary-color);
  text-align: center;
}

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

.example-item {
  padding: 1.5rem;
  background-color: var(--bg-light);
  border-radius: 0.75rem;
  border-left: 4px solid var(--primary-color);
}

.example-title {
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: var(--primary-color);
}

.example-details {
  color: var(--text-light);
  margin-bottom: 1rem;
  line-height: 1.6;
}

.example-total {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary-color);
}

/* ===== Contact Section ===== */
.contact-section {
  background-color: var(--white);
}

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

.contact-form {
  background: white;
  padding: 1.5rem;
  border-radius: 1rem;
  box-shadow: var(--shadow-lg);
}

.contact-form h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: var(--text-dark);
}

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

.form-label {
  display: block;
  margin-bottom: 0.25rem;
  font-weight: 600;
  color: var(--text-dark);
  font-size: 0.875rem;
}

.form-input,
.form-textarea {
  width: 100%;
  padding: 0.625rem 0.75rem;
  border: 1px solid var(--border-color);
  border-radius: 0.5rem;
  font-family: inherit;
  font-size: 0.875rem;
  transition: var(--transition);
}

.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(38, 14, 3, 0.1);
}

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

.btn-submit {
  width: 100%;
  background-color: var(--primary-color);
  color: white;
  padding: 0.875rem 1rem;
  border-radius: 0.5rem;
  font-weight: 600;
  font-size: 1rem;
  transition: var(--transition);
}

.btn-submit:hover {
  background-color: var(--accent-color);
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.office-card {
  background: white;
  padding: 1.5rem;
  border-radius: 1rem;
  box-shadow: var(--shadow-md);
}

.office-hours-card {
  background: rgba(38, 14, 3, 0.05);
  padding: 1.5rem;
  border-radius: 1rem;
  border: 1px solid rgba(38, 14, 3, 0.2);
}

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

.office-detail {
  display: flex;
  align-items: start;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.office-detail:last-child {
  margin-bottom: 0;
}

.office-icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 0.125rem;
}

.office-icon svg {
  stroke: var(--primary-color);
}

.office-text {
  color: var(--text-dark);
  line-height: 1.6;
  font-size: 0.9375rem;
}

.office-text a {
  color: var(--text-dark);
  font-weight: 500;
  transition: var(--transition);
}

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

.office-text strong {
  font-weight: 600;
  color: var(--text-dark);
}

/* ===== Footer ===== */
.site-footer {
  background-color: var(--primary-color);
  color: white;
  padding: 3rem 0 1.5rem;
}

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

.footer-section h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.footer-section p,
.footer-section a {
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.8;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-links a:hover {
  color: white;
  text-decoration: underline;
}

.social-links {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.social-link {
  width: 40px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.social-link:hover {
  background-color: var(--accent-color);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1.5rem;
  text-align: center;
  color: rgba(255, 255, 255, 0.7);
}

/* ===== Responsive Design ===== */
@media (max-width: 1024px) {
  /* Hero features - 2 columns on tablet, 3 rows */
  .hero-features {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .about-values {
    grid-template-columns: repeat(2, 1fr);
  }
  
  /* Forms - 2 columns on tablet */
  .forms-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .pricing-tables {
    grid-template-columns: 1fr;
  }
  
  .pricing-table:last-child {
    grid-column: span 1;
  }
}

@media (max-width: 768px) {
  .mobile-menu-toggle {
    display: flex;
  }
  
  .main-nav {
    display: none;
  }
  
  .main-nav.active {
    display: block;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    box-shadow: var(--shadow-md);
    padding: 1rem;
  }
  
  .main-nav.active ul {
    flex-direction: column;
    gap: 0;
  }
  
  .main-nav.active a {
    display: block;
    padding: 1rem;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-dark) !important;
  }
  
  .hero-section {
    padding-top: 100px;
    background-attachment: scroll;
    min-height: 100vh;
  }
  
  .hero-title {
    font-size: 1.75rem;
    padding-top: 1rem;
  }
  
  .hero-main-text {
    font-size: 1.125rem;
  }
  
  .hero-sub-text {
    font-size: 1rem;
  }
  
  .hero-features {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
  
  .hero-phone-buttons {
    flex-direction: row;
    margin-bottom: 1.5rem;
    gap: 0.5rem;
  }
  
  .btn-phone {
    flex: 1;
    min-width: 0;
    padding: 0.625rem 0.25rem;
    font-size: 0.75rem;
    white-space: nowrap;
  }
  
  .btn-phone svg {
    width: 16px;
    height: 16px;
  }
  
  .hero-youtube-section {
    margin-bottom: 2rem;
    padding: 0 1rem;
  }
  
  .btn-youtube {
    font-size: 0.8rem;
    padding: 0.75rem 1rem;
    width: 100%;
    max-width: 100%;
  }
  
  .about-values,
  .about-team {
    grid-template-columns: 1fr;
  }
  
  .services-grid {
    grid-template-columns: 1fr;
  }
  
  .service-item:last-child {
    grid-column: span 1;
  }
  
  .forms-grid {
    grid-template-columns: 1fr;
  }
  
  .examples-grid {
    grid-template-columns: 1fr;
  }
  
  .contact-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .section {
    padding: 3rem 0;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .container {
    padding: 0 1rem;
  }
  
  /* Pricing tables - prevent overflow */
  .pricing-table {
    overflow-x: auto;
    width: 100%;
  }
  
  .pricing-items {
    min-width: 100%;
  }
  
  .pricing-item {
    font-size: 0.875rem;
  }
  
  /* Specific fixes for Kadry i Płace table */
  .pricing-table table {
    font-size: 0.75rem;
  }
  
  .pricing-table th,
  .pricing-table td {
    padding: 0.5rem 0.25rem;
    white-space: normal;
    word-wrap: break-word;
  }
  
  .pricing-table th {
    font-size: 0.7rem;
    line-height: 1.2;
  }
  
  .pricing-table td {
    font-size: 0.75rem;
  }
}

/* ===== Utility Classes ===== */
.text-center {
  text-align: center;
}

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }

.hidden {
  display: none;
}

.fade-in {
  animation: fadeIn 0.6s ease-in;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
/* News Section Updates (v1.0.8) */
.news-description {
  text-align: center;
  font-size: 1.125rem;
  color: #374151;
  margin-bottom: 2rem;
}

.news-benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.news-benefit-item {
  background-color: #f9fafb;
  border-radius: 0.5rem;
  padding: 1.5rem;
  text-align: center;
}

.benefit-emoji {
  font-size: 2rem;
  font-weight: bold;
  color: #260E03;
  margin-bottom: 0.5rem;
}

.benefit-title {
  font-weight: 600;
  color: #111827;
  margin-bottom: 0.25rem;
  font-size: 1rem;
}

.benefit-text {
  font-size: 0.875rem;
  color: #6b7280;
}

.news-footer-text {
  margin-top: 1.5rem;
  font-size: 0.875rem;
  color: #6b7280;
  text-align: center;
}

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

/* Services Section Updates (v1.0.8) */
.app-login-section {
  margin-top: 4rem;
  text-align: center;
  background: rgba(38, 14, 3, 0.05);
  border-radius: 0.5rem;
  padding: 2rem;
  border: 1px solid rgba(38, 14, 3, 0.2);
}

.app-login-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 1rem;
}

.app-login-description {
  color: #6b7280;
  margin-bottom: 1.5rem;
  font-size: 1rem;
}

.btn-app-login {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 2rem;
  background-color: #260E03;
  color: white;
  font-weight: 500;
  border-radius: 0.375rem;
  text-decoration: none;
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.btn-app-login:hover {
  background-color: #4a3420;
  box-shadow: 0 6px 8px rgba(0, 0, 0, 0.15);
  color: white;
}

/* Forms Section Updates (v1.0.8) */
.form-download-icon {
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: #9ca3af;
  transition: color 0.3s ease;
}

.form-card {
  position: relative;
}

.form-card:hover .form-download-icon {
  color: #260E03;
}

.forms-footer-note {
  margin-top: 3rem;
  text-align: center;
  font-size: 0.875rem;
  color: #6b7280;
}

/* Pricing Section Updates (v1.0.8) */
.section-note {
  text-align: center;
  font-size: 0.875rem;
  color: #6b7280;
  margin-bottom: 2rem;
}

.pricing-table-subtitle {
  text-align: center;
  font-size: 0.875rem;
  color: #6b7280;
  margin-bottom: 1rem;
}

.pricing-value {
  font-weight: 700;
  color: #260E03;
}

.multi-price-row .multi-price-item {
  padding: 1rem;
}

.multi-price-title {
  font-size: 0.875rem;
  color: #374151;
  margin-bottom: 0.75rem;
  font-weight: 500;
}

.multi-price-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  font-size: 0.75rem;
}

.multi-price-col {
  text-align: center;
}

.multi-price-label {
  color: #6b7280;
  margin-bottom: 0.25rem;
}

.multi-price-value {
  font-weight: 700;
  color: #260E03;
}

.pricing-footer-note {
  margin-top: 3rem;
  text-align: center;
  font-size: 0.875rem;
  color: #6b7280;
}

.highlight-text {
  font-weight: 500;
  color: #260E03;
}

/* Mobile: Keep 3 columns side-by-side for Płace/Kadry/Kadry i Płace */
@media (max-width: 768px) {
  .multi-price-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
    font-size: 0.7rem;
  }
  
  .multi-price-label {
    font-size: 0.65rem;
  }
  
  .multi-price-value {
    font-size: 0.75rem;
  }
}

/* Contact Section Updates (v1.0.8) */
.office-hours-card {
  background-color: rgba(38, 14, 3, 0.05);
  border-radius: 0.5rem;
  padding: 1.5rem;
  border: 1px solid rgba(38, 14, 3, 0.2);
}

.office-hours-card .office-text strong {
  font-weight: 700;
  color: #111827;
  margin-bottom: 0.5rem;
  display: block;
}

/* News Section Updates (v1.0.8) */
.news-description {
  text-align: center;
  font-size: 1.125rem;
  color: #374151;
  margin-bottom: 2rem;
}

.news-benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.news-benefit-item {
  background-color: #f9fafb;
  border-radius: 0.5rem;
  padding: 1.5rem;
  text-align: center;
}

.benefit-emoji {
  font-size: 2rem;
  font-weight: bold;
  color: #260E03;
  margin-bottom: 0.5rem;
}

.benefit-title {
  font-weight: 600;
  color: #111827;
  margin-bottom: 0.25rem;
  font-size: 1rem;
}

.benefit-text {
  font-size: 0.875rem;
  color: #6b7280;
}

.news-footer-text {
  margin-top: 1.5rem;
  font-size: 0.875rem;
  color: #6b7280;
  text-align: center;
}

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

/* Services Section Updates (v1.0.8) */
.app-login-section {
  margin-top: 4rem;
  text-align: center;
  background: rgba(38, 14, 3, 0.05);
  border-radius: 0.5rem;
  padding: 2rem;
  border: 1px solid rgba(38, 14, 3, 0.2);
}

.app-login-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 1rem;
}

.app-login-description {
  color: #6b7280;
  margin-bottom: 1.5rem;
  font-size: 1rem;
}

.btn-app-login {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 2rem;
  background-color: #260E03;
  color: white;
  font-weight: 500;
  border-radius: 0.375rem;
  text-decoration: none;
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.btn-app-login:hover {
  background-color: #4a3420;
  box-shadow: 0 6px 8px rgba(0, 0, 0, 0.15);
  color: white;
}

/* Forms Section Updates (v1.0.8) */
.form-download-icon {
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: #9ca3af;
  transition: color 0.3s ease;
}

.form-card {
  position: relative;
}

.form-card:hover .form-download-icon {
  color: #260E03;
}

.forms-footer-note {
  margin-top: 3rem;
  text-align: center;
  font-size: 0.875rem;
  color: #6b7280;
}

/* Pricing Section Updates (v1.0.8) */
.section-note {
  text-align: center;
  font-size: 0.875rem;
  color: #6b7280;
  margin-bottom: 2rem;
}

.pricing-table-subtitle {
  text-align: center;
  font-size: 0.875rem;
  color: #6b7280;
  margin-bottom: 1rem;
}

.pricing-value {
  font-weight: 700;
  color: #260E03;
}

.multi-price-row .multi-price-item {
  padding: 1rem;
}

.multi-price-title {
  font-size: 0.875rem;
  color: #374151;
  margin-bottom: 0.75rem;
  font-weight: 500;
}

.multi-price-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  font-size: 0.75rem;
}

.multi-price-col {
  text-align: center;
}

.multi-price-label {
  color: #6b7280;
  margin-bottom: 0.25rem;
}

.multi-price-value {
  font-weight: 700;
  color: #260E03;
}

.pricing-footer-note {
  margin-top: 3rem;
  text-align: center;
  font-size: 0.875rem;
  color: #6b7280;
}

.highlight-text {
  font-weight: 500;
  color: #260E03;
}

/* Mobile: Keep 3 columns side-by-side for Płace/Kadry/Kadry i Płace */
@media (max-width: 768px) {
  .multi-price-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
    font-size: 0.7rem;
  }
  
  .multi-price-label {
    font-size: 0.65rem;
  }
  
  .multi-price-value {
    font-size: 0.75rem;
  }
}

/* Contact Section Updates (v1.0.8) */
.office-hours-card {
  background-color: rgba(38, 14, 3, 0.05);
  border-radius: 0.5rem;
  padding: 1.5rem;
  border: 1px solid rgba(38, 14, 3, 0.2);
}

.office-hours-card .office-text strong {
  font-weight: 700;
  color: #111827;
  margin-bottom: 0.5rem;
  display: block;
}


/* ===== Version 1.0.21 - New Sections ===== */

/* Since 1999 Badge - Hero */
.hero-since-badge {
  display: inline-block;
  background: linear-gradient(135deg, rgba(38, 14, 3, 0.9), rgba(74, 52, 32, 0.9));
  padding: 0.75rem 2rem;
  border-radius: 50px;
  margin: 1.5rem 0;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  animation: pulse-glow 2s ease-in-out infinite;
}

.hero-since-badge .since-text {
  color: #fff;
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3); }
  50% { box-shadow: 0 4px 25px rgba(38, 14, 3, 0.5); }
}

/* Since 1999 Badge - Footer */
.footer-since-badge {
  margin-top: 1rem;
  padding: 0.5rem 1rem;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  display: inline-block;
}

.footer-since-badge .since-text {
  font-weight: 600;
  color: #d4a574;
  font-size: 0.9rem;
}

/* Pricing Regulation Text */
.pricing-regulation-text {
  font-size: 1.1rem !important;
  font-weight: 500;
  color: var(--text-dark);
  margin-top: 2rem;
}

.regulation-link {
  color: var(--primary-color);
  text-decoration: underline;
  font-weight: 600;
  transition: var(--transition);
}

.regulation-link:hover {
  color: var(--accent-color);
  text-decoration: none;
}

/* ===== Mobile App Section ===== */
.mobile-app-section {
  background: linear-gradient(135deg, #f8f4f0 0%, #fff 100%);
}

.mobile-app-content {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 4rem;
  align-items: center;
}

.mobile-app-description {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--text-dark);
  margin-bottom: 2rem;
}

.mobile-app-features {
  display: grid;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.app-feature {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1rem;
  background: white;
  border-radius: 0.75rem;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.app-feature:hover {
  box-shadow: var(--shadow-md);
  transform: translateX(5px);
}

.app-feature-icon {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.app-feature-icon svg {
  stroke: white;
}

.app-feature-content h4 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 0.25rem;
}

.app-feature-content p {
  font-size: 0.875rem;
  color: var(--text-light);
  margin: 0;
}

.mobile-app-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 2rem;
  background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
  color: white;
  border-radius: 50px;
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition);
}

.mobile-app-btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

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

/* Vertically centered single image layout */
.mobile-app-images-centered {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100%;
}

.mobile-app-images-centered .app-image-item {
  max-width: 100%;
}

.mobile-app-images-centered .app-image-item img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: var(--shadow-lg);
}

.app-image-item {
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
}

.app-image-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-xl);
}

.app-image-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.app-image-featured {
  grid-column: span 2;
}

/* ===== Certificates Section (Infinite Carousel) ===== */
.certificates-section {
  background-color: var(--white);
  padding: 5rem 0;
}

.certificates-carousel-wrapper {
  position: relative;
  margin: 2rem 0;
  overflow: hidden;
}

/* Infinite scroll version - no arrows, no dots */
.certificates-carousel-wrapper.certificates-infinite {
  display: block;
}

.certificates-carousel {
  overflow: hidden;
  width: 100%;
}

.certificates-track {
  display: flex;
  gap: 1.5rem;
  /* Removed transition for smooth infinite scroll */
}

.certificates-infinite .certificates-track {
  transition: none;
  will-change: transform;
}

.certificate-item {
  flex: 0 0 calc(25% - 1.125rem);
  min-width: calc(25% - 1.125rem);
  text-align: center;
}

.certificate-image {
  background: white;
  border-radius: 0.75rem;
  padding: 1rem;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  aspect-ratio: 3/4;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.certificate-image:hover {
  box-shadow: var(--shadow-xl);
  transform: scale(1.02);
}

.certificate-image img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.certificate-title {
  margin-top: 0.75rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-light);
}

/* Certificate Lightbox Link */
.certificate-lightbox {
  display: block;
  text-decoration: none;
  cursor: pointer;
}

.certificate-zoom-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 48px;
  height: 48px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  color: var(--primary-color);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.certificate-lightbox:hover .certificate-zoom-icon {
  opacity: 1;
}

.certificate-image {
  position: relative;
}

/* GLightbox customizations */
.gslide-title {
  font-family: var(--font-main) !important;
  font-size: 1rem !important;
  color: #fff !important;
}

.glightbox-clean .gclose,
.glightbox-clean .gnext,
.glightbox-clean .gprev {
  background: rgba(255, 255, 255, 0.1) !important;
}

/* Hide arrows and dots for infinite carousel */
.certificates-infinite .carousel-btn,
.certificates-infinite .carousel-dots {
  display: none !important;
}

/* Legacy carousel buttons (for non-infinite version) */
.carousel-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--primary-color);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  flex-shrink: 0;
}

.carousel-btn:hover {
  background: var(--accent-color);
  transform: scale(1.1);
}

.carousel-btn svg {
  stroke: white;
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1.5rem;
}

.carousel-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--border-color);
  border: none;
  cursor: pointer;
  transition: var(--transition);
}

.carousel-dot.active {
  background: var(--primary-color);
  transform: scale(1.2);
}

/* ===== Partners Section ===== */
.partners-section {
  background-color: var(--bg-light);
  padding: 4rem 0;
}

.partners-title {
  font-size: 2.5rem;
  font-weight: 300;
  color: var(--text-dark);
  margin-bottom: 3rem;
}

.title-dot {
  color: var(--primary-color);
}

.partners-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 3rem;
}

.partner-item {
  flex: 0 0 auto;
  transition: var(--transition);
}

.partner-item:hover {
  transform: scale(1.1);
}

.partner-logo {
  max-height: 60px;
  width: auto;
  filter: grayscale(100%);
  opacity: 0.7;
  transition: var(--transition);
}

.partner-item:hover .partner-logo,
.partner-link:hover .partner-logo {
  filter: grayscale(0%);
  opacity: 1;
}

/* ===== Responsive for New Sections ===== */
@media (max-width: 992px) {
  .mobile-app-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .mobile-app-images {
    order: -1;
    grid-template-columns: repeat(3, 1fr);
  }
  
  .app-image-featured {
    grid-column: span 1;
  }
  
  .certificate-item {
    flex: 0 0 calc(33.333% - 1rem);
    min-width: calc(33.333% - 1rem);
  }
}

@media (max-width: 768px) {
  .hero-since-badge {
    padding: 0.5rem 1.5rem;
  }
  
  .hero-since-badge .since-text {
    font-size: 0.9rem;
  }
  
  .mobile-app-images {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .certificate-item {
    flex: 0 0 calc(50% - 0.75rem);
    min-width: calc(50% - 0.75rem);
  }
  
  .carousel-btn {
    width: 40px;
    height: 40px;
  }
  
  .partners-grid {
    gap: 2rem;
  }
  
  .partner-logo {
    max-height: 45px;
  }
}

@media (max-width: 480px) {
  .mobile-app-features {
    gap: 1rem;
  }
  
  .app-feature {
    padding: 0.75rem;
  }
  
  .app-feature-icon {
    width: 44px;
    height: 44px;
  }
  
  .certificate-item {
    flex: 0 0 100%;
    min-width: 100%;
  }
  
  .carousel-btn {
    display: none;
  }
  
  .certificates-track {
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
  }
  
  .certificate-item {
    scroll-snap-align: center;
  }
}



/* ===== FIX: Hero Features - Small Mobile Screens (v1.0.25) ===== */
/* Poprawka dla kafelków hero na mniejszych telefonach */

/* Podstawowe zabezpieczenie - zawsze mieść się w ekranie */
.hero-features {
  max-width: 100%;
  width: 100%;
  box-sizing: border-box;
}

.hero-feature {
  box-sizing: border-box;
  overflow: hidden;
  word-wrap: break-word;
}

/* Mniejsze telefony (< 480px) */
@media (max-width: 480px) {
  .hero-features {
    gap: 0.75rem;
    padding: 0 0.25rem;
  }
  
  .hero-feature {
    padding: 0.875rem 0.625rem;
    min-height: 70px;
    gap: 0.5rem;
  }
  
  .hero-feature-title {
    font-size: 0.75rem;
    line-height: 1.2;
  }
  
  .hero-feature-icon svg {
    width: 22px;
    height: 22px;
  }
}

/* Wąskie telefony (< 400px) */
@media (max-width: 400px) {
  .hero-features {
    gap: 0.5rem;
    padding: 0;
  }
  
  .hero-feature {
    padding: 0.75rem 0.5rem;
    min-height: 65px;
    gap: 0.4rem;
  }
  
  .hero-feature-title {
    font-size: 0.7rem;
  }
  
  .hero-feature-icon svg {
    width: 20px;
    height: 20px;
  }
  
  .hero-content {
    padding: 1.5rem 0.75rem;
  }
}

/* Najwęższe telefony (< 360px) */
@media (max-width: 360px) {
  .hero-features {
    gap: 0.4rem;
  }
  
  .hero-feature {
    padding: 0.625rem 0.375rem;
    min-height: 60px;
    gap: 0.35rem;
  }
  
  .hero-feature-title {
    font-size: 0.65rem;
  }
  
  .hero-feature-icon svg {
    width: 18px;
    height: 18px;
  }
  
  .hero-content {
    padding: 1rem 0.5rem;
  }
}



/* ===== Testimonials Section - Google Reviews ===== */
.testimonials-section {
  background: linear-gradient(135deg, #f8f5f2 0%, #f0ebe5 100%);
  padding: 5rem 0;
}

.testimonials-section .section-title {
  color: var(--primary-color);
  text-align: center;
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  letter-spacing: 2px;
}

.testimonials-section .section-subtitle {
  text-align: center;
  color: var(--text-light);
  font-size: 1.1rem;
  margin-bottom: 2rem;
}

/* Google Rating Summary */
.google-rating-summary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 3rem;
  padding: 1rem 2rem;
  background: white;
  border-radius: 12px;
  box-shadow: var(--shadow-md);
  max-width: 350px;
  margin-left: auto;
  margin-right: auto;
}

.google-rating-summary .google-logo {
  flex-shrink: 0;
}

.rating-info {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.rating-score {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--primary-color);
}

.rating-stars {
  display: flex;
  gap: 2px;
}

.rating-count {
  font-size: 0.9rem;
  color: var(--text-light);
}

/* Carousel Wrapper */
.testimonials-carousel-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  gap: 1rem;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Navigation Buttons */
.testimonials-nav {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--primary-color);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  box-shadow: var(--shadow-md);
  z-index: 10;
}

.testimonials-nav:hover {
  background: var(--accent-color);
  transform: scale(1.1);
}

.testimonials-nav:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* Carousel Container */
.testimonials-carousel {
  flex: 1;
  overflow: hidden;
  border-radius: 16px;
}

.testimonials-track {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  gap: 1.5rem;
}

/* Testimonial Card */
.testimonial-card {
  flex: 0 0 calc(33.333% - 1rem);
  min-width: calc(33.333% - 1rem);
  background: white;
  border-radius: 16px;
  padding: 1.5rem;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
}

.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.testimonial-header {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1rem;
  position: relative;
}

.reviewer-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.reviewer-info {
  flex: 1;
  min-width: 0;
}

.reviewer-name {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 0.25rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.review-meta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

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

.review-date {
  font-size: 0.8rem;
  color: var(--text-light);
}

.google-icon {
  position: absolute;
  top: 0;
  right: 0;
  flex-shrink: 0;
}

.testimonial-text {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--text-dark);
  display: -webkit-box;
  -webkit-line-clamp: 5;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Carousel Dots */
.testimonials-dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 2rem;
}

.testimonials-dots .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #d1c4ba;
  border: none;
  cursor: pointer;
  transition: var(--transition);
}

.testimonials-dots .dot:hover {
  background: var(--accent-color);
}

.testimonials-dots .dot.active {
  background: var(--primary-color);
  transform: scale(1.2);
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .testimonial-card {
    flex: 0 0 calc(50% - 0.75rem);
    min-width: calc(50% - 0.75rem);
  }
}

@media (max-width: 768px) {
  .testimonials-section {
    padding: 3rem 0;
  }
  
  .testimonials-section .section-title {
    font-size: 1.75rem;
  }
  
  .testimonials-carousel-wrapper {
    padding: 0 0.5rem;
  }
  
  .testimonials-nav {
    width: 40px;
    height: 40px;
  }
  
  .testimonial-card {
    flex: 0 0 100%;
    min-width: 100%;
    padding: 1.25rem;
  }
  
  .google-rating-summary {
    padding: 0.75rem 1.25rem;
    gap: 0.75rem;
  }
  
  .rating-score {
    font-size: 1.5rem;
  }
}

@media (max-width: 480px) {
  .testimonials-nav {
    width: 36px;
    height: 36px;
  }
  
  .testimonials-nav svg {
    width: 20px;
    height: 20px;
  }
  
  .reviewer-avatar {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }
  
  .reviewer-name {
    font-size: 0.9rem;
  }
  
  .testimonial-text {
    font-size: 0.9rem;
  }
  
  .rating-info {
    flex-wrap: wrap;
    gap: 0.5rem;
  }
}



/* ========================================
   Rate Us Button - Testimonials Section
   ======================================== */
.rate-us-section {
    text-align: center;
    margin-top: 2.5rem;
    padding-top: 1.5rem;
}

.btn-rate-us {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, #3d2517 0%, #5a3a29 100%);
    color: #fff;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(61, 37, 23, 0.3);
}

.btn-rate-us:hover {
    background: linear-gradient(135deg, #5a3a29 0%, #6d4a36 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(61, 37, 23, 0.4);
    color: #fff;
}

.btn-rate-us .google-icon-btn {
    flex-shrink: 0;
}

/* ========================================
   Consultation Module Styles
   ======================================== */
.consultation-module {
    background: linear-gradient(135deg, #f5f5f5 0%, #e8e8e8 100%);
}

.btn-consultation {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-consultation .consultation-icon {
    flex-shrink: 0;
}

/* Smooth scroll behavior for consultation button */
.btn-consultation {
    scroll-behavior: smooth;
}

/* ========================================
   Responsive Styles for New Elements
   ======================================== */
@media (max-width: 768px) {
    .rate-us-section {
        margin-top: 2rem;
        padding-top: 1rem;
    }
    
    .btn-rate-us {
        padding: 0.875rem 1.5rem;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .btn-rate-us {
        padding: 0.75rem 1.25rem;
        font-size: 0.95rem;
        gap: 0.5rem;
    }
    
    .btn-rate-us .google-icon-btn {
        width: 20px;
        height: 20px;
    }
}
