 :root {
    --navy: #0D2455;
    --gold: #A57864;
    --cream: #F7F4EF;
    --white: #FEFEFE;
    --navy-light: #363B6B;
    --gold-light: #C4A090;
    --text-dark: #1A1C33;
    --text-mid: #4A4D6A;
  }

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

  html { scroll-behavior: smooth; }

  body {
    font-family: 'Jost', sans-serif;
    font-weight: 300;
    color: var(--text-dark);
    background: var(--white);
    overflow-x: hidden;
  }
  
  .img-responsive {
  width: 100%;
  height: auto;
}

.responsywny-text {
	text-align: justify;
	text-align-last: left; /* Może być też: left, right, justify */
}

.lead {font-weight: 600;}

.mb-2 {margin-bottom: 2rem;}
.p-1 {padding: 1rem;}
.p-2 {padding: 2rem;}
.p-3 {padding: 3rem;}
@media (max-width: 767px) {
  .p-3 {
    padding: 1.5rem;
  }
}

  /* ── NAVIGATION ── */
  nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    background: var(--navy);
    padding: 0 5vw;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
    box-shadow: 0 2px 20px rgba(37,41,74,0.25);
    transition: height 0.3s ease;
  }

  nav.scrolled { height: 60px; }

.nav-logo {
  display: flex;
  align-items: center;
  height: 100%; /* Pozwala linkowi wypełnić wysokość nawigacji */
  text-decoration: none;
}

/* ROZMIAR MOBILNY (Domyślny) */
.nav-logo img {
  height: 26px; /* Mniejsze logo na telefon */
  width: auto;
  display: block;
}

/* ROZMIAR DESKTOP (Powyżej 1024px szerokości ekranu) */
@media (min-width: 1024px) {
  .nav-logo img {
    height: 37px; /* Większe logo na komputerze */
  }
}


  .nav-links {
    display: flex;
    gap: 2.5rem;
    list-style: none;
  }

  .nav-links a {
    color: rgba(254,254,254,0.82);
    text-decoration: none;
    font-size: 0.78rem;
    font-weight: 400;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    transition: color 0.2s;
  }

  .nav-links a:hover { color: var(--gold); }

  .nav-cta {
    background: var(--gold);
    color: var(--white) !important;
    padding: 0.5rem 1.2rem;
    border-radius: 1px;
    transition: background 0.2s !important;
  }

  .nav-cta:hover { background: var(--gold-light) !important; color: var(--white) !important; }

  /* Hamburger */
  .hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 5px;
    background: none;
    border: none;
  }
  .hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--white);
    transition: all 0.3s;
  }
  .hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .hamburger.open span:nth-child(2) { opacity: 0; }
  .hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .mobile-menu {
    display: none;
    position: fixed;
    top: 72px; left: 0; right: 0;
    background: var(--navy);
    padding: 1.5rem 2rem;
    z-index: 999;
    border-top: 1px solid rgba(164,120,100,0.3);
  }

  .mobile-menu.open { display: block; }
  .mobile-menu a {
    display: block;
    color: rgba(254,254,254,0.85);
    text-decoration: none;
    font-size: 0.88rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 0.8rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    transition: color 0.2s;
  }
  .mobile-menu a:hover { color: var(--gold); }
  .mobile-menu a:last-child { border-bottom: none; color: var(--gold); margin-top: 0.5rem; }

  /* ── HERO ── */
  .hero {
    min-height: 100vh;
    background: var(--navy);
    display: flex;
    align-items: center;
    padding: 100px 5vw 60px;
    position: relative;
    overflow: hidden;
  }

  .hero-podstrona {
    min-height: 40vh;
    background: var(--navy);
    display: flex;
    align-items: center;
    padding: 100px 5vw 60px;
    position: relative;
    overflow: hidden;
  }
 

  /* Decorative vertical line */
  .hero-line {
    position: absolute;
    right: 42%;
    top: 15%;
    bottom: 15%;
    width: 1px;
    background: linear-gradient(to bottom, transparent, var(--gold) 30%, var(--gold) 70%, transparent);
    opacity: 0.4;
  }

  .hero-inner {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
  }

  .hero-text { position: relative; z-index: 1; }

  .hero-badge {
    display: inline-block;
    font-size: 0.8rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--gold);
font-weight: 500;
	border: 1px solid var(--gold);
    padding: 0.35rem 0.9rem;
    margin-bottom: 2rem;
  }

  .hero-name {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(2.4rem, 5vw, 4rem);
    font-weight: 300;
    color: var(--white);
    line-height: 1.1;
    margin-bottom: 0.3rem;
  }

  .hero-title {
    font-size: 0.8rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 2rem;
	font-weight: 500;
  }

  .hero-quote {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(1.1rem, 2vw, 1.45rem);
    font-style: italic;
    font-weight: 300;
    color: rgba(254,254,254,0.75);
    line-height: 1.7;
    margin-bottom: 2.5rem;
    border-left: 2px solid var(--gold);
    padding-left: 1.5rem;
  }

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

  .btn-primary {
    display: inline-block;
    background: var(--gold);
    color: var(--white);
    text-decoration: none;
    padding: 0.85rem 2rem;
    font-size: 0.8rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-weight: 500;
    transition: all 0.25s;
    border-radius: 1px;
  }

  .btn-primary:hover {
    background: var(--gold-light);
    transform: translateY(-1px);
  }

  .btn-outline {
    display: inline-block;
    border: 1px solid rgba(254,254,254,0.35);
    color: rgba(254,254,254,0.85);
    text-decoration: none;
    padding: 0.85rem 2rem;
    font-size: 0.8rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-weight: 400;
    transition: all 0.25s;
    border-radius: 1px;
  }

  .btn-outline:hover {
    border-color: var(--gold);
    color: var(--gold);
    transform: translateY(-1px);
  }


  .stat-item { text-align: center; }

  .stat-num {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2.2rem;
    font-weight: 300;
    color: var(--gold);
    display: block;
  }

  .stat-label {
    font-size: 0.72rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(254,254,254,0.55);
    display: block;
    margin-top: 0.2rem;
  }

  /* ── SECTION BASE ── */
  section { padding: 90px 5vw; }

  .section-inner { max-width: 1200px; margin: 0 auto; }

  .section-label {
    font-size: 0.92rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 0.7rem;
    display: block;
	font-weight: 500;
  }

  .section-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 300;
    color: var(--navy);
    line-height: 1.2;
    margin-bottom: 1.5rem;
  }

  .section-title.light { color: var(--white); }

  .divider {
    width: 50px;
    height: 2px;
    background: var(--gold);
    margin-bottom: 3rem;
  }

  /* ── ABOUT ── */
  #about { background: var(--cream); }

  .about-grid {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 5rem;
    align-items: start;
  }

  .about-left {
    position: sticky;
    top: 100px;
  }

  .about-portrait {
    width: 100%;
    aspect-ratio: 3/4;
    background: var(--navy);
    position: relative;
    overflow: hidden;
    border-radius: 2px;
  }

.portrait-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(145deg, var(--navy) 0%, var(--navy-light) 100%);
    display: flex;
    flex-direction: column;
    align-items: center;    /* Centrowanie w poziomie */
    justify-content: center; /* Centrowanie w pionie */
    color: rgba(254,254,254,0.3);
    padding: 2rem;
    box-sizing: border-box; /* Ważne: padding nie powiększa kontenera */
    overflow: hidden;       /* Zapobiega "rozpychaniu" layoutu przez zdjęcie */
}

.portrait-placeholder img {
    max-width: 100%;
    max-height: 100%;
    display: block;        /* Usuwa domyślny margines pod obrazkiem */
    object-fit: contain;   /* Utrzymuje zdjęcie wewnątrz bez ucinania go */
}

@media (max-width: 767px) {
  .portrait-placeholder {
    /* Mniejszy padding na telefonie - zdjęcie będzie szersze */
    padding: 0.5rem; 
  }
}

  
  .portrait-placeholder p { font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase; }

  .about-portrait::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 40%;
    background: linear-gradient(transparent, rgba(37,41,74,0.6));
  }

  .credential-strip {
    background: var(--gold);
    padding: 0.8rem 1.2rem;
    margin-top: 1.2rem;
  }

  .credential-strip p {
    font-size: 0.75rem;
    letter-spacing: 0.08em;
    color: var(--white);
    line-height: 1.6;
  }

  .about-text p {
    font-size: 1rem;
    line-height: 1.85;
    color: var(--text-mid);
    margin-bottom: 1.4rem;
  }

  .about-text p:last-child { margin-bottom: 0; }

  /* ── SERVICES ── */
  #services { background: var(--white); }

  .services-intro {
    max-width: 640px;
    margin-bottom: 4rem;
  }

  .services-intro p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text-mid);
  }

/* 1. STREFA WSPÓLNA (dla wszystkich urządzeń) */
.services-grid {
  display: grid;
  gap: 1.5px;
  background: #E8E4DE;
  /* Na telefonie domyślnie 1 kolumna */
  grid-template-columns: 1fr; 
}

/* 2. STREFA DLA DESKTOPÓW (powyżej 768px szerokości ekranu) */
@media (min-width: 769px) {
  .services-grid {
    /* Tutaj ląduje Twój oryginalny kod dla boxów obok siebie */
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  }

  .services-grid > :nth-child(7) {
    /* Rozciąga box nr 7 na całą szerokość (od 1 do ostatniej kolumny) */
    grid-column: 1 / -1;
  }
}

  .service-card {
    background: var(--white);
    padding: 2.2rem 2rem;
    transition: all 0.25s;
    cursor: default;
    position: relative;
  }

  .service-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 3px;
    height: 0;
    background: var(--gold);
    transition: height 0.3s ease;
  }

  .service-card:hover::before { height: 100%; }
  .service-card:hover { background: var(--cream); }

  .service-num {
    font-family: 'Cormorant Garamond', serif;
    font-size: 3rem;
    font-weight: 300;

	color: var(--gold);
    line-height: 1;
    margin-bottom: 0.8rem;
    display: block;
  }

  .service-name {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.3rem;
    font-weight: 500;
    color: var(--navy);
    margin-bottom: 1rem;
  }
  
    .service-text {
    font-size: 0.90rem;
    color: var(--text-mid);
    line-height: 1.6;
    padding: 0.25rem 0 0.7rem 0;
    
   
  }

  .service-list {
    list-style: none;
    padding: 0;
  }

  .service-list li {
    font-size: 0.90rem;
    color: var(--text-mid);
    line-height: 1.6;
    padding: 0.25rem 0;
    padding-left: 1rem;
    position: relative;
  }

  .service-list li::before {
    content: '—';
    position: absolute;
    left: 0;
    color: var(--gold);
    font-size: 0.7rem;
    top: 0.32rem;
  }

  /* ── WHY ── */
  #why { background: var(--navy); }

  .why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2px;
    background: rgba(255,255,255,0.06);
    margin-top: 1rem;
  }

  .why-item {
    background: var(--navy);
    padding: 2.2rem 1.8rem;
    transition: background 0.25s;
  }

  .why-item:hover { background: var(--navy-light); }

  .why-icon {
    width: 36px;
    height: 2px;
    background: var(--gold);
    margin-bottom: 1.4rem;
  }

  .why-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.2rem;
    font-weight: 500;
    color: var(--white);
    margin-bottom: 0.7rem;
    line-height: 1.3;
  }

  .why-text {
    font-size: 0.88rem;
    line-height: 1.7;
    color: rgba(254,254,254,0.6);
  }

  /* ── CONTACT ── */
  #contact { background: var(--cream); }

  .contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 5rem;
    align-items: start;
  }

  .contact-info-block { margin-bottom: 2rem; }

  .contact-info-label {
    font-size: 0.85rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gold);
    display: block;
    margin-bottom: 0.4rem;
  }

  .contact-info-value {
    font-size: 0.95rem;
    color: var(--text-mid);
    line-height: 1.6;
  }

  .contact-info-value a {
    color: var(--navy);
    text-decoration: none;
    transition: color 0.2s;
  }

  .contact-info-value a:hover { color: var(--gold); }

  .contact-text {
    background: var(--navy);
    padding: 1.5rem;
    margin-top: 1.5rem;
    border-radius: 2px;
  }

  .contact-text p {
    font-size: 1rem;
    color: rgba(254,254,254,0.7);
    line-height: 1.7;
  }

  .contact-text strong {
    color: var(--gold);
    font-weight: 500;
  }

  /* Form */
  .contact-form { background: var(--white); padding: 2.5rem; border-radius: 2px; box-shadow: 0 4px 40px rgba(37,41,74,0.08); }

  .form-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.6rem;
    font-weight: 400;
    color: var(--navy);
    margin-bottom: 0.3rem;
  }

  .form-subtitle {
    font-size: 0.85rem;
    color: var(--text-mid);
    margin-bottom: 2rem;
    line-height: 1.5;
  }

  .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1rem;
  }

  .form-group {
    margin-bottom: 1rem;
  }

  .form-group label {
    display: block;
    font-size: 0.73rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-mid);
    margin-bottom: 0.5rem;
  }

  .form-group input,
  .form-group select,
  .form-group textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid #DDD9D2;
    border-radius: 1px;
    font-family: 'Jost', sans-serif;
    font-size: 0.9rem;
    font-weight: 300;
    color: var(--text-dark);
    background: var(--white);
    transition: border-color 0.2s;
    outline: none;
  }

  .form-group input:focus,
  .form-group select:focus,
  .form-group textarea:focus {
    border-color: var(--gold);
  }

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

  .consent-block {
    margin-top: 1.2rem;
    padding: 1.2rem;
    background: #F9F7F4;
    border: 1px solid #E8E4DE;
    border-radius: 1px;
    margin-bottom: 1.2rem;
  }

  .consent-row {
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
  }

  .consent-row input[type="checkbox"] {
    width: 16px;
    height: 16px;
    min-width: 16px;
    margin-top: 2px;
    accent-color: var(--gold);
    cursor: pointer;
  }

  .consent-row label {
    font-size: 0.8rem;
    color: var(--text-mid);
    line-height: 1.6;
    cursor: pointer;
  }

  .consent-row label a {
    color: var(--gold);
    text-decoration: underline;
    text-underline-offset: 2px;
    transition: color 0.2s;
  }

  .consent-row label a:hover { color: var(--navy); }

  .btn-submit {
    width: 100%;
    background: var(--navy);
    color: var(--white);
    border: none;
    padding: 1rem 2rem;
    font-family: 'Jost', sans-serif;
    font-size: 0.8rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.25s;
    border-radius: 1px;
    margin-top: 0.5rem;
  }

  .btn-submit:hover { background: var(--gold); }

  .form-note {
    font-size: 0.72rem;
    color: #AAA6A0;
    text-align: center;
    margin-top: 0.8rem;
    line-height: 1.5;
  }

  .success-msg {
    display: none;
    background: #E8F5E9;
    border: 1px solid #A5D6A7;
    padding: 1rem 1.2rem;
    border-radius: 1px;
    font-size: 0.88rem;
    color: #2E7D32;
    margin-top: 1rem;
  }

  /* ── FOOTER ── */
  footer {
    background: var(--navy);
    padding: 2.5rem 5vw;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1.5rem;
  }


  
  .footer-logo {
  display: flex;
  align-items: center;
  height: 100%; /* Pozwala linkowi wypełnić wysokość nawigacji */
  text-decoration: none;
}

/* ROZMIAR MOBILNY (Domyślny) */
.footer-logo img {
  height: 60px; /* Mniejsze logo na telefon */
  width: auto;
  display: block;
}

/* ROZMIAR DESKTOP (Powyżej 1024px szerokości ekranu) */
@media (min-width: 1024px) {
  .footer-logo img {
    height: 70px; /* Większe logo na komputerze */
  }
}

  .footer-copy {
    font-size: 0.80rem;
    color: var(--cream);
    letter-spacing: 0.05em;
    text-align: center;
    flex: 1;
  }

  .footer-links {
    display: flex;
    gap: 1.5rem;
  }

  .footer-links a {
    font-size: 0.80rem;
    letter-spacing: 0.1em;
    color: var(--cream);
    text-decoration: none;
    text-transform: uppercase;
    transition: color 0.2s;
  }

  .footer-links a:hover { color: var(--gold); }

  /* ── SCROLL ANIMATION ── */
  .fade-in {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity 0.65s ease, transform 0.65s ease;
  }

  .fade-in.visible {
    opacity: 1;
    transform: translateY(0);
  }

  .fade-in-delay-1 { transition-delay: 0.1s; }
  .fade-in-delay-2 { transition-delay: 0.2s; }
  .fade-in-delay-3 { transition-delay: 0.3s; }
  .fade-in-delay-4 { transition-delay: 0.4s; }

  /* ── RESPONSIVE ── */
  @media (max-width: 900px) {
    .hero-inner { grid-template-columns: 1fr; gap: 3rem; }
    .hero-line { display: none; }
    
    .about-grid { grid-template-columns: 1fr; gap: 2rem; }
    .about-left { position: static; }
    .about-portrait { aspect-ratio: 4/3; max-height: 320px; }
    .contact-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  }

  @media (max-width: 768px) {
    .nav-links { display: none; }
    .hamburger { display: flex; }
    section { padding: 70px 5vw; }
    .form-row { grid-template-columns: 1fr; }
    
    .why-grid { grid-template-columns: 1fr; }
    footer { flex-direction: column; align-items: center; text-align: center; }
    
  }

  @media (max-width: 480px) {
    .hero-actions { flex-direction: column; }
    .btn-primary, .btn-outline { text-align: center; }
  }
  