/* =============================================
   PRECZ Z GRATAMI – Główny arkusz stylów
   Mobile-first, responsywny
   ============================================= */


/* =============================================
   ZMIENNE
   ============================================= */
:root {
  --orange: #F07820;
  --orange-dark: #D4661A;
  --orange-light: #FFF3E8;
  --green: #2D7A3A;
  --green-dark: #1F5A29;
  --whatsapp: #25D366;
  --whatsapp-dark: #128C7E;
  --dark: #1A1A1A;
  --text: #333333;
  --text-muted: #666666;
  --bg: #FFFFFF;
  --bg-gray: #F7F7F5;
  --border: #E5E5E5;
  --white: #FFFFFF;

  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --radius: 10px;
  --radius-lg: 16px;
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.07);
  --shadow: 0 4px 16px rgba(0,0,0,0.10);
  --shadow-lg: 0 8px 32px rgba(0,0,0,0.14);

  --header-h: 68px;
  --container: 1180px;
  --gap: 24px;
}

/* =============================================
   RESET & BASE
   ============================================= */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
}

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

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

a:hover {
  color: var(--orange-dark);
}

ul {
  list-style: none;
}

/* =============================================
   LAYOUT HELPERS
   ============================================= */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 16px;
}

@media (min-width: 768px) {
  .container { padding: 0 32px; }
}

.section {
  padding: 56px 0;
}

@media (min-width: 768px) {
  .section { padding: 80px 0; }
}

.section__header {
  text-align: center;
  margin-bottom: 40px;
}

.section__label {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 10px;
}

.section__title {
  font-size: clamp(24px, 5vw, 38px);
  font-weight: 800;
  color: var(--dark);
  line-height: 1.2;
}

.section__subtitle {
  margin-top: 14px;
  font-size: 17px;
  color: var(--text-muted);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* =============================================
   PRZYCISKI
   ============================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 24px;
  min-height: 52px;
  font-family: var(--font);
  font-size: 16px;
  font-weight: 700;
  border-radius: var(--radius);
  border: 2px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.1s, box-shadow 0.2s;
  white-space: nowrap;
  line-height: 1;
}

.btn:active { transform: scale(0.97); }

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

.btn--primary:hover {
  background: var(--orange-dark);
  border-color: var(--orange-dark);
  color: var(--white);
  box-shadow: 0 4px 16px rgba(240,120,32,0.35);
}

.btn--secondary {
  background: transparent;
  color: var(--orange);
  border-color: var(--orange);
}

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

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

.btn--white:hover {
  background: var(--orange-light);
  color: var(--orange-dark);
}

.btn--phone {
  background: var(--green);
  color: var(--white);
  border-color: var(--green);
  font-size: 17px;
}

.btn--phone:hover {
  background: var(--green-dark);
  border-color: var(--green-dark);
  color: var(--white);
}

.btn--lg {
  padding: 16px 32px;
  min-height: 56px;
  font-size: 17px;
}

.btn--full {
  width: 100%;
}

/* =============================================
   NAGŁÓWEK (STICKY)
   ============================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--dark);
  height: var(--header-h);
  box-shadow: 0 2px 16px rgba(0,0,0,0.25);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: 16px;
}

.site-header__logo {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  text-decoration: none;
}

.site-header__logo img {
  height: 50px;
  width: auto;
}

.site-nav {
  display: none;
}

@media (min-width: 900px) {
  .site-nav {
    display: flex;
    align-items: center;
    gap: 4px;
  }
}

.site-nav a {
  color: rgba(255,255,255,0.85);
  font-size: 15px;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: 6px;
  transition: background 0.15s, color 0.15s;
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a.active {
  background: rgba(255,255,255,0.1);
  color: var(--white);
}

.site-header__phone {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
}

.header-phone-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--orange);
  color: var(--white);
  font-weight: 700;
  font-size: 16px;
  padding: 10px 18px;
  border-radius: var(--radius);
  text-decoration: none;
  transition: background 0.2s;
  white-space: nowrap;
  min-height: 44px;
}

.header-phone-link:hover {
  background: var(--orange-dark);
  color: var(--white);
}

.header-phone-link .phone-icon {
  font-size: 18px;
}

@media (max-width: 480px) {
  .header-phone-number { display: none; }
  .header-phone-link { padding: 10px 14px; }
}

/* Hamburger */
.hamburger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  border-radius: 6px;
  flex-shrink: 0;
}

.hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform 0.25s, opacity 0.25s;
}

.hamburger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.is-open span:nth-child(2) { opacity: 0; }
.hamburger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (min-width: 900px) {
  .hamburger { display: none; }
}

/* Mobile Menu */
.mobile-nav {
  display: none;
  background: #111;
  border-top: 1px solid rgba(255,255,255,0.1);
  position: absolute;
  top: var(--header-h);
  left: 0;
  right: 0;
  z-index: 99;
  box-shadow: 0 8px 24px rgba(0,0,0,0.3);
}

.mobile-nav.is-open {
  display: block;
}

.mobile-nav a {
  display: block;
  color: rgba(255,255,255,0.9);
  font-size: 17px;
  font-weight: 500;
  padding: 16px 24px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  text-decoration: none;
  transition: background 0.15s;
}

.mobile-nav a:hover {
  background: rgba(255,255,255,0.07);
  color: var(--white);
}

.mobile-nav a.mobile-cta {
  color: var(--orange);
  font-weight: 700;
}

/* =============================================
   HERO
   ============================================= */
.hero {
  position: relative;
  min-height: calc(100svh - var(--header-h));
  min-height: calc(100vh - var(--header-h));
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, #1A1A1A 0%, #2C2C2C 100%);
  overflow: hidden;
}

.hero__bg-image {
  position: absolute;
  inset: 0;
  background-image: url('../assets/hero_bg_mobile.webp');
  background-size: cover;
  background-position: center;
  opacity: 0.22;
}
@media (min-width: 768px) {
  .hero__bg-image { background-image: url('../assets/hero_bg.webp'); }
}

.hero__content {
  position: relative;
  z-index: 1;
  padding: 48px 16px;
  text-align: center;
}

@media (min-width: 768px) {
  .hero__content {
    text-align: left;
    max-width: 680px;
    padding: 64px 32px;
  }
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(240,120,32,0.2);
  border: 1px solid rgba(240,120,32,0.4);
  color: #FFB37A;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 20px;
}

.hero__title {
  font-size: clamp(30px, 7vw, 58px);
  font-weight: 800;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 18px;
}

.hero__title span {
  color: var(--orange);
}

.hero__subtitle {
  font-size: clamp(16px, 2.5vw, 20px);
  color: rgba(255,255,255,0.75);
  margin-bottom: 36px;
  max-width: 540px;
  margin-left: auto;
  margin-right: auto;
}

@media (min-width: 768px) {
  .hero__subtitle {
    margin-left: 0;
    margin-right: 0;
  }
}

.hero__ctas {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
}

@media (min-width: 480px) {
  .hero__ctas {
    flex-direction: row;
    justify-content: center;
    flex-wrap: wrap;
  }
}

@media (min-width: 768px) {
  .hero__ctas { justify-content: flex-start; }
  .hero__ctas .btn--whatsapp { display: none; }
}

.hero__trust {
  margin-top: 36px;
  display: flex;
  align-items: center;
  gap: 24px;
  justify-content: center;
  flex-wrap: wrap;
}

@media (min-width: 768px) {
  .hero__trust { justify-content: flex-start; }
}

.hero__trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.65);
  font-size: 14px;
}

.hero__trust-item svg {
  color: var(--orange);
  flex-shrink: 0;
}

/* =============================================
   SEKCJA USŁUGI
   ============================================= */
.services {
  background: var(--bg);
}

.services__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

@media (min-width: 960px) {
  .services__grid { grid-template-columns: repeat(3, 1fr); gap: var(--gap); }
}

.service-card {
  display: flex;
  flex-direction: column;
  background: var(--bg-gray);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: box-shadow 0.2s, transform 0.2s;
}

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

.service-card__image {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.service-card__body {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.service-card__icon {
  font-size: 36px;
  margin-bottom: 14px;
  line-height: 1;
}

.service-card__title {
  font-size: 20px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 10px;
}

.service-card__desc {
  color: var(--text-muted);
  font-size: 15px;
  flex: 1;
  margin-bottom: 20px;
}

@media (max-width: 639px) {
  .service-card__body {
    padding: 14px;
    display: grid;
    grid-template-columns: auto 1fr;
    grid-template-rows: auto auto;
    column-gap: 10px;
    row-gap: 0;
  }
  .service-card__icon {
    font-size: 22px;
    margin-bottom: 0;
    grid-column: 1;
    grid-row: 1;
    align-self: center;
    line-height: 1.2;
  }
  .service-card__title {
    font-size: 14px;
    margin-bottom: 0;
    grid-column: 2;
    grid-row: 1;
    align-self: center;
    line-height: 1.3;
  }
  .service-card__desc {
    display: none;
  }
  .service-card .btn {
    grid-column: 1 / -1;
    grid-row: 2;
    margin-top: 12px;
    font-size: 13px;
    padding: 9px 12px;
  }
}

/* =============================================
   PASEK STATYSTYK
   ============================================= */
.stats-bar {
  background: var(--dark);
  padding: 40px 0;
}

.stats-bar__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px 16px;
}

@media (min-width: 640px) {
  .stats-bar__grid { grid-template-columns: repeat(4, 1fr); gap: 0; }
}

.stats-bar__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 6px;
}

@media (min-width: 640px) {
  .stats-bar__item {
    border-right: 1px solid rgba(255,255,255,0.12);
    padding: 0 24px;
  }
  .stats-bar__item:last-child { border-right: none; }
}

.stats-bar__num {
  font-size: 42px;
  font-weight: 800;
  color: var(--orange);
  line-height: 1;
  letter-spacing: -0.02em;
}

.stats-bar__plus {
  font-size: 28px;
}

.stats-bar__label {
  font-size: 13px;
  color: rgba(255,255,255,0.65);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* =============================================
   MID-PAGE CTA
   ============================================= */
.mid-cta {
  background: var(--orange);
  padding: 28px 0;
}

.mid-cta__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  text-align: center;
}

@media (min-width: 768px) {
  .mid-cta__inner {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

.mid-cta__text {
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  margin: 0;
}

.mid-cta__btns {
  display: flex;
  gap: 12px;
  flex-shrink: 0;
  flex-wrap: wrap;
  justify-content: center;
}

.mid-cta .btn--phone {
  background: #fff;
  color: var(--dark);
  border-color: #fff;
}

.mid-cta .btn--phone:hover {
  background: rgba(255,255,255,0.9);
}

.mid-cta .btn--primary {
  background: var(--dark);
  border-color: var(--dark);
}

/* =============================================
   SEKCJA DLACZEGO MY
   ============================================= */
.why-us {
  background: var(--bg-gray);
}

.why-us__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

@media (min-width: 640px) {
  .why-us__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 960px) {
  .why-us__grid { grid-template-columns: repeat(4, 1fr); }
}

.why-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  text-align: center;
  box-shadow: var(--shadow-sm);
}

.why-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  background: var(--orange-light);
  border-radius: 50%;
  font-size: 28px;
  margin: 0 auto 16px;
  line-height: 1;
}

.why-card__title {
  font-size: 17px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 8px;
}

.why-card__desc {
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.5;
}

/* =============================================
   GALERIA
   ============================================= */
.gallery {
  background: var(--bg);
}

.gallery__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

@media (min-width: 640px) {
  .gallery__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 960px) {
  .gallery__grid { grid-template-columns: repeat(3, 1fr); }
}

.gallery__item {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-gray);
  display: flex;
  flex-direction: column;
}

.gallery__item .gallery__photo {
  overflow: hidden;
  position: relative;
}

.gallery__item img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.3s;
}

@media (min-width: 640px) {
  .gallery__item .gallery__photo { aspect-ratio: 3/2; }
  .gallery__item img { height: 100%; object-fit: cover; }
}

.gallery__item:hover img {
  transform: scale(1.04);
}

.gallery__caption {
  padding: 10px 14px;
  font-size: 13px;
  font-weight: 600;
  color: var(--dark);
  background: #fff;
  border-top: 1px solid #eee;
  line-height: 1.4;
}

.gallery__label {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(0,0,0,0.65);
  color: white;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 100px;
}

.gallery__label--after {
  background: var(--green);
}

.gallery__item--featured {
  grid-column: span 2;
}

.gallery__item--featured .gallery__photo {
  min-height: 200px;
}

.gallery__item--composite {
  aspect-ratio: auto;
}

.gallery__item--composite img {
  height: auto;
  object-fit: contain;
  background: #f5f5f5;
}

/* =============================================
   PLACEHOLDER ZDJĘĆ (zamiast Unsplash)
   ============================================= */
.placeholder-img {
  width: 100%;
  background: linear-gradient(135deg, #f5f5f3 0%, #e8e8e5 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: var(--radius-lg);
  border: 2px dashed var(--border);
}

.service-card .placeholder-img { height: 200px; }
.service-detail__image .placeholder-img { height: 340px; }
.about-intro__image .placeholder-img { height: 340px; width: 100%; }

.gallery__item .placeholder-img {
  position: absolute;
  inset: 0;
  border-radius: 0;
  border: none;
}

.placeholder-img__icon {
  font-size: 44px;
  opacity: 0.28;
  line-height: 1;
}

.placeholder-img__text {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
  opacity: 0.55;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* =============================================
   OPINIE
   ============================================= */
.reviews {
  background: var(--bg-gray);
}

.reviews__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--gap);
}

@media (min-width: 640px) {
  .reviews__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 960px) {
  .reviews__grid { grid-template-columns: repeat(4, 1fr); }
}

.review-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  position: relative;
}

.review-card__stars {
  color: #F5B800;
  font-size: 18px;
  letter-spacing: 2px;
  margin-bottom: 12px;
}

.review-card__text {
  color: var(--text);
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 16px;
}

.review-card__author {
  font-weight: 700;
  color: var(--dark);
  font-size: 14px;
}

.review-card__location {
  color: var(--text-muted);
  font-size: 13px;
}

/* =============================================
   FORMULARZ WYCENY
   ============================================= */
.quote-section {
  background: var(--dark);
  color: var(--white);
}

.quote-section .section__title {
  color: var(--white);
}

.quote-section .section__subtitle {
  color: rgba(255,255,255,0.7);
}

.quote-form {
  max-width: 760px;
  margin: 0 auto;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px 24px;
  box-shadow: var(--shadow-lg);
}

@media (min-width: 640px) {
  .quote-form { padding: 40px 40px; }
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

@media (min-width: 640px) {
  .form-grid { grid-template-columns: repeat(2, 1fr); }
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group--full {
  grid-column: 1 / -1;
}

.form-group label {
  font-size: 14px;
  font-weight: 600;
  color: var(--dark);
}

.form-group label .required {
  color: var(--orange);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 13px 16px;
  font-family: var(--font);
  font-size: 16px;
  color: var(--text);
  background: var(--bg-gray);
  border: 2px solid var(--border);
  border-radius: var(--radius);
  transition: border-color 0.2s, background 0.2s;
  appearance: none;
  -webkit-appearance: none;
  min-height: 48px;
}

.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 44px;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--orange);
  background: var(--white);
}

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

.form-group input[type="file"] {
  padding: 10px 12px;
  cursor: pointer;
  font-size: 14px;
}

.form-note {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 4px;
}

.form-submit {
  margin-top: 8px;
}

/* =============================================
   CTA BANNER
   ============================================= */
.cta-banner {
  background: var(--orange);
  padding: 48px 0;
  text-align: center;
}

.cta-banner__title {
  font-size: clamp(22px, 4vw, 34px);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 10px;
}

.cta-banner__sub {
  color: rgba(255,255,255,0.85);
  font-size: 17px;
  margin-bottom: 28px;
}

.cta-banner__buttons {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

/* =============================================
   STOPKA
   ============================================= */
.site-footer {
  background: #111;
  color: rgba(255,255,255,0.7);
  padding: 56px 0 32px;
}

.site-footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
  margin-bottom: 40px;
}

@media (min-width: 640px) {
  .site-footer__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 960px) {
  .site-footer__grid { grid-template-columns: 2fr 1fr 1fr 1fr; }
}

.footer-brand__logo {
  height: 52px;
  width: auto;
  margin-bottom: 16px;
}

.footer-brand__desc {
  font-size: 14px;
  line-height: 1.7;
  max-width: 280px;
}

.footer-col__title {
  color: var(--white);
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 16px;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul a {
  color: rgba(255,255,255,0.65);
  font-size: 14px;
  text-decoration: none;
  transition: color 0.15s;
}

.footer-col ul a:hover {
  color: var(--orange);
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  margin-bottom: 12px;
}

.footer-contact-item .ico {
  color: var(--orange);
  flex-shrink: 0;
  margin-top: 2px;
}

.footer-phone-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--orange);
  font-weight: 700;
  font-size: 18px;
  text-decoration: none;
  transition: color 0.15s;
}

.footer-phone-link:hover {
  color: #FFB37A;
}

.site-footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
  text-align: center;
  font-size: 13px;
  color: rgba(255,255,255,0.45);
}

@media (min-width: 640px) {
  .site-footer__bottom {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

/* =============================================
   STRONA USŁUGI – szczegóły
   ============================================= */
.page-hero {
  background: linear-gradient(135deg, #1A1A1A 0%, #2C2C2C 100%);
  padding: 56px 0 48px;
  text-align: center;
}

.page-hero__title {
  font-size: clamp(28px, 5vw, 48px);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 14px;
}

.page-hero__sub {
  color: rgba(255,255,255,0.7);
  font-size: 18px;
  max-width: 560px;
  margin: 0 auto 28px;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  justify-content: center;
  margin-bottom: 20px;
}

.breadcrumb a {
  color: rgba(255,255,255,0.5);
  text-decoration: none;
}

.breadcrumb a:hover { color: var(--orange); }
.breadcrumb span { color: rgba(255,255,255,0.3); }

/* Sekcja usługi szczegółowej */
.service-detail {
  padding: 64px 0;
}

.service-detail:nth-child(even) {
  background: var(--bg-gray);
}

.service-detail__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
}

@media (min-width: 768px) {
  .service-detail__inner {
    grid-template-columns: 1fr 1fr;
    gap: 60px;
  }

  .service-detail__inner--reverse .service-detail__image {
    order: 2;
  }

  .service-detail__inner--reverse .service-detail__content {
    order: 1;
  }
}

/* Section without photo – content centred, comfortable reading width */
.service-detail__inner--full {
  display: block;
  max-width: 740px;
  margin: 0 auto;
}

.about-intro__inner--full {
  display: block;
  max-width: 740px;
  margin: 0 auto;
}

.service-detail__image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.service-detail__label {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 10px;
}

.service-detail__title {
  font-size: clamp(22px, 4vw, 32px);
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 14px;
  line-height: 1.25;
}

.service-detail__text {
  color: var(--text-muted);
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 20px;
}

.service-detail__list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 28px;
}

.service-detail__list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 15px;
  color: var(--text);
}

.service-detail__list li::before {
  content: '✓';
  color: var(--green);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}

.service-detail__photos {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 40px;
  padding-top: 40px;
  border-top: 1px solid #e8e8e8;
}

@media (min-width: 640px) {
  .service-detail__photos { grid-template-columns: repeat(4, 1fr); }
}

.service-detail__photos figure {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-gray);
}

.service-detail__photos img {
  width: 100%;
  height: auto;
  display: block;
}

.service-detail__photos figcaption {
  font-size: 12px;
  color: var(--text-muted);
  padding: 6px 10px;
  font-weight: 500;
}

/* =============================================
   STRONA O NAS
   ============================================= */
.about-intro {
  background: var(--bg);
}

.about-intro__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
}

@media (min-width: 768px) {
  .about-intro__inner { grid-template-columns: 1fr 1fr; }
  .about-intro__inner--full { grid-template-columns: 1fr; display: block; max-width: 740px; margin: 0 auto; }
}

.about-intro__image img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  max-height: 460px;
  object-fit: cover;
}

.about-stats {
  background: var(--bg-gray);
}

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

@media (min-width: 640px) {
  .stats-grid { grid-template-columns: repeat(4, 1fr); }
}

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

.stat-item__number {
  font-size: clamp(36px, 6vw, 52px);
  font-weight: 800;
  color: var(--orange);
  line-height: 1;
}

.stat-item__label {
  font-size: 14px;
  color: var(--text-muted);
  margin-top: 6px;
}

/* =============================================
   STRONA KONTAKT
   ============================================= */
.contact-info {
  background: var(--bg-gray);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}

@media (min-width: 768px) {
  .contact-grid { grid-template-columns: 1fr 2fr; }
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-item {
  display: flex;
  gap: 14px;
}

.contact-item__icon {
  width: 46px;
  height: 46px;
  background: var(--orange-light);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
}

.contact-item__label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 4px;
}

.contact-item__value {
  font-size: 16px;
  color: var(--dark);
  font-weight: 600;
}

.contact-item__value a {
  color: var(--dark);
  text-decoration: none;
}

.contact-item__value a:hover {
  color: var(--orange);
}

/* Mapa placeholder */
.map-placeholder {
  background: var(--bg-gray);
  border-radius: var(--radius-lg);
  height: 300px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border: 2px dashed var(--border);
  color: var(--text-muted);
  font-size: 15px;
}

.map-placeholder__icon {
  font-size: 40px;
  opacity: 0.4;
}

/* =============================================
   STRONA DZIĘKUJEMY
   ============================================= */
.thankyou-section {
  min-height: calc(100vh - var(--header-h));
  display: flex;
  align-items: center;
  background: var(--bg-gray);
  padding: 64px 0;
}

.thankyou-box {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 48px 32px;
  text-align: center;
  max-width: 560px;
  margin: 0 auto;
  box-shadow: var(--shadow-lg);
}

.thankyou-box__icon {
  font-size: 64px;
  margin-bottom: 20px;
  line-height: 1;
}

.thankyou-box__title {
  font-size: 30px;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 14px;
}

.thankyou-box__text {
  color: var(--text-muted);
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 28px;
}

/* =============================================
   UTILITIES
   ============================================= */
.text-center { text-align: center; }
.text-orange { color: var(--orange); }
.mt-8 { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mb-0 { margin-bottom: 0; }

/* Skip link (accessibility) */
.skip-link {
  position: absolute;
  top: -60px;
  left: 16px;
  background: var(--orange);
  color: white;
  padding: 8px 16px;
  border-radius: var(--radius);
  font-weight: 700;
  z-index: 9999;
  transition: top 0.2s;
}

.skip-link:focus {
  top: 8px;
}

/* Focus visible */
:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 2px;
}

/* Styled file input */
/* =============================================
   WHATSAPP BUTTON + FLOAT WIDGET
   ============================================= */

.btn--whatsapp {
  background: var(--whatsapp);
  color: #fff;
  border-color: var(--whatsapp);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn--whatsapp:hover {
  background: var(--whatsapp-dark);
  border-color: var(--whatsapp-dark);
  color: #fff;
  box-shadow: 0 4px 16px rgba(37,211,102,0.4);
}

.btn--whatsapp svg,
.wa-float svg {
  flex-shrink: 0;
}

/* Floating WhatsApp button */
.wa-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 900;
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--whatsapp);
  color: #fff;
  border-radius: 50px;
  padding: 13px 20px 13px 16px;
  font-size: 15px;
  font-weight: 700;
  font-family: var(--font);
  text-decoration: none;
  box-shadow: 0 4px 20px rgba(37,211,102,0.45);
  transition: background 0.2s, box-shadow 0.2s, transform 0.2s, padding 0.25s, opacity 0.3s;
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
}

.wa-float.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.wa-float:hover {
  background: var(--whatsapp-dark);
  box-shadow: 0 6px 28px rgba(37,211,102,0.55);
  transform: translateY(-2px);
}

.wa-float__label {
  white-space: nowrap;
}

/* Collapse to icon-only on small screens */
@media (max-width: 480px) {
  .wa-float {
    bottom: 20px;
    right: 20px;
    padding: 14px;
    border-radius: 50%;
  }
  .wa-float__label { display: none; }
}

/* Pulse ring on load */
@keyframes wa-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(37,211,102,0.5); }
  70%  { box-shadow: 0 0 0 14px rgba(37,211,102,0); }
  100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); }
}

.wa-float.is-visible {
  animation: wa-pulse 2s ease-out 0.8s 3;
}

.wa-float.is-visible:hover {
  animation: none;
}

input[type="file"] {
  width: 100%;
  padding: 12px 16px;
  background: var(--bg-card);
  border: 1.5px dashed var(--border);
  border-radius: var(--radius);
  color: var(--text-muted);
  font-size: 14px;
  font-family: inherit;
  cursor: pointer;
}
input[type="file"]::file-selector-button {
  background: var(--orange);
  color: #fff;
  border: none;
  padding: 6px 14px;
  border-radius: calc(var(--radius) - 2px);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  margin-right: 12px;
}
