/* ==========================================================================
   KS BUDOWA I REMONTY - STYLESHEET
   Palette according to specification:
   - Jaskrawy seledyn (Accent / CTA): #39E75F / hover #2ECC71
   - Grafit (Headings, Header, Footer): #1F2328 / #16191D
   - Biel (Primary Bg): #FFFFFF
   - Jasny Szary (Alt Section Bg): #F3F5F4
   - Betonowy Szary (Subtext / Borders): #8A8F8C
   - Akcent drewniany (Wood/Copper 2%): #B9783E
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&family=Inter:wght@300;400;500;600;700&family=Kaushan+Script&family=Caveat:wght@700&display=swap');

:root {
  --clr-seledyn: #39E75F;
  --clr-seledyn-dark: #2ecc71;
  --clr-seledyn-light: #e8fceb;
  --clr-seledyn-glow: rgba(57, 231, 95, 0.25);
  
  --clr-grafit: #1F2328;
  --clr-grafit-dark: #14171a;
  --clr-grafit-light: #2d3339;
  
  --clr-white: #FFFFFF;
  --clr-jasny-szary: #F3F5F4;
  --clr-betonowy-szary: #8A8F8C;
  --clr-border: #e2e8f0;
  
  --clr-drewno: #B9783E;
  --clr-drewno-light: #fdf6ee;
  
  --font-main: 'Inter', system-ui, -apple-system, sans-serif;
  --font-heading: 'Poppins', sans-serif;
  
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 6px 20px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 12px 35px rgba(0, 0, 0, 0.12);
  --shadow-seledyn: 0 4px 20px rgba(57, 231, 95, 0.35);
  
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset & Basic Setup */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  max-width: 100%;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  width: 100%;
  max-width: 100%;
  overflow-x: clip;
}

body {
  font-family: var(--font-main);
  background-color: var(--clr-white);
  color: var(--clr-grafit);
  line-height: 1.6;
  width: 100%;
  max-width: 100%;
  overflow-x: clip;
  position: relative;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

section, footer {
  width: 100%;
  max-width: 100%;
  overflow-x: clip;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

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

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  max-width: 100%;
}

/* Base Typography with Fluid Scaling */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--clr-grafit);
  font-weight: 700;
  line-height: 1.25;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

h1 { font-size: clamp(1.65rem, 5.2vw, 3.2rem); }
h2 { font-size: clamp(1.35rem, 3.8vw, 2.35rem); }
h3 { font-size: clamp(1.15rem, 2.8vw, 1.65rem); }
h4 { font-size: clamp(1.0rem, 2.2vw, 1.15rem); }

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

/* Utility Classes */
.bg-jasny-szary {
  background-color: var(--clr-jasny-szary);
}

.bg-grafit {
  background-color: var(--clr-grafit);
  color: var(--clr-white);
}

.bg-grafit h2, .bg-grafit h3, .bg-grafit h4 {
  color: var(--clr-white);
}

.text-seledyn {
  color: var(--clr-seledyn);
}

.text-drewno {
  color: var(--clr-drewno);
}

.text-szary {
  color: var(--clr-betonowy-szary);
}

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

/* Buttons (Seledynowe z czarnym napisem) */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.85rem 1.8rem;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  border-radius: var(--radius-md);
  border: none;
  cursor: pointer;
  transition: var(--transition);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.btn-primary {
  background-color: var(--clr-seledyn);
  color: var(--clr-grafit-dark);
  box-shadow: var(--shadow-seledyn);
}

.btn-primary:hover {
  background-color: var(--clr-seledyn-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(46, 204, 113, 0.45);
}

.btn-secondary {
  background-color: var(--clr-grafit);
  color: var(--clr-white);
  border: 2px solid var(--clr-seledyn);
}

.btn-secondary:hover {
  background-color: var(--clr-seledyn);
  color: var(--clr-grafit);
  transform: translateY(-2px);
}

.btn-outline {
  background-color: transparent;
  color: var(--clr-grafit);
  border: 2px solid var(--clr-grafit);
}

.btn-outline:hover {
  background-color: var(--clr-grafit);
  color: var(--clr-white);
}

/* TOP STICKY BAR WITH HIGHLIGHTS & STAMPS */
.top-notice-bar {
  background-color: var(--clr-grafit-dark);
  color: var(--clr-white);
  padding: 0.6rem 0;
  border-bottom: 2px solid var(--clr-seledyn);
  font-size: 0.85rem;
  position: relative;
  z-index: 1001;
}

.top-notice-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.highlights-pills {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.pill-item {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background-color: rgba(255, 255, 255, 0.08);
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  border: 1px solid rgba(57, 231, 95, 0.3);
  font-weight: 600;
  white-space: nowrap;
}

.pill-item.highlight-accent {
  background-color: var(--clr-seledyn);
  color: var(--clr-grafit);
  font-weight: 800;
  border-color: var(--clr-seledyn);
}

.pill-item i {
  color: var(--clr-seledyn);
}

.pill-item.highlight-accent i {
  color: var(--clr-grafit);
}

.top-contact-info {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.top-contact-info a {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: var(--transition);
}

.top-contact-info a:hover {
  color: var(--clr-seledyn);
}

/* HEADER & MAIN NAVIGATION */
.main-header {
  background-color: var(--clr-grafit);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.85rem 1.5rem;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 1rem;
  text-decoration: none;
}

.brand-logo .logo-icon-svg,
.brand-logo .brand-logo-emblem {
  width: 52px;
  height: 52px;
  object-fit: cover;
  background: radial-gradient(circle, #2a3138 0%, #16191d 100%);
  border-radius: var(--radius-md);
  border: 2px solid var(--clr-seledyn);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(57, 231, 95, 0.35);
  transition: var(--transition);
  flex-shrink: 0;
}

.brand-logo:hover .logo-icon-svg,
.brand-logo:hover .brand-logo-emblem {
  transform: scale(1.06);
  box-shadow: 0 4px 25px rgba(57, 231, 95, 0.6);
}

.brand-logo .company-name-large {
  font-family: var(--font-heading);
  font-size: clamp(1.05rem, 3.5vw, 1.85rem);
  font-weight: 900;
  color: var(--clr-white);
  line-height: 1.1;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  word-wrap: break-word;
}

.brand-logo .company-name-large span {
  color: var(--clr-seledyn);
}

.brand-logo .company-sub {
  font-size: 0.72rem;
  color: var(--clr-betonowy-szary);
  letter-spacing: 1px;
  text-transform: uppercase;
  font-weight: 600;
}

/* Nav Menu Tabs */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-left: auto;
}

.nav-link {
  color: #d1d5db;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.6rem 1.1rem;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  cursor: pointer;
}

.nav-link:hover {
  color: var(--clr-seledyn);
  background-color: rgba(255, 255, 255, 0.05);
}

.nav-link.active {
  color: var(--clr-grafit-dark);
  background-color: var(--clr-seledyn);
  font-weight: 700;
}

.nav-link.nav-social-fb {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  background-color: #1877f2;
  border: 1px solid #1877f2;
  font-size: 1.15rem;
  margin-left: 0.5rem;
  box-shadow: 0 4px 12px rgba(24, 119, 242, 0.4);
}

.nav-link.nav-social-fb:hover {
  background-color: #166fe5;
  color: #ffffff;
  border-color: #166fe5;
  transform: scale(1.1);
  box-shadow: 0 6px 18px rgba(24, 119, 242, 0.65);
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--clr-white);
  font-size: 1.8rem;
  cursor: pointer;
}

/* STAMP BADGE COMPONENT (10 LAT GWARANCJI / WYCENA GRATIS / 27 LAT DOŚWIADCZENIA) */
.stamp-badge {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--clr-grafit-dark) 0%, #101215 100%);
  border: 4px dashed var(--clr-seledyn);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--clr-white);
  box-shadow: 0 0 25px rgba(57, 231, 95, 0.4), inset 0 0 15px rgba(0,0,0,0.8);
  position: relative;
  transform: rotate(-6deg);
  transition: var(--transition);
  user-select: none;
}

.stamp-badge:hover {
  transform: rotate(0deg) scale(1.05);
  box-shadow: 0 0 35px rgba(57, 231, 95, 0.6);
}

.stamp-badge .stamp-top {
  font-size: 0.62rem;
  text-transform: uppercase;
  font-weight: 800;
  color: var(--clr-seledyn);
  letter-spacing: 0.5px;
  line-height: 1;
  margin-bottom: 2px;
}

.stamp-badge .stamp-number {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 900;
  line-height: 0.9;
  color: var(--clr-white);
  text-shadow: 0 2px 8px rgba(0,0,0,0.5);
}

.stamp-badge .stamp-bottom {
  font-size: 0.65rem;
  text-transform: uppercase;
  font-weight: 800;
  color: var(--clr-white);
  line-height: 1.1;
  letter-spacing: 0.5px;
}

.stamp-badge .stamp-star {
  font-size: 0.6rem;
  color: var(--clr-seledyn);
  margin-top: 2px;
}

/* HERO SECTION (CENTERED MATCHING SCREENSHOT) */
.hero-layout-centered {
  position: relative;
  background: radial-gradient(ellipse 70% 80% at 50% 45%, rgba(0, 0, 0, 0.92) 0%, rgba(0, 0, 0, 0.65) 55%, rgba(0, 0, 0, 0.22) 100%),
              url('assets/ks_hero_bg.jpg') center/cover no-repeat;
  padding: 4.5rem 0 5.5rem;
  text-align: center;
  overflow: hidden;
}

.hero-container-centered {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 960px;
  margin: 0 auto;
}

/* Centered Title & Handwriting Tag */
.hero-title-centered {
  position: relative;
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  padding: 0;
  background: none;
  border-radius: 0;
}

/* Top Feature Pill Bar */
.hero-top-features-pill {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(14, 18, 22, 0.80);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(57, 231, 95, 0.4);
  border-radius: var(--radius-full);
  padding: 0.75rem 3.25rem 0.75rem 2.25rem;
  margin-bottom: 2.25rem;
  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  gap: 1.75rem;
  max-width: 100%;
}

a.feature-link-pill {
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.3s ease, filter 0.3s ease;
}

a.feature-link-pill:hover {
  transform: translateY(-2px);
  filter: brightness(1.15);
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  text-align: left;
}

.feature-badge-icon {
  width: 44px;
  height: 44px;
  background: rgba(57, 231, 95, 0.08);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid rgba(57, 231, 95, 0.45);
  flex-shrink: 0;
}

.feature-text {
  display: flex;
  flex-direction: column;
}

.feature-title {
  color: var(--clr-white);
  font-weight: 800;
  font-size: 0.88rem;
  letter-spacing: 0.5px;
  line-height: 1.2;
}

.feature-desc {
  color: #9ca3af;
  font-size: 0.75rem;
  font-weight: 500;
  margin-top: 1px;
}

.feature-divider {
  width: 1px;
  height: 36px;
  background: rgba(255, 255, 255, 0.15);
}

/* Centered Title & Handwriting Tag */
.hero-title-centered h1 {
  font-family: var(--font-heading);
  font-size: clamp(2.8rem, 6vw, 4.8rem);
  font-weight: 400;
  color: var(--clr-white);
  line-height: 1.05;
  letter-spacing: -0.5px;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.7);
}

.hero-title-centered .green-word {
  color: var(--clr-seledyn);
}

.hero-script-tag {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  margin-top: 0.35rem;
  margin-bottom: 1.75rem;
}

.hero-script-tag .script-text {
  font-family: 'Kaushan Script', 'Caveat', cursive, sans-serif;
  font-size: clamp(3rem, 6vw, 4.5rem);
  color: var(--clr-seledyn);
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0.5px;
  text-shadow: 0 4px 15px rgba(57, 231, 95, 0.4);
}

.hero-script-tag .brush-stroke-svg {
  width: 105%;
  max-width: 340px;
  height: 22px;
  margin-top: -6px;
  filter: drop-shadow(0 2px 8px rgba(57, 231, 95, 0.5));
}

/* Subtitle paragraph */
.hero-subtitle-centered {
  color: #d1d5db;
  font-size: 1.15rem;
  line-height: 1.6;
  max-width: 680px;
  margin: 0 auto 2.5rem;
  text-align: center;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8);
}

/* Action Buttons (Pills) */
.hero-actions-centered {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.pill-btn {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  padding: 0.75rem 1.85rem 0.75rem 0.85rem;
  border-radius: var(--radius-full);
  text-decoration: none;
  transition: var(--transition);
}

.btn-green-pill {
  background: linear-gradient(135deg, #39E75F 0%, #2ecc71 100%);
  color: var(--clr-grafit-dark);
  box-shadow: 0 8px 25px rgba(57, 231, 95, 0.45);
}

.btn-green-pill:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(57, 231, 95, 0.65);
}

.btn-dark-pill {
  background: rgba(18, 22, 26, 0.85);
  color: var(--clr-white);
  border: 1px solid rgba(57, 231, 95, 0.45);
  backdrop-filter: blur(8px);
}

.btn-dark-pill:hover {
  background: rgba(28, 33, 39, 0.95);
  border-color: var(--clr-seledyn);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(57, 231, 95, 0.25);
}

.pill-icon-circle {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.btn-green-pill .pill-icon-circle {
  background: rgba(0, 0, 0, 0.15);
  color: var(--clr-grafit-dark);
}

.btn-dark-pill .pill-icon-circle {
  background: rgba(255, 255, 255, 0.08);
  color: var(--clr-white);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.pill-text-wrap {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.btn-main-text {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.92rem;
  letter-spacing: 0.5px;
}

.btn-sub-text {
  font-size: 0.72rem;
  opacity: 0.85;
  font-weight: 500;
}

.pill-arrow {
  font-size: 1rem;
  transition: transform 0.3s ease;
}

.pill-btn:hover .pill-arrow {
  transform: translateX(4px);
}

.stat-item h3 {
  color: var(--clr-seledyn);
  font-size: 2.2rem;
  font-weight: 800;
  line-height: 1;
}

.stat-item p {
  color: var(--clr-betonowy-szary);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  margin-top: 0.3rem;
}

/* Hero Badge Showcase Right side */
.hero-stamp-showcase {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  position: relative;
}

.hero-card-preview {
  background: rgba(31, 35, 40, 0.75);
  backdrop-filter: blur(12px);
  border: 2px solid var(--clr-seledyn);
  border-radius: var(--radius-lg);
  padding: 2rem;
  width: 100%;
  max-width: 400px;
  box-shadow: var(--shadow-lg);
  position: relative;
}

.hero-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.hero-card-header h3 {
  color: var(--clr-white);
  font-size: 1.2rem;
}

.badge-tag {
  background-color: var(--clr-seledyn);
  color: var(--clr-grafit);
  font-size: 0.75rem;
  font-weight: 800;
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-sm);
  text-transform: uppercase;
}

.hero-card-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  font-size: 0.95rem;
  color: #e2e8f0;
}

.hero-card-list li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.hero-card-list li i {
  color: var(--clr-seledyn);
}

.floating-stamp-wrap {
  position: absolute;
  top: -35px;
  right: -25px;
}

/* SECTION TITLES & HEADINGS */
.section-header {
  text-align: center;
  max-width: 750px;
  margin: 0 auto 3.5rem;
}

.section-subtitle {
  display: inline-block;
  color: var(--clr-seledyn-dark);
  font-weight: 800;
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 1.5px;
  margin-bottom: 0.5rem;
  background-color: var(--clr-seledyn-light);
  padding: 0.25rem 0.85rem;
  border-radius: var(--radius-full);
}

.section-header h2 {
  margin-bottom: 1rem;
}

.section-header p {
  color: var(--clr-betonowy-szary);
  font-size: 1.05rem;
}

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

/* USŁUGI SECTION (Involved layout like reference site) */
.services-list {
  display: flex;
  flex-direction: column;
  gap: 3.5rem;
}

.service-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  background: var(--clr-white);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--clr-border);
  transition: var(--transition);
}

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

.service-card.reverse {
  grid-template-columns: 1fr 1fr;
  direction: rtl;
}

.service-card.reverse > * {
  direction: ltr;
}

a.service-img-wrapper {
  display: block;
  text-decoration: none;
  cursor: pointer;
}

.service-img-wrapper {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-md);
  /* Thin seledyn border as requested in screenshot */
  border: 2px solid var(--clr-seledyn);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  display: block;
}

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

.service-img-wrapper:hover img {
  transform: scale(1.06);
}

.service-hover-badge {
  position: absolute;
  bottom: 1rem;
  right: 1rem;
  background: rgba(31, 35, 40, 0.92);
  color: var(--clr-seledyn);
  padding: 0.45rem 0.95rem;
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  font-weight: 700;
  opacity: 0;
  transform: translateY(10px);
  transition: var(--transition);
  border: 1px solid var(--clr-seledyn);
  pointer-events: none;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

.service-img-wrapper:hover .service-hover-badge {
  opacity: 1;
  transform: translateY(0);
}

.service-badge-tag {
  position: absolute;
  top: 15px;
  left: 15px;
  background: var(--clr-grafit);
  color: var(--clr-seledyn);
  font-weight: 700;
  font-size: 0.8rem;
  padding: 0.4rem 0.85rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--clr-seledyn);
}

.service-badge-tag.wood-tag {
  color: var(--clr-drewno);
  border-color: var(--clr-drewno);
}

.service-content h3 {
  margin-bottom: 1rem;
  font-size: 1.6rem;
}

.service-content p {
  color: #4b5563;
  margin-bottom: 1.5rem;
  font-size: 1rem;
}

.service-features-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.service-features-list li {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--clr-grafit);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.service-features-list li i {
  color: var(--clr-seledyn-dark);
}

/* O NAS SECTION */
#o-nas {
  background: url('assets/about_bg.jpg') center center / cover no-repeat;
  position: relative;
}

.about-section-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3.5rem;
  align-items: start;
}

.about-text-content {
  background: transparent;
  padding: 0;
  border: none;
  box-shadow: none;
  backdrop-filter: none;
}

.about-text-content h3.lead-title {
  color: #047857;
  font-size: 1.1rem;
  font-weight: 800;
  margin-bottom: 0.85rem;
}

.about-text-content p {
  margin-bottom: 0.85rem;
  color: #0f172a;
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1.6;
}

.about-specializations {
  background: transparent;
  padding: 0;
  border: none;
  box-shadow: none;
  backdrop-filter: none;
  margin: 1.25rem 0 0 0;
}

.about-specializations h4 {
  margin-bottom: 0.65rem;
  color: #0f172a;
  font-size: 1.05rem;
  font-weight: 800;
}

.about-specializations ul {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.5rem;
}

.about-specializations li {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  font-weight: 700;
  color: #0f172a;
  font-size: 0.88rem;
  line-height: 1.35;
}

.about-specializations li i {
  color: #059669;
  margin-top: 2px;
  font-size: 1.1rem;
}

.about-guarantee-box {
  background: var(--clr-grafit);
  color: var(--clr-white);
  padding: 2rem;
  border-radius: var(--radius-md);
  border-top: 4px solid var(--clr-seledyn);
  margin-top: 2rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.about-guarantee-box i {
  font-size: 3rem;
  color: var(--clr-seledyn);
}

.about-guarantee-box h4 {
  color: var(--clr-seledyn);
  font-size: 1.2rem;
  margin-bottom: 0.3rem;
}

.about-guarantee-box p {
  color: #d1d5db;
  font-size: 0.9rem;
  margin: 0;
}

/* NASZE ATUTY SECTION */
.atuty-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.75rem;
}

.atut-card {
  background: var(--clr-white);
  border-radius: var(--radius-md);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--clr-border);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.atut-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background-color: var(--clr-seledyn);
  transition: var(--transition);
}

.atut-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--clr-seledyn);
}

.atut-card:hover::before {
  width: 8px;
}

.atut-icon {
  width: 60px;
  height: 60px;
  background-color: var(--clr-jasny-szary);
  color: var(--clr-grafit);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 1.25rem;
  transition: var(--transition);
  border: 1px solid rgba(57, 231, 95, 0.4);
}

.atut-card:hover .atut-icon {
  background-color: var(--clr-seledyn);
  color: var(--clr-grafit-dark);
}

.atut-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.6rem;
}

.atut-card p {
  color: #6b7280;
  font-size: 0.95rem;
}

/* GALERIA REALIZACJI SECTION */
.gallery-filters {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.filter-btn {
  padding: 0.6rem 1.25rem;
  background: var(--clr-white);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-full);
  font-weight: 600;
  color: var(--clr-grafit);
  cursor: pointer;
  transition: var(--transition);
}

.filter-btn:hover, .filter-btn.active {
  background: var(--clr-seledyn);
  color: var(--clr-grafit-dark);
  border-color: var(--clr-seledyn);
  box-shadow: var(--shadow-sm);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.5rem;
}

.gallery-item {
  display: block;
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 2px solid var(--clr-seledyn);
  height: 260px;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  text-decoration: none;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.gallery-item:hover img {
  transform: scale(1.06);
}

.gallery-overlay {
  display: none !important;
}

/* KALKULATOR WYCENY */
.calculator-box {
  background: var(--clr-white);
  border-radius: var(--radius-lg);
  padding: 3rem;
  box-shadow: var(--shadow-lg);
  border: 2px solid var(--clr-seledyn);
}

.calc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

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

.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.4rem;
  color: var(--clr-grafit);
  font-size: 0.95rem;
}

.form-control {
  width: 100%;
  padding: 0.8rem 1rem;
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-sm);
  background-color: var(--clr-jasny-szary);
  transition: var(--transition);
}

.form-control:focus {
  outline: none;
  border-color: var(--clr-seledyn-dark);
  background-color: var(--clr-white);
  box-shadow: 0 0 0 3px rgba(57, 231, 95, 0.2);
}

.calc-summary {
  background: var(--clr-grafit);
  color: var(--clr-white);
  padding: 2rem;
  border-radius: var(--radius-md);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.calc-price-box {
  text-align: center;
  padding: 1.5rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  margin: 1.5rem 0;
}

.calc-price-box .price-title {
  font-size: 0.85rem;
  color: var(--clr-betonowy-szary);
  text-transform: uppercase;
}

.calc-price-box .price-amount {
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--clr-seledyn);
}

/* KONTAKT SECTION (Strict adherence to prompt text) */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
}

.contact-info-card {
  background: var(--clr-grafit);
  color: var(--clr-white);
  padding: 3rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border-top: 4px solid var(--clr-seledyn);
}

.contact-info-card h2 {
  color: var(--clr-white);
  margin-bottom: 1rem;
}

.contact-info-card p.contact-lead {
  color: #e2e8f0;
  font-size: 1.05rem;
  line-height: 1.6;
  margin-bottom: 2rem;
}

.contact-details-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

a.contact-detail-item {
  text-decoration: none;
}

a.contact-detail-item p,
a.contact-detail-item p i {
  transition: color 0.3s ease;
}

a.contact-detail-item:hover p,
a.contact-detail-item:hover p i {
  color: var(--clr-seledyn) !important;
}

.contact-detail-item {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.contact-detail-item .icon-circle {
  width: 50px;
  height: 50px;
  background-color: var(--clr-seledyn);
  color: var(--clr-grafit-dark);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
}

.contact-detail-item h4 {
  color: var(--clr-betonowy-szary);
  font-size: 0.8rem;
  text-transform: uppercase;
}

.contact-detail-item p, .contact-detail-item a {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--clr-white);
}

.contact-detail-item a:hover {
  color: var(--clr-seledyn);
}

.contact-form-card {
  background: var(--clr-white);
  padding: 3rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--clr-border);
}

/* FOOTER (Czarna stopka z białym tekstem) */
.main-footer {
  background-color: var(--clr-grafit-dark);
  color: var(--clr-white);
  padding: 4rem 0 2rem;
  border-top: 3px solid var(--clr-seledyn);
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 3rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.footer-brand {
  max-width: 550px;
}

.footer-links h4 {
  color: var(--clr-white);
  margin-bottom: 1.25rem;
  font-size: 1.1rem;
  position: relative;
  padding-bottom: 0.5rem;
}

.footer-links h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background-color: var(--clr-seledyn);
}

.footer-links ul {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.footer-links ul li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: #9ca3af;
  font-size: 0.95rem;
  line-height: 1.4;
}

.footer-links ul li i {
  flex-shrink: 0;
  font-size: 1.05rem;
  width: 22px;
  text-align: center;
}

.footer-links a {
  color: #9ca3af;
  transition: var(--transition);
  font-size: 0.95rem;
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--clr-seledyn);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--clr-betonowy-szary);
  font-size: 0.85rem;
  flex-wrap: wrap;
  gap: 1rem;
}

/* FLOATING WIDGET STAMP */
.floating-guarantee-stamp {
  position: fixed;
  bottom: 25px;
  right: 25px;
  z-index: 999;
  cursor: pointer;
  animation: pulseStamp 3s infinite ease-in-out;
}

@keyframes pulseStamp {
  0%, 100% { transform: scale(1) rotate(-6deg); }
  50% { transform: scale(1.05) rotate(-3deg); }
}

/* MODAL */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.92);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 999999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.modal-overlay.active {
  display: flex !important;
}

.modal-content {
  background-color: rgba(20, 24, 28, 0.96);
  border-radius: var(--radius-lg);
  max-width: 1060px;
  width: 90vw;
  position: relative;
  overflow: hidden;
  border: 2px solid var(--clr-seledyn);
  box-shadow: 0 25px 65px rgba(0, 0, 0, 0.85);
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 10px;
}

#modalImage {
  width: 100%;
  height: auto;
  max-height: 78vh;
  object-fit: contain;
  display: block;
  border-radius: var(--radius-sm);
}

.modal-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(31, 35, 40, 0.92);
  color: var(--clr-seledyn);
  border: 2px solid var(--clr-seledyn);
  width: 52px;
  height: 52px;
  border-radius: 50%;
  font-size: 1.25rem;
  cursor: pointer;
  z-index: 9999999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s ease;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.7);
}

.modal-arrow:hover {
  background: var(--clr-seledyn);
  color: var(--clr-grafit-dark);
  transform: translateY(-50%) scale(1.12);
}

.prev-arrow {
  left: 20px;
}

.next-arrow {
  right: 20px;
}

.next-arrow {
  right: 15px;
}

.modal-footer-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem 1.5rem;
  background: var(--clr-grafit);
  color: var(--clr-white);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.modal-info h4 {
  color: var(--clr-seledyn);
  font-size: 1.1rem;
  margin: 0;
}

.modal-counter {
  background: rgba(255, 255, 255, 0.08);
  color: var(--clr-seledyn);
  border: 1px solid var(--clr-seledyn);
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 700;
  white-space: nowrap;
}

.gallery-img-container {
  position: relative;
  width: 100%;
  height: 100%;
}

.gallery-count-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: var(--clr-grafit-dark);
  color: var(--clr-seledyn);
  border: 1px solid var(--clr-seledyn);
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-sm);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
  z-index: 2;
}

.gallery-category-pill {
  color: var(--clr-seledyn);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 1px;
  margin-bottom: 0.25rem;
  text-transform: uppercase;
}

.gallery-open-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 0.5rem;
  background: var(--clr-seledyn);
  color: var(--clr-grafit-dark);
  font-size: 0.82rem;
  font-weight: 700;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-sm);
  width: fit-content;
}

.modal-close {
  position: absolute;
  top: 15px;
  right: 15px;
  background: var(--clr-grafit);
  color: var(--clr-white);
  border: 1px solid rgba(255,255,255,0.2);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  font-size: 1.3rem;
  cursor: pointer;
  z-index: 20;
}

.modal-close:hover {
  background: var(--clr-seledyn);
  color: var(--clr-grafit);
}

/* Responsive adjustments */
@media (max-width: 992px) {
  .header-container {
    padding: 0.65rem 0.85rem;
  }

  .brand-logo {
    gap: 0.5rem;
    max-width: calc(100% - 55px);
  }

  .brand-logo .logo-icon-svg,
  .brand-logo .brand-logo-emblem {
    width: 38px;
    height: 38px;
  }

  .brand-logo .company-name-large {
    font-size: clamp(0.9rem, 3.8vw, 1.25rem);
    line-height: 1.15;
  }

  .hero-grid, .service-card, .service-card.reverse, .about-section-grid, .calc-grid, .contact-grid {
    grid-template-columns: 1fr;
    direction: ltr !important;
  }
  
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  
  .hero-stamp-showcase {
    display: none;
  }
  
  .mobile-toggle {
    display: block;
  }
  
  .nav-menu {
    position: fixed;
    top: 70px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 70px);
    background-color: var(--clr-grafit-dark);
    flex-direction: column;
    padding: 2rem;
    transition: var(--transition);
  }
  
  .nav-menu.active {
    left: 0;
  }
  
  .nav-link {
    width: 100%;
    text-align: center;
    font-size: 1.1rem;
    padding: 1rem;
  }
}

@media (max-width: 600px) {
  .top-notice-container {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
  }
  
  .hero-stats {
    grid-template-columns: 1fr;
  }

  .hero-top-features-pill {
    flex-direction: column;
    gap: 0.85rem;
    padding: 1rem 1.5rem;
    border-radius: 20px;
    width: 100%;
    max-width: 100%;
    align-items: flex-start;
  }

  .feature-divider {
    display: none;
  }

  .hero-actions-centered {
    flex-direction: column;
    width: 100%;
    gap: 0.75rem;
  }

  .pill-btn {
    width: 100%;
    justify-content: space-between;
    padding: 0.75rem 1rem;
  }

  .gallery-filters {
    gap: 0.35rem;
  }

  .filter-btn {
    padding: 0.45rem 0.75rem;
    font-size: 0.82rem;
  }

  .contact-info-card, .contact-form-card {
    padding: 1.25rem 1rem;
  }
}

@media (max-width: 420px) {
  .gallery-grid {
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
    gap: 0.65rem;
  }

  h1 { font-size: 1.55rem; }
  h2 { font-size: 1.3rem; }
}

/* Floating Call Button for Mobile/Desktop */
.floating-call-btn {
  position: fixed;
  bottom: 1.75rem;
  right: 1.75rem;
  background-color: #10b981;
  color: #ffffff;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.45rem;
  box-shadow: 0 8px 24px rgba(16, 185, 129, 0.45);
  z-index: 9999;
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), background-color 0.3s ease, box-shadow 0.3s ease;
  text-decoration: none;
  animation: floatCallPulse 2.5s infinite;
}

.floating-call-btn:hover {
  transform: scale(1.12);
  background-color: #059669;
  box-shadow: 0 12px 30px rgba(16, 185, 129, 0.65);
  color: #ffffff;
}

@keyframes floatCallPulse {
  0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
  70% { box-shadow: 0 0 0 14px rgba(16, 185, 129, 0); }
  100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}
