:root {
  --primary: #0F6B6E;
  --primary-hover: #0C5B5D;
  --gold: #C9A24A;
  --dark: #1C232B;
  --light: #F7F6F2;
  --white: #FFFFFF;
  --radius: 12px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Zapobieganie wyciekom treści poza ekran */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body { 
  margin: 0; font-family: 'Inter', sans-serif; 
  background: var(--light); color: var(--dark); 
  line-height: 1.6; overflow-x: hidden;
}

/* Ukryty Skip-link */
.skip-link {
  position: absolute; top: -100px; left: 20px;
  background: var(--primary); color: white; padding: 10px 20px;
  z-index: 1000; border-radius: 0 0 10px 10px; text-decoration: none;
}
.skip-link:focus { top: 0; }

/* Elastyczny kontener */
.container { 
  width: 100%; 
  max-width: 1120px; 
  margin-inline: auto; 
  padding-inline: 20px; 
}

/* Site Header */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(247, 246, 242, 0.85);
  backdrop-filter: blur(12px); border-bottom: 1px solid rgba(0,0,0,0.05);
}
.header-inner { 
  display: flex; 
  justify-content: space-between; 
  align-items: center; 
  padding: 12px 0; 
  min-height: 60px;
}
.brand-logo { height: 32px; width: auto; display: block; }

.nav { display: flex; align-items: center; gap: 32px; }
.nav a { text-decoration: none; color: var(--dark); font-weight: 500; font-size: 0.95rem; }
.tel { 
  display: inline-flex; 
  align-items: center; 
  gap: 8px; 
  font-weight: 700 !important; 
  text-decoration: none;
  line-height: 1;
}
.tel-dot { width: 8px; height: 8px; background: var(--gold); border-radius: 50%; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 14px 28px; border-radius: 50px; font-weight: 700;
  text-decoration: none; border: none; cursor: pointer; transition: var(--transition);
  text-align: center;
}
.btn--sm { padding: 10px 20px; font-size: 0.85rem; }
.btn--primary { background: var(--primary); color: white; box-shadow: 0 4px 12px rgba(15, 107, 110, 0.2); }
.btn--primary:hover { background: var(--primary-hover); transform: translateY(-2px); box-shadow: 0 8px 20px rgba(15, 107, 110, 0.3); }
.btn--ghost { background: white; color: var(--dark); border: 1px solid rgba(0,0,0,0.1); }
.btn--ghost:hover { background: var(--white); border-color: var(--primary); transform: translateY(-2px); }
.btn--full { width: 100%; }

/* Hero Section */
.hero { position: relative; min-height: 85vh; display: flex; align-items: center; overflow: hidden; }
.hero-media { position: absolute; inset: 0; z-index: 1; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }

.hero-overlay {
  position: absolute; inset: 0; z-index: 2;
  background: linear-gradient(90deg, 
    rgba(247, 246, 242, 0.7) 0%, 
    rgba(247, 246, 242, 0.3) 50%, 
    rgba(247, 246, 242, 0) 100%);
}

.hero-content { position: relative; z-index: 3; max-width: 650px; }
.kicker { font-size: 0.8rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.1em; color: var(--primary); margin-bottom: 16px; }
h1 { font-family: 'Manrope', sans-serif; font-size: clamp(2.2rem, 6vw, 4rem); line-height: 1.1; margin: 0 0 24px; color: var(--dark); text-shadow: 0 2px 10px rgba(255, 255, 255, 0.5); }
.text-gold { color: var(--gold); }
.lead { font-size: 1.2rem; margin-bottom: 32px; color: #4A5568; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

/* Standard Section */
.section { padding: 80px 0; }
.section--white { background: var(--white); }
.section-title { font-family: 'Manrope', sans-serif; font-size: clamp(1.8rem, 4vw, 2.5rem); text-align: center; margin-bottom: 60px; }

.trust-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 30px; }
.trust-card { padding: 30px; background: var(--light); border-radius: var(--radius); transition: var(--transition); }
.trust-card:hover { transform: translateY(-10px); background: #fff; box-shadow: 0 20px 40px rgba(0,0,0,0.05); }
.trust-number { display: block; font-size: 3rem; font-weight: 800; color: rgba(15, 107, 110, 0.1); margin-bottom: -20px; }
.trust-card h3 { font-family: 'Manrope', sans-serif; font-size: 1.4rem; margin-bottom: 16px; position: relative; }

/* Image Break */
.image-break { position: relative; height: 450px; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.image-break-media { position: absolute; inset: 0; z-index: 1; }
.image-break-media img { width: 100%; height: 100%; object-fit: cover; }
.image-break-overlay { position: absolute; inset: 0; z-index: 2; background: rgba(0,0,0,0.5); }
.quote { position: relative; z-index: 3; color: white; font-family: 'Manrope', sans-serif; font-size: clamp(1.3rem, 4vw, 2.2rem); text-align: center; max-width: 850px; font-weight: 700; font-style: italic; padding: 20px; }

/* Contact Form - FIX DLA MOBILE */
.contact-wrapper { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.contact-pill { display: inline-block; padding: 12px 24px; background: var(--white); border-radius: 50px; margin-top: 24px; border: 1px solid rgba(0,0,0,0.05); font-size: 0.9rem; }

.contact-form { 
  background: white; 
  padding: clamp(20px, 5vw, 40px); 
  border-radius: 24px; 
  box-shadow: 0 30px 60px rgba(0,0,0,0.1); 
  width: 100%; /* Zapewnia, że nie wyjdzie poza kontener */
}
.input-group { margin-bottom: 18px; }
.input-group label { display: block; font-size: 0.7rem; font-weight: 800; text-transform: uppercase; margin-bottom: 6px; color: #718096; }
.input-group input, .input-group select { 
  width: 100%; 
  padding: 12px; 
  border: 1px solid #E2E8F0; 
  border-radius: 10px; 
  background: #F8FAFC; 
  font-family: inherit; 
  font-size: 1rem; 
}

/* Footer */
.footer { padding: 50px 0; background: #eee; }
.footer-content { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 20px; }
.footer-logo { height: 35px; width: auto; margin-bottom: 10px; }
.footer-links a { margin-left: 20px; text-decoration: none; color: var(--dark); font-weight: 600; }

/* --- MOBILE QUERIES --- */
@media (max-width: 900px) {
  .nav a:not(.tel), .btn--sm { display: none; }
  
  .header-inner { padding: 8px 0; }
  .brand-logo { height: 26px; }

  .tel {
    font-size: 0.85rem;
    padding: 8px 14px;
    background: white;
    border-radius: 50px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  }

  .hero-content { text-align: center; }
  .hero-actions { justify-content: center; }
  .hero-overlay {
    background: linear-gradient(180deg, rgba(247, 246, 242, 0.9) 0%, rgba(247, 246, 242, 0.6) 100%);
  }

  .contact-wrapper { grid-template-columns: 1fr; gap: 40px; }
  .contact-text { text-align: center; }
  
  .footer-content { flex-direction: column; text-align: center; }
  .footer-links a { margin: 0 10px; }
}

@media (max-width: 480px) {
  .hero-actions .btn { width: 100%; margin-left: 0 !important; }
  .section { padding: 60px 0; }
}