body {
  margin: 0;
  font-family: 'Segoe UI', sans-serif;
}

#fake-cursor {
    background-image: url('images/strzykawka-pusta.png');
    background-size: contain;
    background-repeat: no-repeat;
    position: fixed;
    z-index: 9999;
    pointer-events: none;
    display: none; 
}

#fake-cursor .liquid {
    background-color: red;
    position: absolute;
    transform-origin: bottom center;
    transition: height 0.3s ease;
    height: 0;
}

@media (pointer: fine) {
    * {
        cursor: none !important;
    }

    #fake-cursor {
        display: block;
        width: 48px;
        height: 48px;
        transform: translate(-5px, -2px);
    }

    #fake-cursor .liquid {
        width: 4.95px;
        bottom: 32.95px;
        left: 15.45px;
        transform: rotate(135deg);
    }

    #fake-cursor.filling .liquid {
        height: 15.6px;
    }
}

@media (pointer: coarse), (hover: none) {
    #fake-cursor {
        display: block;
        width: 40px;
        height: 40px;
        transform: translate(-20px, -35px);
        opacity: 0;
        transition: opacity 0.15s ease;
    }

    #fake-cursor.visible {
        opacity: 1;
    }

    #fake-cursor .liquid {
        width: 4.13px;
        bottom: 27.46px;
        left: 12.87px;
        transform: rotate(135deg);
    }

    #fake-cursor.filling .liquid {
        height: 13px;
    }
}

html {
    scroll-behavior: auto;
}

.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: #ece7e0;   
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 50px;          
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.logo img {
  height: 80px;               
  object-fit: contain;
}

.logo {
  display: flex;
  align-items: center;
}

.nav-links {
  display: flex;
  gap: 35px;
  align-items: center;
}

.nav-links a {
  color: #174969;              
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
  font-size: 1rem;
}

.nav-links a:hover {
  color: #F09211;             
}

.cta-button {
  display: inline-flex;         
  align-items: center;          
  justify-content: center;      
  background-color: #F09211;
  color: #fff;
  border: none;
  padding: 10px 22px;
  border-radius: 6px;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s ease;
  font-size: 0.95rem;
  line-height: 1.2;
}

.cta-button:hover {
  background-color: #d27b00;
}

.cta-button span {
  margin-right: 6px;
  display: flex;                
  align-items: center;          
}

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 25px;
  height: 18px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

.hamburger span {
  display: block;
  height: 3px;
  width: 100%;
  background: #174969;
  border-radius: 2px;
  transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.hamburger.active span:nth-child(2) {
  opacity: 0;
}
.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;      
    right: 20px;
    background: #ece7e0;
    padding: 15px 20px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
    gap: 15px;
  }

  .nav-links.active {
    display: flex;
  }

  .nav-links a {
    padding: 10px 0;
  }
}

@media (max-width: 768px) {
  .navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 30px;
  }

  .logo img {
    height: 110px;
  }

  .hamburger i {
    font-size: 28px;   
    color: #174969;
  }

  .hamburger {
    background: none;
    border: none;
    padding: 10px;
    margin-top: -16px; 
    display: flex;
    align-items: center; 
  }
}

.hero {
  position: relative;
  padding: 70px clamp(32px, 6vw, 90px);
  padding-bottom: 20px;
  background-color: #f9f9f9;
  overflow: hidden;
}

.hero-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 50px;
  position: relative;
  z-index: 2;
  max-width: 1400px;
  width: 100%;
  margin: 0 auto;
  transform: translateY(-10px);
  min-height: 520px;
}

.hero-text {
  flex: 1 1 50%;
  max-width: 520px;
}

.hero-text h1 {
  font-size: 36px;
  color: rgb(27, 68, 156);
  margin-bottom: 20px;
  line-height: 1.3;
}

.hero-text p {
  font-size: 18px;
  color: #333;
  margin-bottom: 30px;
  max-width: 600px;
}

.hero-chart-wrapper {
  flex: 1 1 55%;
  max-width: none;
  min-width: 520px;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: stretch;
}

#hero-chart {
  width: 100%;
  height: 480px;
  max-width: 100%;
}

.floating-shape {
  position: absolute;
  top: 0;
  left: 0;
  width: 200px;
  height: 600px;
  background: linear-gradient(to bottom, #174969, #236F9E);
  opacity: 0.85;
  z-index: 0;
  clip-path: path("M0,0 C150,150 150,450 0,600 C200,700 100,1000 0,1200 L0,0 Z");
  transition: transform 0.3s ease;
}

@media (min-width: 993px) {
  .hero-content {
    padding-left: 60px;
  }
}

@media (max-width: 992px) {
  .hero {
    padding: 60px 8%;
  }

  .hero-content {
    flex-direction: column;
    text-align: center;
    gap: 30px;
  }

  .hero-text {
    width: 100%;
    margin-bottom: 15px;
  }

  .hero-text h1 {
    font-size: 28px;
  }

  .hero-text p {
    font-size: 16px;
    margin-bottom: 20px;
  }

  .cta-button {
    margin: 0 auto;
    display: inline-flex;
  }

  /* ✅ Wykres pod tekstem, pełna szerokość */
  .hero-chart-wrapper {
    width: 100%;
    max-width: 100%;
    padding: 0 20px;
    box-sizing: border-box;
  }

  #hero-chart {
    height: 300px;
    width: 100%;
  }

  .floating-shape {
    display: none;
  }
}

@media (max-width: 768px) {
  .hero {
    padding: 40px 20px;
  }

  .hero-chart-wrapper {
    width: 100%;
    max-width: calc(100vw - 40px);
    padding: 0;
    overflow: hidden;
  }

  #hero-chart {
    height: 250px; 
    width: 100%;
    position: relative;
  }
  
  .hero-chart-wrapper::after {
    content: '📊 Przeciągnij palcem';
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(35, 111, 158, 0.9);
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 11px;
    pointer-events: none;
    opacity: 0;
    animation: fadeInOut 3s ease-in-out 1s;
  }
  

  .floating-shape {
    display: none;
  }
}

@media (max-width: 576px) {
  #hero-chart {
    height: 250px;
  }
}

.section-header h2 {
  font-size: 32px;
  color: #236F9E;
  margin-bottom: 10px;
  text-align: center;
}

.section-header p {
  font-size: 18px;
  color: #444;
  margin-bottom: 40px;
  text-align: center;
}

.dla-kogo {
  padding: 80px 40px;
  background-color: #ffffff;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 1fr;                  
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

@media (max-width: 900px) {
  .card-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .card-grid {
    grid-template-columns: 1fr;
  }
}

.card {
  background-color: #f8f8f8;
  padding: 30px 20px;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.icon {
  font-size: 40px;
  margin-bottom: 15px;
}

.card h3 {
  font-size: 20px;
  color: #236F9E;
  margin-bottom: 10px;
}

.card p {
  font-size: 15px;
  color: #555;
}

.uslugi {
  padding: 80px 40px;
  background-color: #f9f9f9;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 1fr;                  
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

@media (max-width: 900px) {
  .service-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .service-grid {
    grid-template-columns: 1fr;
  }
}

.service-card {
  background-color: #ffffff;
  padding: 30px 20px;
  border-left: 6px solid #236F9E;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  text-align: left;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.service-card h3 {
  color: #236F9E;
  font-size: 20px;
  margin-bottom: 10px;
}

.service-card p {
  color: #444;
  font-size: 15px;
}

.workflow-image {
  background-color: #ffffff;
  padding: 60px 20px;
  text-align: center;
  overflow-x: hidden; 
}

.workflow-image .section-header {
  margin-bottom: 30px;
}

.image-wrapper {
  position: relative;
  display: inline-block;
  max-width: 100%;
}

.workflow-image img {
  max-width: 100%;      
  height: auto;
  margin: 0 auto;
  display: block;
  background: #fff;
  padding: 20px;
  border-radius: 16px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.12);
}

.mobile-zoom-hint {
  display: none;
}

.lightbox {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.95);
  z-index: 9999;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.lightbox.active {
  display: flex;
  opacity: 1;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

.lightbox-controls {
  position: fixed;
  top: 15px;
  right: 15px;
  display: flex;
  gap: 10px;
  z-index: 10001;
}

.lightbox-zoom,
.lightbox-close {
  background-color: rgba(255, 255, 255, 0.95);
  border: none;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

.lightbox-zoom:active,
.lightbox-close:active {
  transform: scale(0.95);
}

.lightbox-zoom svg,
.lightbox-close svg {
  color: #333;
}

.lightbox-content {
  position: relative;
  width: 100%;
  height: 85%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  touch-action: none;
}

.lightbox-content img {
  max-width: 95%;
  max-height: 95%;
  display: block;
  transition: transform 0.1s ease-out;
  transform-origin: center center;
}

.lightbox-hint {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background-color: rgba(255, 255, 255, 0.9);
  color: #333;
  padding: 10px 20px;
  border-radius: 20px;
  font-size: 13px;
  z-index: 10000;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

@media (max-width: 768px) {
  .workflow-image {
    padding: 40px 10px;     
  }

  .workflow-image img {
    padding: 10px;          
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    cursor: pointer;
    transition: transform 0.2s ease;
  }

  .workflow-image img:active {
    transform: scale(0.98);
  }

  .mobile-zoom-hint {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 15px;
    color: #236F9E;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer
  }

  .mobile-zoom-hint svg {
    width: 20px;
    height: 20px;
    color: #236F9E;
  }

  .lightbox-controls {
    top: 10px;
    right: 10px;
    gap: 8px;
  }

  .lightbox-zoom,
  .lightbox-close {
    width: 44px;
    height: 44px;
  }

  .lightbox-zoom svg {
    width: 20px;
    height: 20px;
  }

  .lightbox-hint {
    bottom: 15px;
    font-size: 12px;
    padding: 8px 16px;
  }
}

@media (max-width: 480px) {
  .lightbox-controls {
    flex-wrap: wrap;
    width: auto;
  }

  .lightbox-zoom,
  .lightbox-close {
    width: 40px;
    height: 40px;
  }
}

.opinie {
  padding: 80px 40px;
  background-color: #f9f9f9;
}

.opinie-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  max-width: 1100px;
  margin: 0 auto;
}

.opinia-card {
  background-color: white;
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  position: relative;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  min-height: 220px;
}

.opinia-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.opinia-avatar {
  position: absolute;
  top: 20px;
  left: 20px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid #236F9E;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.opinia-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.opinia-content {
  margin-left: 75px;
  margin-bottom: 20px;
  flex-grow: 1;
}

.opinia-content p {
  font-style: italic;
  color: #333;
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
}

.opinia-author {
  text-align: right;
  margin-top: auto;
  padding-top: 15px;
  border-top: 1px solid #eee;
}

.opinia-author h4 {
  margin: 0 0 5px 0;
  color: #236F9E;
  font-size: 16px;
  font-weight: 600;
}

.opinia-author span {
  font-size: 13px;
  color: #777;
  display: block;
}

@media (max-width: 768px) {
  .opinie {
    padding: 60px 20px;
  }
  
  .opinie-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .opinia-card {
    padding: 20px;
    min-height: 200px;
  }
  
  .opinia-avatar {
    width: 50px;
    height: 50px;
    top: 15px;
    left: 15px;
  }
  
  .opinia-content {
    margin-left: 70px;
  }
  
  .opinia-content p {
    font-size: 14px;
  }
  
  .opinia-author h4 {
    font-size: 15px;
  }
  
  .opinia-author span {
    font-size: 12px;
  }
}

@media (max-width: 480px) {
  .opinia-avatar {
    width: 45px;
    height: 45px;
  }
  
  .opinia-content {
    margin-left: 60px;
  }
  
  .opinia-content p {
    font-size: 13px;
  }
}

.kontakt {
  padding: 80px 40px;
  background-color: #ffffff;
}

.kontakt .section-header {
  background: linear-gradient(135deg, #236F9E, #0c3c5a);
  color: white;
  padding: 40px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
  border-radius: 20px 20px 0 0;
  margin: 0 auto 0 auto;
  max-width: 1000px;
}

.kontakt .section-header::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
  animation: pulse 4s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 0.5; }
  50% { transform: scale(1.05); opacity: 0.8; }
}

.kontakt .section-header h2 {
  font-size: 2.5rem;
  margin-bottom: 15px;
  font-weight: 600;
  text-shadow: 0 2px 4px rgba(0,0,0,0.1);
  position: relative;
  z-index: 1;
  color: white;
}

.kontakt .section-header p {
  font-size: 1.1rem;
  opacity: 0.95;
  max-width: 600px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
  color: white;
}

.stats-badge {
  display: inline-flex;         
  align-items: center;          
  justify-content: center;      
  margin: 20px auto 0;
  background: rgba(255, 255, 255, 0.2);
  color: white;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 600;
  text-align: center;
  max-width: fit-content;
  line-height: 1.2;
}

.stats-badge span {
  margin-right: 6px;
  display: flex;                
  align-items: center;          
}

.kontakt-form {
  max-width: 1000px;
  margin: 0 auto;
  background: white;
  border-radius: 0 0 20px 20px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
  padding: 50px 40px;
  border: 1px solid #e2e8f0;
  border-top: none;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 25px;
}

.form-group {
  margin-bottom: 25px;
}

.form-group.full-width {
  grid-column: 1 / -1;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: #374151;
  font-size: 0.95rem;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 15px 20px;
  border: 2px solid #e5e7eb;
  border-radius: 12px;
  font-size: 1rem;
  background: #fafafa;
  transition: all 0.3s ease;
  font-family: inherit;
  box-sizing: border-box;
}

.form-group input[type="text"]:focus,
.form-group input[type="email"]:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: rgb(207, 10, 81);
  background: white;
  box-shadow: 0 0 0 3px rgba(178, 4, 4, 0.1);
  transform: translateY(-1px);
}

.form-group select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3e%3c/svg%3e");
  background-position: right 12px center;
  background-repeat: no-repeat;
  background-size: 16px;
  padding-right: 50px;
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.checkbox-group {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;              
  margin-top: 10px;
  justify-items: center;
}

.checkbox-group label {
  display: flex;
  align-items: center;   
  justify-content: flex-start;
  gap: 10px;
  width: 100%;
  min-height: 60px;
  font-weight: 500;
  cursor: pointer;
  padding: 12px 16px;
  background: #f8fafc;
  border-radius: 10px;
  border: 2px solid transparent;
  transition: all 0.3s ease;
}

.checkbox-group label span {
  display: flex;           
  align-items: center;     
}

.checkbox-group input[type="checkbox"] {
  margin: 0;              
  accent-color: rgb(207, 10, 81);
  transform: scale(1.2);  
}

.checkbox-group label:hover {
  background: #e0e7ff;
  border-color: #c7d2fe;
}

.checkbox-group input[type="checkbox"]:checked + span {
  color: rgb(207, 10, 81);
  font-weight: 600;
}

/* Tablety: max 900px szerokości */
@media (max-width: 900px) {
  .checkbox-group {
    grid-template-columns: repeat(2, 1fr); 
  }
}

@media (max-width: 600px) {
  .checkbox-group {
    grid-template-columns: 1fr; 
  }
}

.rodo {
  background: #fef3c7;
  border: 1px solid #f59e0b;
  border-radius: 12px;
  padding: 20px;
  margin: 30px 0;
}

.rodo label {
  display: flex;
  align-items: center; 
  cursor: pointer;
  margin-bottom: 0;
  font-weight: 400;
  color: #555;
}

.rodo input[type="checkbox"] {
  margin-right: 12px;
  accent-color: #f59e0b;
  width: auto;
}

.kontakt-form .cta-button {
  background: linear-gradient(135deg, #c33430, #9b2230);
  color: white;
  border: none;
  padding: 18px 40px;
  font-size: 1.1rem;
  font-weight: 600;
  border-radius: 50px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 15px #ab3f31;
}

.kontakt-form .cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(171, 63, 49, 0.5);
  background: linear-gradient(135deg, #d03b37, #a32028);
}

@media (max-width: 768px) {
  .form-row {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  
  .kontakt .section-header {
    padding: 30px 20px;
  }
  
  .kontakt .section-header h2 {
    font-size: 2rem;
  }
  
  .kontakt-form {
    padding: 30px 20px;
  }
  
  .checkbox-group {
    grid-template-columns: 1fr;
  }

  .form-group {
    margin-bottom: 15px;
  }
  
  .form-row {
    margin-bottom: 15px;
  }
}

@media (max-width: 480px) {
  .form-group {
    margin-bottom: 12px;
  }
  
  .form-row {
    margin-bottom: 12px;
    gap: 12px;
  }
}

.kontakt-form {
  animation: slideUp 0.6s ease-out;
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.kontakt .form-group {
  animation: fadeIn 0.6s ease-out backwards;
}

.kontakt .form-group:nth-child(1) { animation-delay: 0.1s; }
.kontakt .form-group:nth-child(2) { animation-delay: 0.2s; }
.kontakt .form-group:nth-child(3) { animation-delay: 0.3s; }
.kontakt .form-group:nth-child(4) { animation-delay: 0.4s; }
.kontakt .form-group:nth-child(5) { animation-delay: 0.5s; }

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateX(-20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.form-box {
  background: #fff;
  padding: 2rem;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  max-width: 900px;
  margin: 0 auto;
}


/* === FOOTER === */
.footer {
  background-color: #174969;
  color: #ffffff;
  padding: 60px 40px 30px;
  font-size: 15px;
}

.footer-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto 30px auto;
}

.footer-column {
  flex: 1 1 250px;
}

.footer-column h3,
.footer-column h4 {
  margin-bottom: 10px;
  color: #ffffff;
}

.footer-column ul {
  list-style: none;
  padding: 0;
}

.footer-column ul li {
  margin-bottom: 5px;
}

.footer-column ul li a {
  color: #ffffff;
  text-decoration: none;
  transition: opacity 0.3s;
}

.footer-column ul li a:hover {
  opacity: 0.8;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.2);
  padding-top: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.footer-bottom p {
  margin: 0;
  font-size: 14px;
  color: #eee;
}

.social-icons {
  display: flex;
  gap: 15px;
  justify-content: center;
  margin-top: 10px;
}

.social-icons a {
  font-size: 20px;
  color: #ffffff;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.social-icons a:hover {
  transform: scale(1.2);
  opacity: 0.8;
}

.footer-logo-column {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.footer-logo {
  max-height: 50px;
  width: auto;
  object-fit: contain;
}

.footer-column a {
  color: #ffffff;
  text-decoration: none;
}

.footer-column a:hover {
  text-decoration: underline;
}

@media (max-width: 768px) {
  .footer {
    padding: 30px 20px 15px;
    text-align: center;
  }

  .footer-top {
    flex-direction: column;
    align-items: center;
    gap: 18px;
    margin: 0 auto 20px auto;
  }

  .footer-column {
    flex: 1 1 100%;
  }
  
  .footer-column h3,
  .footer-column h4 {
    margin-bottom: 8px;
  }

  .footer-logo-column {
    align-items: center;
    gap: 10px;
  }
  
  .footer-logo-column p {
    margin: 5px 0;
  }

  .footer-column ul {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 0;
  }
  
  .footer-column ul li {
    margin-bottom: 3px;
  }

  .social-icons {
    margin-top: 10px;
    gap: 12px;
  }
  
  .footer-bottom {
    padding-top: 15px;
    gap: 8px;
  }
}

@media (max-width: 480px) {
  .footer {
    font-size: 14px;
    padding: 25px 15px 12px;
  }
  
  .footer-top {
    gap: 15px;
    margin-bottom: 15px;
  }
  
  .footer-column h3,
  .footer-column h4 {
    margin-bottom: 6px;
  }
  
  .footer-bottom {
    padding-top: 12px;
    gap: 6px;
  }
  
  .footer-bottom p {
    font-size: 12px;
    margin: 3px 0;
  }
}

@media (max-width: 600px) {

  /* --- DLA KOGO --- */
  .dla-kogo {
    padding: 35px 10px;
  }

  .card-grid {
    gap: 14px;
  }

  .card {
    padding: 14px 10px;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.04);
  }

  .icon {
    font-size: 26px;
    margin-bottom: 6px;
  }

  .card h3 {
    font-size: 16px;
    margin-bottom: 4px;
  }

  .card p {
    font-size: 13px;
    line-height: 1.3;
  }

  .uslugi {
    padding: 35px 10px;
  }

  .service-grid {
    gap: 14px;
  }

  .service-card {
    padding: 14px 12px;
    border-left-width: 4px;
    border-radius: 6px;
  }

  .service-card h3 {
    font-size: 16px;
    margin-bottom: 4px;
  }

  .service-card p {
    font-size: 13px;
    line-height: 1.35;
  }
}
  .checkbox-group {
    gap: 15px;
  }

  .checkbox-group label {
    padding: 10px 12px;
    min-height: 45px;
    font-size: 14px;
    border-radius: 8px;
  }

  .checkbox-group input[type="checkbox"] {
    transform: scale(0.9);
  }

  .form-group input,
  .form-group select,
  .form-group textarea {
    padding: 12px 14px;
    font-size: 0.95rem;
    border-radius: 10px;
  }

  .section-header h2 {
    font-size: 1.5rem;
  }

  .section-header p {
    font-size: 0.95rem;
    margin-bottom: 20px;
  }

  .cta-button {
    padding: 8px 18px;
    font-size: 0.9rem;
    border-radius: 5px;
  }

#dla-kogo,
#uslugi,
#proces,
#opinie,
#kontakt {
  scroll-margin-top: 100px;
}

.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  backdrop-filter: blur(2px);
}

.modal-box {
  background: #ffffff;
  padding: 30px;
  border-radius: 12px;
  width: 90%;
  max-width: 420px;
  text-align: center;
  box-shadow: 0 8px 25px rgba(0,0,0,0.15);
  animation: fadeIn 0.3s ease-out;
}

.modal-icon {
  font-size: 48px;
  margin-bottom: 10px;
}

.modal-button {
  margin-top: 20px;
  padding: 10px 25px;
  background: #d63c3c;
  color: white;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: 0.2s;
}

.modal-button:hover {
  background: #b53030;
}

@keyframes fadeIn {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}
