@import url('https://fonts.googleapis.com/css2?family=League+Spartan:wght@400;500;600;700;800;900&display=swap');

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #171717;
  background-color: #ffffff;
}

body {
  line-height: 1.6;
}

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

a:hover {
  text-decoration: underline;
}

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

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 4rem 0;
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 50%, #e2e8f0 100%);
}



#oferta-heading {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
  background: linear-gradient(135deg, #111827, #4b5563);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-intro {
  max-width: 640px;
  margin-bottom: 2rem;
  color: #4b5563;
  font-size: 1.05rem;
  line-height: 1.8;
}

h1,
 h2,
 h3 {
  margin: 0 0 1rem;
  font-weight: 600;
  color: #111827;
}

p {
  margin: 0 0 1rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid #e5e7eb;
}

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

.logo {
  font-family: 'League Spartan', sans-serif;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: lowercase;
  font-size: 1.1rem;
  background: linear-gradient(90deg, #9b6e32 0%, #9b6e32 50%, #000000 50%, #000000 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
}

.main-nav ul {
  display: flex;
  list-style: none;
  gap: 1.5rem;
  padding: 0;
  margin: 0;
  font-size: 0.95rem;
}

.main-nav > ul > li {
  position: relative;
}

.main-nav a {
  color: #374151;
  display: block;
  padding: 0.5rem 0;
}

.main-nav a:hover {
  color: #111827;
}

.has-dropdown {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: #ffffff;
  border-radius: 0.75rem;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  padding: 0.5rem 0;
  min-width: 240px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 250ms cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 100;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.has-dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-menu li {
  list-style: none;
}

.dropdown-menu a {
  padding: 0.75rem 1.25rem;
  color: #4b5563;
  font-size: 0.9rem;
  transition: all 200ms ease;
  border-left: 3px solid transparent;
}

.dropdown-menu a:hover {
  background: #faf8f4;
  color: #9b6e32;
  border-left-color: #9b6e32;
  text-decoration: none;
}

.hero {
  position: relative;
  padding: 6rem 0 5rem;
  color: #f9fafb;
  background-image: url("https://res.cloudinary.com/dvk2tgtuf/image/upload/v1771847798/brkxdx0dzfzbter41vn7.png");
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.7));
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1.1fr);
  gap: 3rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-inner--split {
  padding-top: 1rem;
}

.hero-copy h1 {
  font-size: clamp(2.2rem, 4vw, 3.1rem);
  letter-spacing: -0.03em;
  color: #f9fafb;
}

.hero-kicker {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: #bef264;
  margin-bottom: 0.5rem;
}

.hero-lead {
  color: #e5e7eb;
  max-width: 640px;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1.75rem;
}

.hero-pill-row {
  margin-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.pill {
  border-radius: 999px;
  border: 1px solid rgba(229, 231, 235, 0.6);
  padding: 0.4rem 0.9rem;
  font-size: 0.8rem;
  color: #e5e7eb;
  background-color: rgba(15, 23, 42, 0.5);
}

.hero-panel {
  display: flex;
  justify-content: flex-end;
}

.hero-card {
  width: 100%;
  max-width: 360px;
  padding: 1.75rem 1.5rem;
  border-radius: 1.25rem;
  background: radial-gradient(circle at top left, #f4ece1, #faf8f4 40%, #f9fafb 80%);
  border: 1px solid #e8dcc8;
  box-shadow: 0 20px 40px rgba(155, 110, 50, 0.12);
}

.hero-card-kicker {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: #9b6e32;
  margin-bottom: 0.75rem;
}

.hero-card-text {
  margin-bottom: 1rem;
  font-size: 0.9rem;
  color: #7d5a28;
}

.hero-card-list {
  margin: 0;
  padding-left: 1.1rem;
  font-size: 0.9rem;
  color: #7d5a28;
}

.hero-card-list li {
  margin-bottom: 0.35rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 0.95rem;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 150ms ease, color 150ms ease, border-color 150ms ease, box-shadow 150ms ease;
}

.btn.primary {
  background-color: #9b6e32;
  border-color: #9b6e32;
  color: #ffffff;
}

.btn.primary:hover {
  background-color: #7d5a28;
  border-color: #7d5a28;
  box-shadow: 0 10px 20px rgba(155, 110, 50, 0.25);
}

.btn.secondary {
  background-color: #ffffff;
  border-color: #d1d5db;
  color: #111827;
}

.btn.secondary:hover {
  border-color: #9ca3af;
  background-color: #f9fafb;
}

.grid {
  display: grid;
  gap: 1.75rem;
}

.grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid-5 {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.card {
  border-radius: 1.25rem;
  border: 2px solid #f0f0f0;
  padding: 2rem;
  background: #ffffff;
  transition: all 300ms cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: auto;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #9b6e32, #c19a6b);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 300ms ease;
}

.card:hover {
  border-color: #d4af9f;
  box-shadow: 0 20px 50px rgba(155, 110, 50, 0.15);
  transform: translateY(-8px);
}

.card:hover::before {
  transform: scaleX(1);
}

.card h3 {
  margin: 0 0 1.25rem;
  font-size: 1.3rem;
  font-weight: 700;
  color: #111827;
  font-family: 'League Spartan', sans-serif;
  letter-spacing: -0.01em;
}

.card p {
  margin: 0;
  color: #4b5563;
  font-size: 0.95rem;
  line-height: 1.7;
  flex-grow: 1;
}

.card-icon {
  width: 48px;
  height: 48px;
  color: #9b6e32;
  margin-bottom: 1.5rem;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 300ms ease, color 300ms ease;
}

.card:hover .card-icon {
  color: #c19a6b;
  transform: translateY(-4px);
}

.section-header {
  max-width: 820px;
  margin-bottom: 2.25rem;
}

.section-kicker {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: #0f172a;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.section-header h2 {
  font-size: clamp(1.9rem, 3vw, 2.6rem);
  letter-spacing: -0.02em;
}

.section-header .section-intro {
  font-size: 1rem;
  color: #475569;
}

.carousel-section .section-kicker {
  color: #0f172a;
}

.section-kicker--modern {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: #64748b !important;
  margin-bottom: 0.75rem;
  text-transform: uppercase;
}

.section-title--modern {
  font-size: 2.5rem;
  font-weight: 700;
  background: linear-gradient(135deg, #0f172a 0%, #475569 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 1rem;
}

.section-intro--modern {
  font-size: 1.1rem;
  color: #475569;
  max-width: 680px;
  margin: 0 auto;
}

.section-header--modern {
  text-align: center;
  margin: 0 auto 3.5rem;
}

.two-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 3rem;
  align-items: flex-start;
}

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

.checklist li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.5rem;
  color: #4b5563;
}

.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 0.6rem;
  height: 0.6rem;
  border-radius: 999px;
  background-color: #9b6e32;
}

.proces-section {
  background: inherit;
  padding: 4rem 0;
}

.proces-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.proces-header h2 {
  font-size: 2.75rem;
  margin-bottom: 0.75rem;
  color: #111827;
  font-weight: 700;
}

.proces-header p {
  font-size: 1.1rem;
  color: #6b7280;
}

.accordion {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.accordion-item {
  background: white;
  border-radius: 1rem;
  border: 1px solid #e5e7eb;
  overflow: hidden;
  transition: all 0.3s ease;
}

.accordion-item:hover {
  border-color: #9b6e32;
  box-shadow: 0 8px 16px rgba(155, 110, 50, 0.1);
}

.accordion-item[open] {
  box-shadow: 0 12px 24px rgba(155, 110, 50, 0.15);
  border-color: #9b6e32;
}

.accordion-header {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 1.75rem 2rem;
  cursor: pointer;
  user-select: none;
  list-style: none;
}

.accordion-header::-webkit-details-marker {
  display: none;
}

.accordion-number {
  font-size: 1.1rem;
  min-width: 42px;
  min-height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #4b5563;
  color: white;
  border-radius: 0.75rem;
  font-weight: 600;
  flex-shrink: 0;
}

.accordion-header h3 {
  margin: 0;
  font-size: 1.25rem;
  color: #111827;
  font-weight: 600;
  flex: 1;
  text-align: left;
}

.accordion-icon {
  width: 24px;
  height: 24px;
  color: #9b6e32;
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.accordion-item[open] .accordion-icon {
  transform: rotate(180deg);
}

.accordion-content {
  padding: 0 2rem 2rem 2rem;
  color: #4b5563;
  font-size: 0.95rem;
  line-height: 1.7;
  border-top: 1px solid #f0f0f0;
}

.accordion-content p {
  margin: 0 0 1rem 0;
}

.accordion-content p:last-child {
  margin-bottom: 0;
}

.accordion-content strong {
  color: #111827;
  font-weight: 600;
}

.step-list {
  list-style: none;
  padding: 0;
  margin: 0.75rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.step-list li {
  padding-left: 1.75rem;
  position: relative;
  color: #4b5563;
  font-size: 0.95rem;
}

.step-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #9b6e32;
  font-weight: bold;
  font-size: 1.1rem;
}

.step-note {
  background: #f3ede1;
  padding: 0.75rem 1rem;
  border-radius: 0.75rem;
  color: #6b7280;
  font-size: 0.9rem;
  margin-top: 0.75rem !important;
}

.step-success {
  background: #d1fae5;
  padding: 0.75rem 1rem;
  border-radius: 0.75rem;
  color: #065f46;
  font-size: 0.95rem;
  margin-top: 0.75rem !important;
  font-weight: 500;
}

.steps {
  counter-reset: step;
  list-style: none;
  padding: 0;
  margin: 0;
}

.steps li {
  counter-increment: step;
  padding-left: 2.25rem;
  position: relative;
  margin-bottom: 1rem;
  color: #4b5563;
}

.steps li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0.15rem;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 999px;
  border: 1px solid #d1d5db;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  color: #111827;
}

.models {
  background-color: #f9fafb;
  margin-top: -2.5rem;
  padding-top: 0;
  position: relative;
  z-index: 5;
}

.models-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.filter-chip {
  border-radius: 999px;
  border: 1px solid #e5e7eb;
  background: #ffffff;
  padding: 0.35rem 0.9rem;
  font-size: 0.8rem;
  color: #4b5563;
  cursor: default;
}

.filter-chip--active {
  border-color: #9b6e32;
  background: #faf8f4;
  color: #7d5a28;
}

.models-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.75rem;
}

.model-card {
  border-radius: 1rem;
  border: 1px solid #e5e7eb;
  background-color: #ffffff;
  padding: 1.5rem 1.4rem;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.category-card {
  min-height: 280px;
}

.category-image {
  height: 160px;
  margin: -1.5rem -1.4rem 1rem;
  background-size: cover;
  background-position: center;
  transition: all 200ms ease;
}

.category-card--szkieletowe .category-image {
  background-image: url("https://res.cloudinary.com/dvk2tgtuf/image/upload/v1771847796/wofqnfksanv1ssz4qmws.png");
}

.category-card--bale .category-image {
  background-image: url("https://res.cloudinary.com/dvk2tgtuf/image/upload/v1771848175/fylz2claw6eveufdzzg5.png");
}

.category-card--altany-wiaty .category-image {
  background-image: url("https://res.cloudinary.com/dvk2tgtuf/image/upload/v1771848172/gej2afam88m7u9jrzlxd.png");
}

.category-card--murowane .category-image {
  background-image: url("https://res.cloudinary.com/dvk2tgtuf/image/upload/v1771848572/vrdv3rhenbovihxprrbu.png");
}

/* Hover effects - show hero images */
.category-card--szkieletowe:hover .category-image {
  background-image: url("https://res.cloudinary.com/dvk2tgtuf/image/upload/v1771933406/yseksul51octcfvrjurd.png");
}

.category-card--bale:hover .category-image {
  background-image: url("https://res.cloudinary.com/dvk2tgtuf/image/upload/v1771933404/hwcm9bfxuoqpyia0owhf.png");
}

.category-card--altany-wiaty:hover .category-image {
  background-image: url("https://res.cloudinary.com/dvk2tgtuf/image/upload/v1771933461/xizaqjlyawflgefhuffd.png");
}

.category-card--murowane:hover .category-image {
  background-image: url("https://res.cloudinary.com/dvk2tgtuf/image/upload/v1771933400/vhjgd9cybux8ezamccd7.png");
}

.model-card h3 {
  margin-top: 0.5rem;
  margin-bottom: 0.25rem;
}

.model-desc {
  margin-bottom: 0.9rem;
  font-size: 0.9rem;
  color: #4b5563;
}

.model-tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.tag {
  border-radius: 999px;
  background-color: #faf8f4;
  color: #7d5a28;
  font-size: 0.75rem;
  padding: 0.25rem 0.7rem;
}

.tag--light {
  background-color: #eff6ff;
  color: #1d4ed8;
}

.model-specs {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.35rem;
  margin: 0 0 0.75rem;
}

.model-specs dt {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #9ca3af;
}

.model-specs dd {
  margin: 0;
  font-size: 0.9rem;
  color: #111827;
}

.model-note {
  font-size: 0.85rem;
  color: #6b7280;
  margin-bottom: 1rem;
}

.category-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: #9b6e32;
  text-decoration: none;
  margin-top: auto;
  padding-top: 0.5rem;
  transition: all 250ms ease;
}

.category-link:hover {
  color: #7d5a28;
  gap: 0.75rem;
  text-decoration: none;
}

.model-card {
  display: flex;
  flex-direction: column;
}

.models-footer-note {
  margin-top: 1.75rem;
  font-size: 0.9rem;
  color: #6b7280;
}

.carousel-section {
  background: inherit;
  padding: 6rem 0;
  position: relative;
  overflow: hidden;
}

.carousel-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, #94a3b8, transparent);
}

.carousel {
  position: relative;
}

.carousel-track-container {
  overflow: hidden;
  border-radius: 1.5rem;
  box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.15);
}

.carousel-track {
  display: flex;
  gap: 1.5rem;
  transition: transform 300ms ease;
  will-change: transform;
}

.carousel-slide {
  min-width: 100%;
  border-radius: 1.5rem;
  overflow: hidden;
  background: #ffffff;
  border: none;
  box-shadow: none;
  position: relative;
  transition: transform 400ms cubic-bezier(0.4, 0, 0.2, 1);
}

.carousel-slide::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(15, 23, 42, 0.5) 100%);
  opacity: 0;
  transition: opacity 400ms ease;
  pointer-events: none;
}

.carousel-slide:hover::after {
  opacity: 1;
}

.carousel-slide img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  transition: transform 400ms cubic-bezier(0.4, 0, 0.2, 1);
}

.carousel-slide:hover img {
  transform: scale(1.05);
}

.carousel-caption {
  padding: 1.25rem 1.5rem 1.5rem;
  background: #ffffff;
}

.carousel-caption h3 {
  margin-bottom: 0.4rem;
}

.carousel-caption p {
  margin: 0;
  color: #4b5563;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  border-radius: 999px;
  border: none;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(10px);
  color: #111827;
  font-size: 1.4rem;
  display: grid;
  place-items: center;
  cursor: pointer;
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.2);
  transition: all 300ms cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 10;
}

.carousel-btn:hover {
  background: #ffffff;
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 25px 50px rgba(15, 23, 42, 0.25);
  color: #475569;
}

.carousel-btn--prev {
  left: 1rem;
}

.carousel-btn--next {
  right: 1rem;
}

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

.carousel-indicator {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  border: none;
  background: #d1d5db;
  cursor: pointer;
  transition: all 300ms cubic-bezier(0.4, 0, 0.2, 1);
}

.carousel-indicator:hover {
  background: #9ca3af;
  transform: scale(1.2);
}

.carousel-indicator.active {
  background: #475569;
  width: 28px;
  border-radius: 5px;
}

.carousel--gallery .carousel-slide {
  min-width: calc((100% - 2rem) / 2);
  border-radius: 1.5rem;
}

.carousel--gallery .carousel-slide img {
  height: 380px;
}

.carousel--gallery .carousel-track {
  gap: 2rem;
}

.gallery .image {
  width: 100%;
  height: 160px;
  border-radius: 0.75rem;
  background-image: linear-gradient(135deg, #bbf7d0, #e5e7eb);
}

.placeholder figcaption {
  margin-top: 0.75rem;
  font-size: 0.9rem;
  color: #4b5563;
}

.faq-section {
  background: inherit;
}

.faq-grid {
  display: grid;
  gap: 1.25rem;
  max-width: 900px;
  margin: 0 auto;
}

.faq-item {
  border: 2px solid #f0f0f0;
  border-radius: 1.25rem;
  overflow: hidden;
  background: #ffffff;
  transition: all 300ms cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-item:hover {
  border-color: #d4af9f;
  box-shadow: 0 15px 40px rgba(155, 110, 50, 0.1);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 2rem;
  cursor: pointer;
  user-select: none;
  font-weight: 600;
  font-size: 1.1rem;
  color: #111827;
  transition: all 200ms ease;
}

.faq-question:hover {
  color: #9b6e32;
  background: rgba(155, 110, 50, 0.03);
}

.faq-question span {
  flex: 1;
  text-align: left;
}

.faq-icon {
  width: 24px;
  height: 24px;
  color: #9b6e32;
  margin-left: 1rem;
  flex-shrink: 0;
  transition: transform 300ms ease;
}

details[open] .faq-icon {
  transform: rotate(180deg);
}

.faq-answer {
  padding: 0 2rem 2rem;
  color: #4b5563;
  border-top: 2px solid #f5f5f5;
  animation: slideDown 300ms ease;
}

.faq-answer p {
  margin: 0 0 1rem;
  line-height: 1.8;
}

.faq-answer p:last-of-type {
  margin-bottom: 0;
}

.faq-answer ul,
.faq-answer ol {
  margin: 1rem 0;
  padding-left: 2rem;
  line-height: 1.8;
}

.faq-answer li {
  margin-bottom: 0.5rem;
  color: #4b5563;
}

.faq-answer strong {
  color: #111827;
  font-weight: 700;
}

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

.contact-section {
  background: linear-gradient(135deg, #3a3a3a 0%, #4a4a4a 50%, #3f3f3f 100%);
  padding-bottom: 0;
}

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

.contact-header h2 {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
  color: #ffffff;
}

.contact-header p {
  font-size: 1.1rem;
  color: #d0d0d0;
}

.contact-wrapper {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 3rem;
  align-items: start;
}

.contact-form-container {
  background: linear-gradient(135deg, #424242 0%, #3a3a3a 100%);
  padding: 2.5rem;
  border-radius: 1.25rem;
  border: 1px solid #555555;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.contact-form-container h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  color: #ffffff;
}

.contact-form-container > p {
  color: #b0b0b0;
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
}

.contact-form {
  display: grid;
  gap: 1rem;
  margin-top: 1.5rem;
}

.field label {
  display: block;
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: #e8e8e8;
}

.field input,
.field textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border-radius: 0.75rem;
  border: 1.5px solid #555555;
  font: inherit;
  resize: vertical;
  transition: all 0.3s ease;
  background: #353535;
  color: #ffffff;
}

.field input::placeholder,
.field textarea::placeholder {
  color: #909090;
}

.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: #9b6e32;
  background: #3f3f3f;
  box-shadow: 0 0 0 3px rgba(155, 110, 50, 0.25);
}

.contact-info {
  display: grid;
  gap: 1.5rem;
}

.info-card {
  background: linear-gradient(135deg, #424242 0%, #3a3a3a 100%);
  padding: 1.75rem;
  border-radius: 1.25rem;
  border: 1px solid #555555;
  display: flex;
  gap: 1.25rem;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
}

.info-card:hover {
  border-color: #9b6e32;
  box-shadow: 0 12px 40px rgba(155, 110, 50, 0.3);
  transform: translateY(-2px);
}

.info-icon {
  width: 48px;
  height: 48px;
  min-width: 48px;
  background: linear-gradient(135deg, #555555 0%, #454545 100%);
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #9b6e32;
  border: 1px solid #606060;
}

.info-icon svg {
  width: 24px;
  height: 24px;
}

.info-card h4 {
  font-size: 1rem;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 0.25rem;
}

.info-card p {
  font-size: 0.9rem;
  color: #b0b0b0;
  line-height: 1.5;
}

.contact-details {
  font-size: 0.95rem;
  color: #4b5563;
}

.contact-block {
  margin-bottom: 1rem;
}

.contact-info--inline {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
  align-items: stretch;
  margin-top: 2.5rem;
}
.contact-info--inline .info-card {
  flex: 1 1 260px;
  min-width: 220px;
  max-width: 340px;
  background: rgba(44,44,44,0.95);
  border-radius: 1.5rem;
  box-shadow: 0 6px 32px 0 rgba(0,0,0,0.12);
  padding: 2rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 1.25rem;
  transition: box-shadow 0.2s;
}
.contact-info--inline .info-card:hover {
  box-shadow: 0 12px 40px 0 rgba(0,0,0,0.18);
}
.contact-info--inline .info-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #9b6e32 0%, #d4af9f 100%);
  border-radius: 50%;
}
.contact-info--inline .info-icon svg {
  width: 32px;
  height: 32px;
  stroke: #fff;
}
.contact-info--inline h4 {
  margin: 0 0 0.5rem 0;
  font-size: 1.15rem;
  font-weight: 700;
  color: #fff;
}
.contact-info--inline p {
  margin: 0;
  color: #d0d0d0;
  font-size: 1rem;
}

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

  .contact-header h2 {
    font-size: 2rem;
  }

  .contact-form-container {
    padding: 2rem;
  }

  .proces-header h2 {
    font-size: 2.2rem;
  }

  .accordion-header {
    padding: 1.5rem;
    gap: 1rem;
  }

  .accordion-content {
    padding: 0 1.5rem 1.5rem 1.5rem;
  }

  .accordion-number {
    font-size: 1.5rem;
  }

  .accordion-header h3 {
    font-size: 1.1rem;
  }
}

.detail-hero {
  position: relative;
  padding: 10rem 0 8rem;
  color: #f9fafb;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  min-height: 550px;
  display: flex;
  align-items: center;
}

.detail-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.75));
}

.detail-hero-content {
  position: relative;
  z-index: 1;
  max-width: 720px;
}

.detail-hero h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
  color: #ffffff;
}

.site-footer {
  border-top: 2px solid #d97706;
  padding: 3rem 0 0;
  background: linear-gradient(135deg, #3a3a3a 0%, #4a4a4a 50%, #3f3f3f 100%);
  margin-top: 0;
  color: #e5e7eb;
}

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

.footer-column {
  display: flex;
  flex-direction: column;
}

.footer-column h3 {
  font-size: 0.95rem;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 1rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.footer-column ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-column li {
  font-size: 0.9rem;
  color: #c0c0c0;
}

.footer-column a {
  color: #c0c0c0;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-column a:hover {
  color: #f9fafb;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 2rem 0;
  text-align: center;
  font-size: 0.85rem;
  color: #a0a0a0;
}

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

.footer-bottom a {
  color: #d97706;
  text-decoration: none;
  transition: color 0.3s ease, text-decoration 0.3s ease;
  font-weight: 500;
}

.footer-bottom a:hover {
  color: #f97316;
  text-decoration: underline;
}

.footer-bottom strong {
  color: #f9fafb;
  font-weight: 600;
}

@media (max-width: 900px) {
  .hero-inner,
  .two-columns,
  .grid-3,
  .grid-5 {
    grid-template-columns: 1fr;
  }

	.hero-grid {
		grid-template-columns: 1fr;
	}

  .hero {
    padding-top: 4rem;
  }

  .header-inner {
    padding-inline: 1rem;
  }

  .main-nav ul {
    gap: 1rem;
    font-size: 0.85rem;
  }

  .hero-panel {
    justify-content: flex-start;
  }

  .hero-card {
    max-width: none;
  }

  .models-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .carousel--gallery .carousel-slide {
    min-width: 100%;
  }
}

@media (max-width: 640px) {
  .section {
    padding: 3rem 0;
  }

  .main-nav {
    display: none;
  }

  .header-inner {
    justify-content: center;
  }

  .hero-cta {
    flex-direction: column;
    align-items: stretch;
  }

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

	.models-grid {
		grid-template-columns: 1fr;
	}

  .carousel-btn {
    width: 38px;
    height: 38px;
  }

  .carousel-slide img {
    height: 280px;
  }

  .carousel--gallery .carousel-slide {
    min-width: 100%;
  }

  .carousel--gallery .carousel-slide img {
    height: 260px;
  }
}

/* Animacje */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(-20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.card {
  animation: fadeInUp 600ms ease-out backwards;
}

.card:nth-child(1) { animation-delay: 50ms; }
.card:nth-child(2) { animation-delay: 100ms; }
.card:nth-child(3) { animation-delay: 150ms; }
.card:nth-child(4) { animation-delay: 200ms; }
.card:nth-child(5) { animation-delay: 250ms; }

/* Gallery Grid */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
  padding: 2rem 0;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 0.75rem;
  aspect-ratio: 1;
  margin: 0;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 300ms ease, box-shadow 300ms ease;
}

.gallery-item:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

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

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

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