/* Reset */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Poppins", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #1f2933;
  background-color: #f5f7fb;
  line-height: 1.6;
}

/* Kolory */
:root {
  --bg-main: #f5f7fb;
  --bg-alt: #ffffff;
  --accent: #32b7c6; /* morski / niebiesko-zielony */
  --accent-dark: #1c8e99;
  --accent-soft: #e0f7fa;
  --text-main: #1f2933;
  --text-muted: #6b7280;
  --border-soft: rgba(15, 118, 137, 0.18);
  --shadow-soft: 0 18px 40px rgba(15, 23, 42, 0.12);
}

/* Layout */

.container {
  width: min(1120px, 100% - 3rem);
  margin-inline: auto;
}

.section {
  padding: 5rem 0;
}

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

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

.section-header p {
  max-width: 640px;
  margin-inline: auto;
  color: var(--text-muted);
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background-color: rgba(245, 247, 251, 0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(148, 163, 184, 0.2);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo-mark {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  background: radial-gradient(circle at 30% 30%, #e0f7fa, #32b7c6);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0f172a;
  font-weight: 700;
}

.logo-text {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.logo-name {
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.95rem;
}

.logo-accent {
  color: var(--accent-dark);
}

.logo-tagline {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.main-nav ul {
  display: flex;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 1.5rem;
}

.main-nav a {
  text-decoration: none;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--text-main);
  position: relative;
  padding-block: 0.2rem;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 2px;
  width: 0;
  background: linear-gradient(90deg, var(--accent), var(--accent-dark));
  transition: width 0.18s ease;
}

.main-nav a:hover::after {
  width: 100%;
}

/* Hamburger */

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
}

.nav-toggle span {
  width: 22px;
  height: 2px;
  border-radius: 999px;
  background-color: #0f172a;
}

/* HERO */

.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  background-image:
    linear-gradient(to right, rgba(15, 23, 42, 0.78), rgba(15, 23, 42, 0.35)),
    url("https://images.pexels.com/photos/3768910/pexels-photo-3768910.jpeg");
  background-size: cover;
  background-position: center;
  color: #f9fafb;
}

.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
  gap: 2.5rem;
  align-items: center;
  padding-block: 5rem;
}

.hero-text h1 {
  font-size: clamp(2.6rem, 5vw, 3.4rem);
  margin-bottom: 0.4rem;
}

.hero-slogan {
  font-size: 1.1rem;
  font-weight: 500;
  margin-bottom: 1.5rem;
  color: #e5f9fc;
}

.hero-subtitle {
  max-width: 540px;
  margin-bottom: 2rem;
  color: #e2e8f0;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.hero-highlight {
  background-color: rgba(15, 23, 42, 0.78);
  border-radius: 1.4rem;
  padding: 1.5rem 1.75rem;
  border: 1px solid rgba(148, 163, 184, 0.4);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.65);
}

.hero-highlight ul {
  margin: 0;
  padding-left: 1.2rem;
  color: #e5e7eb;
  font-size: 0.95rem;
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.6rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 0.95rem;
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.12s ease, box-shadow 0.12s ease,
  background 0.12s ease, color 0.12s ease;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  color: #f9fafb;
  box-shadow: 0 18px 40px rgba(15, 118, 137, 0.6);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 22px 46px rgba(15, 118, 137, 0.7);
}

.btn-outline {
  border-color: rgba(241, 245, 249, 0.8);
  color: #e5f9fc;
  background-color: transparent;
}

.btn-outline:hover {
  background-color: rgba(15, 23, 42, 0.3);
}

.btn-full {
  width: 100%;
}

/* O FIRMIE */

.section-about {
  background-color: var(--bg-main);
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 2.2fr) minmax(0, 1.8fr);
  gap: 3rem;
  align-items: start;
}

.about-grid p {
  color: var(--text-muted);
}

.about-card {
  background-color: var(--bg-alt);
  border-radius: 1.5rem;
  padding: 2rem 1.8rem;
  border: 1px solid var(--border-soft);
  box-shadow: var(--shadow-soft);
}

.about-card ul {
  margin: 0.5rem 0 0;
  padding-left: 1.2rem;
}

/* USŁUGI */

.section-services {
  background-color: var(--bg-alt);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2rem;
}

.service-card {
  background-color: #ffffff;
  border-radius: 1.5rem;
  padding: 2rem 1.7rem;
  border: 1px solid rgba(148, 163, 184, 0.35);
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.service-card p {
  color: var(--text-muted);
}

.service-card ul {
  margin: 0.2rem 0 0;
  padding-left: 1.15rem;
  font-size: 0.9rem;
  color: var(--text-main);
}

.service-icon {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: radial-gradient(circle at 30% 30%, #e0f7fa, #32b7c6);
  margin-bottom: 0.9rem;
  position: relative;
}

.service-icon::before,
.service-icon::after {
  content: "";
  position: absolute;
}

/* proste "piktogramy" */
.service-icon-home::before {
  left: 11px;
  bottom: 10px;
  width: 22px;
  height: 16px;
  border-radius: 4px;
  background-color: #f9fafb;
}

.service-icon-home::after {
  left: 11px;
  top: 10px;
  border-left: 11px solid transparent;
  border-right: 11px solid transparent;
  border-bottom: 11px solid #f9fafb;
}

.service-icon-office::before {
  left: 11px;
  top: 10px;
  width: 20px;
  height: 20px;
  border-radius: 4px;
  background-color: #f9fafb;
}

.service-icon-office::after {
  left: 15px;
  top: 14px;
  width: 12px;
  height: 12px;
  background: repeating-linear-gradient(
    to bottom,
    #e2e8f0,
    #e2e8f0 2px,
    transparent 2px,
    transparent 4px
  );
}

.service-icon-building::before {
  left: 9px;
  top: 8px;
  width: 26px;
  height: 20px;
  border-radius: 4px;
  background-color: #f9fafb;
}

.service-icon-building::after {
  left: 15px;
  top: 14px;
  width: 14px;
  height: 12px;
  background: repeating-linear-gradient(
    to right,
    #e2e8f0,
    #e2e8f0 2px,
    transparent 2px,
    transparent 5px
  );
}

/* DLACZEGO MY */

.section-why {
  background-color: var(--bg-main);
}

.why-grid {
  display: grid;
  grid-template-columns: minmax(0, 2.2fr) minmax(0, 1.8fr);
  gap: 3rem;
}

.pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin: 1.3rem 0 1rem;
}

.pill-item {
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  background-color: var(--accent-soft);
  border: 1px solid rgba(148, 163, 184, 0.5);
  font-size: 0.85rem;
  color: var(--text-main);
}

.why-grid p {
  color: var(--text-muted);
}

.testimonials {
  background-color: var(--bg-alt);
  border-radius: 1.5rem;
  padding: 2rem 1.8rem;
  border: 1px solid var(--border-soft);
  box-shadow: var(--shadow-soft);
}

.testimonial + .testimonial {
  margin-top: 1.3rem;
}

.quote {
  font-size: 0.95rem;
  color: var(--text-main);
}

.author {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 0.4rem;
}

/* OBSZAR DZIAŁANIA */

.section-areas {
  background-color: var(--bg-alt);
}

.areas-grid {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 2fr);
  gap: 3rem;
  align-items: center;
}

.area-list {
  margin: 1rem 0 0;
  padding-left: 1.2rem;
}

.area-list li {
  margin-bottom: 0.5rem;
}

.areas-map {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.map-visual {
  border-radius: 1.5rem;
  background: radial-gradient(circle at 30% 30%, #e0f7fa, #0f172a);
  min-height: 220px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

.map-label {
  position: absolute;
  padding: 0.4rem 0.8rem;
  border-radius: 999px;
  background-color: rgba(15, 23, 42, 0.9);
  color: #f9fafb;
  font-size: 0.8rem;
  border: 1px solid rgba(148, 163, 184, 0.7);
}

.map-ilawa {
  top: 32%;
  left: 20%;
}

.map-gdansk {
  top: 40%;
  right: 18%;
}

.map-note {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* KONTAKT */

.section-contact {
  background-color: var(--bg-main);
}

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

.contact-grid p {
  color: var(--text-muted);
}

.contact-details {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 0;
}

.contact-details li {
  margin-bottom: 0.6rem;
}

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

.contact-details a:hover {
  text-decoration: underline;
}

.contact-form-card {
  background-color: var(--bg-alt);
  border-radius: 1.5rem;
  padding: 2rem 1.8rem;
  border: 1px solid var(--border-soft);
  box-shadow: var(--shadow-soft);
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  margin-bottom: 1rem;
}

label {
  font-size: 0.9rem;
  font-weight: 500;
}

input,
textarea,
select {
  padding: 0.7rem 0.8rem;
  border-radius: 0.9rem;
  border: 1px solid rgba(148, 163, 184, 0.9);
  font-family: inherit;
  font-size: 0.95rem;
  background-color: #f9fafb;
}

input:focus,
textarea:focus,
select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 1px rgba(50, 183, 198, 0.6);
}

textarea {
  resize: vertical;
}

.form-note {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 0.75rem;
}

.form-status {
  font-size: 0.85rem;
  margin-top: 0.7rem;
}

/* FAQ */

.section-faq {
  background-color: var(--bg-alt);
}

.faq-list {
  max-width: 720px;
  margin: 0 auto;
  display: grid;
  gap: 0.85rem;
}

.faq-item {
  border-radius: 1rem;
  background-color: #ffffff;
  border: 1px solid rgba(148, 163, 184, 0.5);
  overflow: hidden;
}

.faq-question {
  width: 100%;
  text-align: left;
  border: none;
  background: none;
  padding: 0.9rem 1rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.95rem;
}

.faq-toggle-indicator {
  font-weight: 600;
  color: var(--accent-dark);
  margin-left: 0.75rem;
}

.faq-answer {
  padding: 0 1rem 0.9rem;
  font-size: 0.9rem;
  color: var(--text-muted);
  display: none;
}

.faq-item.open .faq-answer {
  display: block;
}

.faq-item.open .faq-toggle-indicator {
  transform: rotate(45deg);
}

/* Stopka */

.site-footer {
  background-color: #0f172a;
  color: #e5e7eb;
  padding: 2rem 0 2.5rem;
}

.footer-inner {
  text-align: center;
  font-size: 0.9rem;
}

.footer-inner p {
  margin: 0.2rem 0;
}

/* Pływający przycisk CTA */

.floating-cta {
  position: fixed;
  right: 1.6rem;
  bottom: 1.6rem;
  z-index: 50;
  padding: 0.9rem 1.6rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  color: #f9fafb;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  box-shadow: 0 16px 35px rgba(15, 118, 137, 0.7);
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}

.floating-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 20px 40px rgba(15, 118, 137, 0.8);
}

/* Responsywność */

@media (max-width: 960px) {
  .services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .about-grid,
  .why-grid,
  .areas-grid,
  .contact-grid {
    grid-template-columns: minmax(0, 1fr);
  }

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

  .hero-highlight {
    margin-top: 1.5rem;
  }
}

@media (max-width: 768px) {
  .main-nav {
    position: absolute;
    inset-inline: 0;
    top: 100%;
    background-color: rgba(245, 247, 251, 0.98);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.22s ease;
  }

  .main-nav.open {
    max-height: 280px;
  }

  .main-nav ul {
    flex-direction: column;
    align-items: flex-start;
    padding: 0.7rem 1.5rem 1.2rem;
    gap: 0.4rem;
  }

  .nav-toggle {
    display: flex;
  }

  .section {
    padding: 3.5rem 0;
  }

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

  .container {
    width: min(100% - 2rem, 100%);
  }

  .hero {
    min-height: 80vh;
  }

  .hero-inner {
    padding-block: 4.2rem;
  }

  .floating-cta {
    right: 1.1rem;
    bottom: 1.1rem;
  }
}

@media (max-width: 480px) {
  .hero-text h1 {
    font-size: 2.2rem;
  }

  .floating-cta {
    padding: 0.8rem 1.3rem;
    font-size: 0.85rem;
  }
}

/* Stany formularza */

.form-status.success {
  color: #15803d;
}

.form-status.error {
  color: #b91c1c;
}
