/* ==========================================================================
   Koszenie Trawników - Łódź i okolice
   Styl 1:1 wg plakatu: ciemna zieleń + limonka + żółty.
   ========================================================================== */

:root {
  --green-dark: #14240e;
  --green-deep: #1b3113;
  --green-mid: #2e5c1d;
  --lime: #7ec242;
  --lime-bright: #9ad554;
  --yellow: #f2c218;
  --yellow-deep: #e0ae06;
  --red: #d92b2b;
  --cream: #f6f4ea;
  --white: #ffffff;
  --ink: #1c2417;
  --display: 'Archivo Black', 'Arial Black', sans-serif;
  --sans: 'Lato', 'Segoe UI', Arial, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--cream);
}

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

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

h2 {
  font-family: var(--display);
  font-size: clamp(26px, 4vw, 40px);
  line-height: 1.15;
  text-transform: uppercase;
  margin-bottom: 36px;
}

.accent-green { color: var(--lime); }
.accent-yellow { color: var(--yellow); }
.dot { color: var(--yellow); margin: 0 6px; }

/* --------------------------------- Header -------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--green-dark);
  border-bottom: 3px solid var(--lime);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 28px;
  padding-top: 12px;
  padding-bottom: 12px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.brand-icon { width: 42px; height: 42px; flex: none; }

.brand-name {
  font-family: var(--display);
  font-size: 15px;
  line-height: 1.15;
  color: var(--white);
  text-transform: uppercase;
}

.main-nav {
  display: flex;
  gap: 22px;
  margin-left: auto;
}

.main-nav a {
  color: var(--cream);
  text-decoration: none;
  font-weight: 700;
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

.main-nav a:hover { color: var(--lime-bright); }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  text-decoration: none;
  font-weight: 700;
  border-radius: 999px;
  white-space: nowrap;
}

.btn svg { width: 1.1em; height: 1.1em; flex: none; }

.btn-phone {
  background: var(--yellow);
  color: var(--green-dark);
  padding: 10px 20px;
  font-size: 16px;
}

.btn-phone:hover { background: var(--yellow-deep); }

/* ---------------------------------- Hero ---------------------------------- */

.hero {
  background:
    radial-gradient(ellipse at 75% 20%, rgba(126, 194, 66, 0.22), transparent 55%),
    linear-gradient(160deg, var(--green-deep), var(--green-dark) 70%);
  color: var(--white);
  overflow: hidden;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 48px;
  align-items: center;
  padding-top: 64px;
  padding-bottom: 64px;
}

.hero-kicker {
  display: inline-block;
  background: var(--yellow);
  color: var(--green-dark);
  font-family: var(--display);
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 5px 14px;
  border-radius: 4px;
  transform: rotate(-1.5deg);
  margin-bottom: 18px;
}

.hero h1 {
  font-family: var(--display);
  font-size: clamp(34px, 5.4vw, 58px);
  line-height: 1.08;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.hero-tagline {
  font-weight: 700;
  font-size: 19px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--yellow);
  margin-bottom: 10px;
}

.hero-region {
  font-size: 18px;
  color: var(--cream);
  margin-bottom: 30px;
}

.btn-big {
  background: var(--lime);
  color: var(--green-dark);
  font-family: var(--display);
  font-size: clamp(17px, 2vw, 21px);
  text-transform: uppercase;
  padding: 16px 30px;
  box-shadow: 0 6px 0 rgba(0, 0, 0, 0.28);
}

.btn-big:hover { background: var(--lime-bright); }

.hero-cta-note {
  margin-top: 14px;
  font-size: 15px;
  color: rgba(246, 244, 234, 0.85);
}

.hero-photo img {
  width: 100%;
  border-radius: 14px;
  border: 4px solid var(--lime);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
}

/* -------------------------- Kafle terenów + usługi ------------------------ */

.terrain {
  padding: 72px 0;
  background: var(--cream);
}

.terrain h2 { color: var(--green-dark); }

.terrain-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-bottom: 44px;
}

.terrain-card {
  background: var(--green-dark);
  color: var(--lime);
  border-radius: 12px;
  padding: 28px 20px 24px;
  text-align: center;
  border-bottom: 5px solid var(--yellow);
}

.terrain-card svg { width: 64px; height: 40px; margin: 0 auto 14px; }

.terrain-card h3 {
  font-family: var(--display);
  font-size: 18px;
  text-transform: uppercase;
  color: var(--white);
}

.services-list {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 32px;
  max-width: 900px;
}

.services-list li {
  position: relative;
  padding-left: 38px;
  font-size: 17px;
  font-weight: 700;
}

.services-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 2px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--lime) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%2314240e' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round' d='M5 12.5l4.5 4.5L19 7'/%3E%3C/svg%3E") center / 15px no-repeat;
}

/* ------------------------------- Przed / Po ------------------------------- */

.before-after {
  padding: 72px 0;
  background: var(--green-dark);
  color: var(--white);
}

.ba-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 26px;
  align-items: center;
  max-width: 860px;
  margin: 0 auto;
}

.ba-card {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  border: 4px solid var(--cream);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
}

.ba-card img {
  width: 100%;
  aspect-ratio: 5 / 4;
  object-fit: cover;
}

.ba-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  font-family: var(--display);
  font-size: 15px;
  text-transform: uppercase;
  padding: 5px 16px;
  border-radius: 5px;
  color: var(--white);
  transform: rotate(-2deg);
}

.ba-badge-przed { background: var(--red); }
.ba-badge-po { background: var(--lime); color: var(--green-dark); }

.ba-arrow { color: var(--yellow); }
.ba-arrow svg { width: 64px; height: 32px; }

/* --------------------------------- Cennik --------------------------------- */

.pricing {
  padding: 72px 0;
  background: var(--cream);
}

.pricing h2 { color: var(--green-dark); }

.pricing-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 26px;
  align-items: start;
  max-width: 980px;
  margin: 0 auto 44px;
}

.pricing-box {
  background: var(--green-dark);
  border-radius: 14px;
  border: 2px dashed var(--lime);
  padding: 14px 26px 24px;
  color: var(--white);
}

.pricing-box table {
  width: 100%;
  border-collapse: collapse;
}

.pricing-box td {
  padding: 13px 6px;
  border-bottom: 1px solid rgba(126, 194, 66, 0.3);
  font-size: 17px;
}

.pricing-box tr:last-child td { border-bottom: none; }

.pricing-box td:last-child {
  text-align: right;
  white-space: nowrap;
}

.pricing-box strong {
  font-family: var(--display);
  font-size: 22px;
  color: var(--yellow);
  font-weight: 400;
}

.pricing-note {
  margin-top: 10px;
  padding-top: 14px;
  border-top: 2px solid var(--lime);
  text-align: center;
  font-weight: 700;
  color: var(--cream);
}

/* Kalkulator */

.calc {
  background: var(--white);
  border: 1px solid #dfdccb;
  border-radius: 14px;
  padding: 22px 26px 26px;
  box-shadow: 0 10px 26px rgba(28, 36, 23, 0.10);
}

.calc h3 {
  font-family: var(--display);
  font-size: 19px;
  text-transform: uppercase;
  color: var(--green-dark);
  margin-bottom: 16px;
}

.calc-label {
  display: block;
  font-weight: 700;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  color: var(--green-mid);
  margin-bottom: 6px;
}

.calc-input {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.calc-input input {
  width: 130px;
  font: 700 22px var(--sans);
  color: var(--green-dark);
  padding: 8px 12px;
  border: 2px solid var(--lime);
  border-radius: 8px;
  background: var(--cream);
}

.calc-input input:focus { outline: 3px solid rgba(126, 194, 66, 0.4); }

.calc-input span { font-weight: 700; font-size: 18px; color: var(--green-mid); }

.calc input[type="range"] {
  width: 100%;
  accent-color: var(--lime);
  margin-bottom: 18px;
}

.calc-out {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 12px;
  margin-bottom: 14px;
}

.calc-out > div {
  background: var(--cream);
  border-radius: 10px;
  padding: 10px 14px;
}

.calc-out span {
  display: block;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  color: var(--green-mid);
}

.calc-out strong {
  font-family: var(--display);
  font-size: 20px;
  font-weight: 400;
  color: var(--green-dark);
}

.calc-total { background: var(--green-dark) !important; }
.calc-total span { color: var(--lime); }
.calc-total strong { color: var(--yellow); font-size: 24px; }

.calc-note {
  font-size: 13.5px;
  color: #6b7261;
  margin-bottom: 16px;
}

.btn-calc {
  background: var(--yellow);
  color: var(--green-dark);
  font-family: var(--display);
  font-size: 15px;
  text-transform: uppercase;
  padding: 12px 22px;
  justify-content: center;
  width: 100%;
}

.btn-calc:hover { background: var(--yellow-deep); }

.trust-bar {
  display: flex;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  font-size: 17px;
  text-transform: uppercase;
  color: var(--green-mid);
}

.trust-item svg {
  width: 40px;
  height: 40px;
  color: var(--lime);
  background: var(--green-dark);
  border-radius: 50%;
  padding: 8px;
}

/* --------------------------------- Kontakt -------------------------------- */

.contact {
  background:
    radial-gradient(ellipse at 50% 0%, rgba(126, 194, 66, 0.2), transparent 60%),
    var(--green-deep);
  color: var(--white);
  text-align: center;
  padding: 76px 0;
}

.contact h2 { margin-bottom: 20px; }

.contact-phone {
  display: inline-block;
  font-family: var(--display);
  font-size: clamp(38px, 7vw, 64px);
  color: var(--yellow);
  text-decoration: none;
  line-height: 1.1;
  margin-bottom: 16px;
}

.contact-phone:hover { color: var(--lime-bright); }

.contact-note {
  font-size: 19px;
  font-weight: 700;
  margin-bottom: 8px;
}

.contact-region { color: rgba(246, 244, 234, 0.85); }

/* --------------------------------- Stopka --------------------------------- */

.site-footer {
  background: var(--green-dark);
  color: rgba(246, 244, 234, 0.7);
  font-size: 14px;
  text-align: center;
  padding: 20px 0;
  border-top: 1px solid rgba(126, 194, 66, 0.25);
}

/* --------------------------------- Mobile --------------------------------- */

@media (max-width: 900px) {
  .main-nav { display: none; }

  .hero-inner {
    grid-template-columns: 1fr;
    gap: 36px;
    padding-top: 44px;
    padding-bottom: 48px;
  }

  .hero-photo { max-width: 420px; margin: 0 auto; }

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

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

  .services-list { grid-template-columns: 1fr; }

  .ba-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

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

  .ba-arrow svg { transform: rotate(90deg); width: 48px; }

  .trust-bar { gap: 22px; flex-direction: column; align-items: flex-start; }
}

@media (max-width: 560px) {
  .header-inner { gap: 12px; }
  .brand-name { font-size: 13px; }
  .btn-phone { padding: 9px 14px; font-size: 14px; margin-left: auto; }
}
