  :root {
    --green: #1B2A41;
    --green-light: #1F3A5F;
    --white: #FFFFFF;
    --beige: #F7F5F2;
    --gold: #C7A434;
    --gold-light: #d4b54a;
    --text: #2c2c2c;
    --text-muted: #6b6b6b;
    --blue-rgb: 27, 42, 65;
  }

  * { margin: 0; padding: 0; box-sizing: border-box; }

  html { scroll-behavior: smooth; }

  body {
    font-family: 'DM Sans', sans-serif;
    color: var(--text);
    background: var(--white);
    overflow-x: hidden;
  }

  h1, h2, h3, h4 {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 400;
  }

  /* NAV */
  nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    padding: 0.95rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #1B2A41;
    backdrop-filter: blur(8px);
    border-bottom: 1px solid rgba(199,164,52,0.25);
    transition: all 0.3s;
  }

  a.nav-logo {
    text-decoration: none;
    cursor: pointer;
  }

 .nav-logo {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.2rem;
    font-weight: 400;
    color: var(--white);
    line-height: 1.3;
    display: flex;
    align-items: center;
    gap: 0.75rem;
  }

  .nav-logo-img {
      height: 52px;
      width: auto;
      object-fit: contain;
  }

  .nav-logo span {
      display: block;
      font-size: 1.23rem;
      letter-spacing: 0.04em;
      color: var(--gold);
      font-weight: 400;
      margin-top: 1px;
  }


  .nav-links {
    display: flex;
    gap: 2.5rem;
    list-style: none;
  }

  .nav-links a {
    color: rgba(255,255,255,0.82);
    text-decoration: none;
    font-size: 0.8rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-weight: 400;
    transition: color 0.2s;
    position: relative;
  }

  .nav-links a::after {
    content: '';
    position: absolute;
    bottom: -3px; left: 0;
    width: 0; height: 1px;
    background: var(--gold);
    transition: width 0.3s;
  }

  .nav-links a:hover { color: var(--white); }
  .nav-links a:hover::after { width: 100%; }

  .nav-cta {
  background: transparent;
  color: var(--gold) !important;
  padding: 0.55rem 1.4rem;
  font-weight: 500 !important;
  letter-spacing: 0.06em !important;
  text-transform: uppercase;
  font-size: 0.75rem !important;
  border: 1px solid var(--gold);
  transition: border-color 0.2s, color 0.2s, transform 0.2s !important;
}

.nav-cta:hover {
  border-color: rgba(255,255,255,0.75);
  color: rgba(255,255,255,0.75) !important;
}

.nav-cta::after { display: none !important; }

  /* HAMBURGER */
  .hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 4px; }
  .hamburger span { display: block; width: 24px; height: 2px; background: white; transition: all 0.3s; }

  /* HERO */
  #hero {
    min-height: 100vh;
    background: var(--green);
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding: 120px 5% 80px;
  }

  .hero-bg {
    position: absolute;
    inset: 0;
    background:
      radial-gradient(ellipse 60% 80% at 80% 50%, rgba(199,164,52,0.06) 0%, transparent 70%),
      radial-gradient(ellipse 40% 60% at 10% 80%, rgba(199,164,52,0.04) 0%, transparent 70%);
  }

.hero-photo {
  position: absolute;
  inset: 0;
  background-image: url('hero.jpg'); /* ← podmień na swoją ścieżkę */
  background-size: cover;
  background-position: center;
  z-index: 0;
}

/* Overlay — zielona "poświata" przykrywająca zdjęcie */
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 80% at 80% 50%, rgba(199,164,52,0.06) 0%, transparent 90%),
    radial-gradient(ellipse 40% 60% at 10% 80%, rgba(199,164,52,0.04) 0%, transparent 90%),
    rgba(var(--blue-rgb), 0.86); /* ← główny overlay */
  z-index: 1;
}

.hero-grid {
  z-index: 2; /* upewnij się, że jest nad overlayem */
}

.hero-content {
  z-index: 3;
}

  .hero-content {
    position: relative;
    z-index: 2;
    max-width: 760px;
  }

  .hero-eyebrow {
    font-size: 0.72rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--gold);
    font-weight: 400;
    margin-bottom: 1.8rem;
    display: flex;
    align-items: center;
    gap: 1rem;
  }

  .hero-eyebrow::before {
    content: '';
    display: inline-block;
    width: 40px; height: 1px;
    background: var(--gold);
  }

  #hero h1 {
    font-size: clamp(2.8rem, 6vw, 5.5rem);
    font-weight: 300;
    color: var(--gold);
    line-height: 1.1;
    letter-spacing: -0.01em;
    margin-bottom: 0.3rem;
  }

  #hero h1 em {
    font-style: normal;
    color: var(--gold);
  }

  .hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: rgba(255,255,255,0.65);
    font-weight: 300;
    line-height: 1.6;
    margin: 1.8rem 0 3rem;
    max-width: 520px;
    font-family: 'DM Sans', sans-serif;
  }

  .hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; align-items: center; }

.btn-primary {
  background: transparent;
  color: var(--gold);
  padding: 1rem 2.4rem;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid var(--gold);
  cursor: pointer;
  display: inline-block;
  transition: all 0.25s;
  position: relative;
  overflow: hidden;
}

  .btn-primary:hover {
  border-color: rgba(255,255,255,0.75);
  color: rgba(255,255,255,0.75);
}

  .btn-outline {
    color: rgba(255,255,255,0.75);
    padding: 1rem 2rem;
    font-family: 'DM Sans', sans-serif;
    font-size: 0.8rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    text-decoration: none;
    border: 1px solid rgba(255,255,255,0.25);
    transition: all 0.25s;
    display: inline-block;
  }

  .btn-outline:hover { border-color: var(--gold); color: var(--gold); }

  .hero-visual {
    position: absolute;
    right: 5%;
    top: 50%;
    transform: translateY(-50%);
    width: 380px;
    opacity: 0.12;
    pointer-events: none;
  }

  /* SECTION STYLES */
  section { padding: 100px 5%; }

  .section-label {
    font-size: 0.68rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--gold);
    font-weight: 400;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
  }

  .section-label::before {
    content: '';
    display: inline-block;
    width: 28px; height: 1px;
    background: var(--gold);
  }

  .section-title {
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 300;
    line-height: 1.2;
    color: var(--green);
    margin-bottom: 1.5rem;
  }

  .gold-line {
    width: 48px; height: 2px;
    background: var(--gold);
    margin-bottom: 2.5rem;
  }

  /* ABOUT */
  #about { background: var(--beige); }

  .about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
    max-width: 1200px;
    margin: 0 auto;
  }


  .about-right {
    padding-top: 3rem;
  }

  .about-text {
    font-size: 1.1rem;
    line-height: 1.85;
    color: #444;
    font-weight: 300;
    margin-bottom: 2rem;
    text-align: justify;
  }

  .license-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    border: 1px solid var(--gold);
    padding: 0.75rem 1.25rem;
    font-size: 0.78rem;
    letter-spacing: 0.08em;
    color: var(--green);
    font-weight: 500;
  }

  .license-badge svg { flex-shrink: 0; }

  .stats-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: rgba(199,164,52,0.2);
    border: 1px solid rgba(199,164,52,0.2);
    margin-top: 3rem;
  }

  .stat {
    background: var(--beige);
    padding: 2rem 1.5rem;
    text-align: center;
  }

  .stat-num {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2.8rem;
    color: var(--green);
    font-weight: 300;
    line-height: 1;
    display: block;
  }

  .stat-label {
    font-size: 0.72rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-top: 0.5rem;
    display: block;
  }

  /* OFFER */
  #offer { background: var(--white); }

  .offer-header { max-width: 1200px; margin: 0 auto 4rem; }

  .services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: rgba(31,77,58,0.08);
    border: 1px solid rgba(31,77,58,0.08);
    max-width: 1200px;
    margin: 0 auto;
  }

  .service-card {
    background: var(--white);
    padding: 2.5rem 2rem;
    transition: all 0.3s;
    cursor: default;
    position: relative;
  }

  .service-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: var(--gold);
    transform: scaleX(0);
    transition: transform 0.3s;
    transform-origin: left;
  }

  .service-card:hover { background: var(--beige); }
  .service-card:hover::before { transform: scaleX(1); }

  .service-num {
    font-family: 'Cormorant Garamond', serif;
    font-size: 3rem;
    color: rgba(199, 163, 75, 0.7);
    font-weight: 300;
    line-height: 1;
    margin-bottom: 1rem;
  }

  .service-card h3 {
    font-size: 1.8rem;
    color: var(--green);
    margin-bottom: 0.75rem;
    font-weight: 600;
  }

  .service-desc {
    font-size: 1rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 1.25rem;
  }

  .service-list {
    list-style: none;
    border-top: 1px solid rgba(199,164,52,0.25);
    padding-top: 1rem;
  }

  .service-list li {
    font-size: 0.9rem;
    color: #555;
    padding: 0.3rem 0;
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    line-height: 1.5;
  }

  .service-list li::before {
    content: '—';
    color: var(--gold);
    flex-shrink: 0;
    font-size: 0.7rem;
    margin-top: 0.1rem;
  }

  /* CONTACT */
  #contact { background: var(--beige); }

  .contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 80px;
    max-width: 1200px;
    margin: 0 auto;
    align-items: start;
  }


  .contact-block {
    margin-bottom: 2.5rem;
  }

  .contact-block-label {
    font-size: 0.65rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 0.6rem;
    display: block;
  }

  .contact-block a, .contact-block p {
    color: var(--green);
    text-decoration: none;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.6;
    display: block;
    transition: color 0.2s;
  }

  .contact-block a:hover { color: var(--gold); }

  .map-placeholder {
    width: 100%;
    height: 220px;
    margin-top: 2rem;
    border: 1px solid rgba(199,164,52,0.3);
    overflow: hidden;
  }

  .map-placeholder iframe {
    width: 100%; height: 100%;
    border: none;
    filter: grayscale(30%) contrast(1.05);
  }

  /* FORM */
  .form-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.8rem;
    font-weight: 300;
    color: var(--green);
    margin-bottom: 0.4rem;
  }

  .form-subtitle {
    font-size: 0.82rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
    letter-spacing: 0.05em;
  }

  .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

  .field {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    margin-bottom: 1rem;
  }

  .field.full { grid-column: 1 / -1; }

  .field label {
    font-size: 0.68rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--text-muted);
    font-weight: 400;
  }

  .field input, .field textarea {
    background: var(--white);
    border: 1px solid rgba(31,77,58,0.15);
    padding: 0.85rem 1rem;
    font-family: 'DM Sans', sans-serif;
    font-size: 0.9rem;
    color: var(--text);
    outline: none;
    transition: border-color 0.2s;
    resize: vertical;
  }

  .field input:focus, .field textarea:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(199,164,52,0.08);
  }

  .field textarea { min-height: 140px; }

  .btn-submit {
    background: var(--green);
    color: var(--white);
    padding: 1rem 2.4rem;
    font-family: 'DM Sans', sans-serif;
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    border: none;
    cursor: pointer;
    transition: all 0.25s;
    width: 100%;
    margin-top: 0.5rem;
  }

  .btn-submit:hover { background: var(--green-light); }

  /* FOOTER */
  footer {
    background: var(--green);
    color: rgba(255,255,255,0.7);
    padding: 30px 5% 30px;
  }

  .footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 60px;
    max-width: 1200px;
    margin: 0 auto;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(199,164,52,0.2);
    margin-bottom: 30px;
  }

  .footer-brand-header {
    display: flex;
    align-items: center;
    gap: 14px;
  }

  .footer-brand-text h3,
  .footer-brand-text p {
    margin-bottom: 0;
  }

  .footer-brand-text {
    margin-top: 24px;
  }

  .footer-col {
    padding-top: 55px;
  }

  .footer-brand h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.2rem;
    color: var(--white);
    font-weight: 400;
    margin-bottom: 0.3rem;
  }

  .footer-brand p {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.23rem;
    letter-spacing: 0.04em;
    color: var(--gold);
    font-weight: 400;
    margin-bottom: 1.5rem;
  }

  .footer-contact-item {
    font-size: 0.82rem;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
  }

  .footer-contact-item a {
    color: rgba(255,255,255,0.65);
    text-decoration: none;
    transition: color 0.2s;
  }

  .footer-contact-item a:hover { color: var(--gold); }

  .footer-col h4 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1rem;
    color: var(--white);
    font-weight: 400;
    margin-bottom: 1.2rem;
    letter-spacing: 0.05em;
  }

  .footer-links { list-style: none; }
  .footer-links li { margin-bottom: 0.5rem; }
  .footer-links a {
    color: rgba(255,255,255,0.6);
    text-decoration: none;
    font-size: 0.82rem;
    transition: color 0.2s;
  }
  .footer-links a:hover { color: var(--gold); }

  .footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.72rem;
    color: rgba(255,255,255,0.35);
  }

  /* ANIMATIONS */
  .fade-up {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.7s ease, transform 0.7s ease;
  }

  .fade-up.visible {
    opacity: 1;
    transform: translateY(0);
  }

  .fade-up-d1 { transition-delay: 0.1s; }
  .fade-up-d2 { transition-delay: 0.2s; }
  .fade-up-d3 { transition-delay: 0.3s; }
  .fade-up-d4 { transition-delay: 0.4s; }

  /* DIVIDER */
  .gold-divider {
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    opacity: 0.3;
  }

  /* RESPONSIVE */
@media (max-width: 900px) {
  .hamburger { display: flex; }

  .nav-links {
    /* Zamiast display: none */
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--green);
    padding: 0 5%; /* Padding góra/dół ustawimy w .open */
    gap: 1.5rem;
    border-top: 1px solid rgba(199,164,52,0.2);

    /* Animacja */
    max-height: 0;        /* Menu jest "ściśnięte" */
    opacity: 0;           /* Menu jest niewidoczne */
    overflow: hidden;     /* Ukrywa zawartość, gdy max-height jest 0 */
    pointer-events: none; /* Blokuje klikanie w niewidoczne linki */
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1); /* Płynny ruch */
  }

  .nav-links.open {
    max-height: 500px;    /* Dowolna wartość większa niż wysokość menu */
    opacity: 1;
    padding: 2rem 5%;     /* Przywracamy padding po otwarciu */
    pointer-events: auto; /* Pozwala klikać w linki */
  }
    .nav-links.open .nav-cta { display: inline-block; padding: 0.65rem 1.4rem; }
    .about-grid { grid-template-columns: 1fr; gap: 40px; }
    .about-right { padding-top: 0; }
    .services-grid { grid-template-columns: 1fr 1fr; }
    .contact-grid { grid-template-columns: 1fr; gap: 50px; }
    .footer-grid { grid-template-columns: 1fr; gap: 30px; }
    .form-row { grid-template-columns: 1fr; }
    .hero-visual { display: none; }
    .stats-row { grid-template-columns: 1fr; }
  }

  @media (max-width: 600px) {
    section { padding: 70px 5%; }
    .services-grid { grid-template-columns: 1fr; }
    #hero h1 { font-size: 2.4rem; }
    .service-card h3, 
    .service-desc {
    min-height: auto;
  }
  .desktop-br {
    display: none;
  }
   .desktop-br3 {
    display: none;
  }
   .desktop-br6 {
    display: none;
  }
   .desktop-br2 {
    display: none;
  }
  }

  @media (max-width: 881px) {
    .desktop-br6 {
    display: none;
  }
  }

   @media (max-width: 900px) {
    .desktop-br3 {
    display: none;
  }
  }

  @media (max-width: 900px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .footer-col {
    padding-top: 24px;
  }

  .footer-brand {
    padding-bottom: 8px;
  }

  .footer-col:last-child {
    padding-top: 30px;
  }
}

@media (min-width: 768px) {
    .hero-eyebrow {
        font-size: 0.82rem;
    }

    #hero h1 {
        font-size: clamp(2.8rem, 6vw, 5.35rem);
    }
}

@media (max-width: 405px) {
  .br1 {
    display: none;
  }
}

.nav-links.open ~ .hamburger span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-links.open ~ .hamburger span:nth-child(2) {
  opacity: 0;
}

.nav-links.open ~ .hamburger span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}