:root {
      --primary: #1f8f5f;
      --primary-dark: #156746;
      --accent: #ffc857;
      --bg: #f7f3e8;
      --text: #222222;
      --muted: #666666;
      --card-bg: #ffffff;
      --border-soft: #e4ded0;
      --radius-lg: 18px;
      --shadow-soft: 0 18px 40px rgba(0, 0, 0, 0.06);
    }

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

    /* Startowe wygaszenie całej strony */
    html, body {
      height: 100%;
    }

    body {
      font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
      background: var(--bg);
      color: var(--text);
      line-height: 1.6;
      opacity: 0;
      animation: bodyFadeIn 0.7s ease-out forwards;
    }

    @keyframes bodyFadeIn {
      from { opacity: 0; transform: translateY(4px); }
      to   { opacity: 1; transform: translateY(0); }
    }

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

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

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

    header {
      position: sticky;
      top: 0;
      z-index: 50;
      background: rgba(247, 243, 232, 0.97);
      backdrop-filter: blur(10px);
      border-bottom: 1px solid rgba(0,0,0,0.03);
      transition: box-shadow 0.2s ease-out, background 0.2s ease-out;
    }

    /* Lekkie podbicie cienia przy scrollu (dodajemy klasę w JS) */
    header.scrolled {
      box-shadow: 0 8px 20px rgba(0,0,0,0.08);
      background: rgba(247, 243, 232, 0.98);
    }

    .nav {
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 12px 0;
    }

    .logo {
      display: flex;
      align-items: center;
      gap: 10px;
      font-weight: 700;
      font-size: 1.1rem;
    }

    .logo-dot {
      width: 28px;
      height: 28px;
      border-radius: 999px;
      background: radial-gradient(circle at 30% 20%, #ffffff, #1f8f5f);
      display: inline-block;
      box-shadow: 0 0 14px rgba(31, 143, 95, 0.35);
      animation: logoPulse 3.2s ease-in-out infinite;
    }

    @keyframes logoPulse {
      0%, 100% { transform: scale(1); box-shadow: 0 0 14px rgba(31, 143, 95, 0.35); }
      50%      { transform: scale(1.07); box-shadow: 0 0 22px rgba(31, 143, 95, 0.5); }
    }

    .logo small {
      display: block;
      font-weight: 400;
      font-size: 0.7rem;
      color: var(--muted);
      margin-top: -2px;
    }

    .nav-links {
      display: flex;
      align-items: center;
      gap: 20px;
      font-size: 0.95rem;
    }

    .nav-links a {
      position: relative;
      padding-bottom: 2px;
      transition: transform 0.15s ease-out;
    }

    .nav-links a::after {
      content: "";
      position: absolute;
      left: 0;
      bottom: 0;
      width: 0;
      height: 2px;
      background: var(--primary);
      transition: width 0.2s ease-out;
    }

    .nav-links a:hover {
      transform: translateY(-1px);
    }

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

    .nav-cta {
      padding: 8px 16px;
      border-radius: 999px;
      background: var(--primary);
      color: #fff;
      font-weight: 600;
      font-size: 0.9rem;
      border: none;
      cursor: pointer;
      box-shadow: 0 10px 30px rgba(21, 103, 70, 0.35);
      transition: background 0.15s ease-out, transform 0.1s ease-out, box-shadow 0.15s ease-out;
    }

    .nav-cta:hover {
      background: var(--primary-dark);
      transform: translateY(-1px);
      box-shadow: 0 14px 34px rgba(21, 103, 70, 0.4);
    }

    .nav-toggle {
      display: none;
      border: none;
      background: none;
      font-size: 1.5rem;
      cursor: pointer;
    }

    .hero {
      padding: 40px 0 56px;
    }

    .hero-inner {
      display: grid;
      grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
      gap: 32px;
      align-items: center;
    }

    .badge {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      padding: 4px 10px;
      border-radius: 999px;
      background: #ffffffa8;
      border: 1px solid var(--border-soft);
      font-size: 0.78rem;
      color: var(--muted);
      margin-bottom: 14px;
    }

    .badge-dot {
      width: 8px;
      height: 8px;
      border-radius: 999px;
      background: #34c759;
    }

    .hero h1 {
      font-size: clamp(2.3rem, 4vw, 3rem);
      line-height: 1.1;
      margin-bottom: 18px;
    }

    .hero h1 span {
      color: var(--primary);
    }

    .hero-sub {
      font-size: 0.98rem;
      color: var(--muted);
      max-width: 36rem;
      margin-bottom: 22px;
    }

    .hero-list {
      display: flex;
      flex-wrap: wrap;
      gap: 12px 24px;
      font-size: 0.9rem;
      margin-bottom: 26px;
    }

    .hero-list li {
      list-style: none;
      display: flex;
      align-items: center;
      gap: 6px;
    }

    .hero-list li::before {
      content: "✓";
      color: var(--primary);
      font-weight: 700;
      font-size: 0.9rem;
    }

    .hero-actions {
      display: flex;
      flex-wrap: wrap;
      gap: 12px;
      align-items: center;
      margin-bottom: 16px;
    }

    .btn-primary,
    .btn-outline {
      border-radius: 999px;
      padding: 11px 22px;
      border: none;
      cursor: pointer;
      font-weight: 600;
      font-size: 0.95rem;
      display: inline-flex;
      align-items: center;
      gap: 8px;
      text-decoration: none;
      transition: transform 0.12s ease-out, box-shadow 0.12s ease-out, background 0.15s ease-out;
    }

    .btn-primary {
      background: linear-gradient(135deg, var(--primary), var(--primary-dark));
      color: #fff;
      box-shadow: 0 18px 40px rgba(21, 103, 70, 0.38);
    }

    .btn-primary:hover {
      transform: translateY(-1px);
      box-shadow: 0 22px 44px rgba(21, 103, 70, 0.45);
    }

    .btn-outline {
      background: transparent;
      color: var(--primary-dark);
      border: 1px solid rgba(21, 103, 70, 0.25);
    }

    .btn-outline:hover {
      background: rgba(21,103,70,0.07);
      transform: translateY(-1px);
      box-shadow: 0 8px 20px rgba(0,0,0,0.08);
    }

    .hero-note {
      font-size: 0.84rem;
      color: var(--muted);
    }

    .hero-note strong {
      color: var(--primary-dark);
    }

    .hero-owl-wrap {
      position: relative;
      display: flex;
      justify-content: center;
    }

    .hero-owl-card {
      position: relative;
      background: radial-gradient(circle at top, #ffffff, #f1eadc);
      border-radius: 28px;
      box-shadow: var(--shadow-soft);
      padding: 24px 24px 18px;
      max-width: 360px;
      width: 100%;
      text-align: center;
      border: 1px solid rgba(0,0,0,0.03);
      overflow: hidden;
      animation: owlFloat 5.5s ease-in-out infinite;
    }

    /* Delikatne „pływanie” karty z sową */
    @keyframes owlFloat {
      0%, 100% { transform: translateY(0); }
      50%      { transform: translateY(-6px); }
    }

    .hero-owl-bg-circle {
      position: absolute;
      inset: 16px 18px 60px;
      border-radius: 24px;
      background: radial-gradient(circle at 50% 0%, #f9f6ef, #e8ddca);
      opacity: 0.9;
      z-index: 0;
    }

    .hero-owl-card::before {
      /* delikatny, półprzezroczysty pierścień jak aplet */
      content: "";
      position: absolute;
      width: 240%;
      height: 240%;
      top: -70%;
      left: -70%;
      background: radial-gradient(circle, rgba(31,143,95,0.18) 0, transparent 45%);
      opacity: 0.0;
      animation: owlGlow 8s ease-in-out infinite;
      pointer-events: none;
    }

    @keyframes owlGlow {
      0%, 100% { opacity: 0.0; transform: scale(1); }
      50%      { opacity: 0.28; transform: scale(1.03); }
    }

    .hero-owl-card img {
      position: relative;
      z-index: 1;
      margin: 0 auto 10px;
      max-height: 260px;
      object-fit: contain;
    }

    .hero-owl-label {
      position: relative;
      z-index: 1;
      font-size: 0.9rem;
      color: var(--muted);
    }

    .hero-owl-label strong {
      display: block;
      font-size: 1rem;
      color: var(--primary-dark);
      margin-bottom: 4px;
    }

    .owl-chip {
      position: absolute;
      right: 18px;
      top: 18px;
      background: #1f8f5f;
      color: #fff;
      padding: 6px 10px;
      border-radius: 999px;
      font-size: 0.78rem;
      box-shadow: 0 10px 24px rgba(0,0,0,0.12);
      z-index: 2;
    }

    section {
      padding: 36px 0;
    }

    .section-header {
      text-align: center;
      margin-bottom: 26px;
    }

    .section-header h2 {
      font-size: 1.6rem;
      margin-bottom: 8px;
    }

    .section-header p {
      font-size: 0.95rem;
      color: var(--muted);
      max-width: 32rem;
      margin: 0 auto;
    }

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

    .card {
      background: var(--card-bg);
      border-radius: var(--radius-lg);
      padding: 18px 18px 20px;
      box-shadow: var(--shadow-soft);
      border: 1px solid rgba(0,0,0,0.02);
      transition: transform 0.16s ease-out, box-shadow 0.16s ease-out, border-color 0.16s ease-out;
    }

    .card:hover {
      transform: translateY(-4px);
      box-shadow: 0 22px 50px rgba(0,0,0,0.08);
      border-color: rgba(31,143,95,0.18);
    }

    .card h3 {
      font-size: 1.05rem;
      margin-bottom: 8px;
    }

    .card p {
      font-size: 0.9rem;
      color: var(--muted);
      margin-bottom: 12px;
    }

    .pill-list {
      display: flex;
      flex-wrap: wrap;
      gap: 6px;
      font-size: 0.78rem;
    }

    .pill-list span {
      padding: 4px 8px;
      border-radius: 999px;
      background: rgba(31, 143, 95, 0.06);
      color: var(--primary-dark);
    }

    .about-grid {
      display: grid;
      grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
      gap: 24px;
      align-items: center;
    }

    .about-highlight {
      font-weight: 600;
      color: var(--primary-dark);
      margin-bottom: 8px;
      font-size: 0.9rem;
    }

    .about-text p {
      font-size: 0.95rem;
      color: var(--muted);
      margin-bottom: 14px;
    }

    .about-stats {
      display: flex;
      flex-wrap: wrap;
      gap: 16px;
      font-size: 0.9rem;
    }

    .about-stat {
      min-width: 120px;
    }

    .about-stat strong {
      display: block;
      font-size: 1.3rem;
      color: var(--primary-dark);
    }

    .about-box {
      background: var(--card-bg);
      border-radius: var(--radius-lg);
      padding: 18px;
      box-shadow: var(--shadow-soft);
      font-size: 0.9rem;
    }

    .about-box ul {
      margin-top: 8px;
      padding-left: 18px;
      color: var(--muted);
    }

    .contact-grid {
      display: grid;
      grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
      gap: 24px;
      align-items: flex-start;
    }

    .contact-form {
      background: var(--card-bg);
      border-radius: var(--radius-lg);
      padding: 18px 18px 20px;
      box-shadow: var(--shadow-soft);
      border: 1px solid rgba(0,0,0,0.02);
    }

    .contact-form label {
      display: block;
      font-size: 0.82rem;
      margin-bottom: 4px;
      color: var(--muted);
    }

    .contact-form input,
    .contact-form textarea {
      width: 100%;
      border-radius: 10px;
      border: 1px solid var(--border-soft);
      padding: 8px 10px;
      font-size: 0.9rem;
      font-family: inherit;
      outline: none;
      transition: border 0.15s ease-out, box-shadow 0.15s ease-out, background 0.15s ease-out;
      background: #fcfaf6;
      margin-bottom: 10px;
    }

    .contact-form input:focus,
    .contact-form textarea:focus {
      border-color: var(--primary);
      box-shadow: 0 0 0 1px rgba(31, 143, 95, 0.2);
      background: #ffffff;
    }

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

    .contact-form .small {
      font-size: 0.8rem;
      color: var(--muted);
      margin-top: 4px;
    }

    .contact-info {
      font-size: 0.92rem;
      color: var(--muted);
    }

    .contact-info h3 {
      font-size: 1.05rem;
      margin-bottom: 8px;
      color: var(--text);
    }

    .contact-info p {
      margin-bottom: 10px;
    }

    .contact-info a {
      color: var(--primary-dark);
      font-weight: 600;
    }

    .contact-box {
      margin-top: 12px;
      padding: 12px 14px;
      border-radius: 14px;
      background: rgba(31, 143, 95, 0.08);
      color: #133827;
      font-size: 0.85rem;
    }

    footer {
      border-top: 1px solid rgba(0,0,0,0.04);
      padding: 18px 0 22px;
      font-size: 0.8rem;
      color: var(--muted);
    }

    .footer-inner {
      display: flex;
      flex-wrap: wrap;
      align-items: center;
      justify-content: space-between;
      gap: 10px;
    }

    .footer-links {
      display: flex;
      gap: 14px;
    }

    /* ANIMACJE PRZY PRZEWIJANIU (sekcje) */
    .reveal {
      opacity: 0;
      transform: translateY(18px);
      transition: opacity 0.6s ease-out, transform 0.6s ease-out;
    }

    .reveal.visible {
      opacity: 1;
      transform: translateY(0);
    }

    @media (max-width: 900px) {
      .hero-inner,
      .about-grid,
      .contact-grid {
        grid-template-columns: minmax(0, 1fr);
      }

      .hero {
        padding-top: 26px;
      }

      .hero-inner {
        gap: 26px;
      }

      .hero-owl-card {
        max-width: 280px;
      }

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

    @media (max-width: 720px) {
      .nav-links {
        position: absolute;
        inset: 54px 16px auto;
        background: rgba(247, 243, 232, 0.99);
        border-radius: 14px;
        padding: 10px 14px;
        flex-direction: column;
        align-items: flex-start;
        box-shadow: 0 18px 40px rgba(0,0,0,0.12);
        display: none;
      }

      .nav-links.open {
        display: flex;
      }

      .nav-toggle {
        display: block;
      }

      .nav-cta {
        display: none;
      }

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

      .hero-owl-card {
        max-width: 260px;
      }
    }

/* --- drobne klasy pomocnicze (zamiast inline style) --- */
.field { margin-bottom: 10px; }
.btn-full { width: 100%; justify-content: center; }
