:root {
    --bg-main: #050b18;
    --bg-alt: #0b1426;
    --bg-card: #121b30;
    --accent: #f9a825;
    --accent-soft: rgba(249, 168, 37, 0.12);
    --text-main: #f5f7ff;
    --text-muted: #a1acc7;
    --border-soft: rgba(255, 255, 255, 0.06);
    --font-sans: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
    font-family: var(--font-sans);
    background: radial-gradient(circle at top right, #182748 0, #050b18 45%, #02040a 100%);
    background-attachment: fixed;
    color: var(--text-main);
}
/* --- USE CASE NAVIGATION (WKLEJONE NA GÓRZE) --- */

/* Płynne przewijanie */
html {
    scroll-behavior: smooth;
}

/* Kafelki - wersja BAZOWA (Mobile First) */
.uc-nav-grid {
    display: grid;
    grid-template-columns: 1fr; /* Jedna kolumna na telefonie */
    gap: 1rem;
    margin-bottom: 2rem;
    width: 100%;
}

.uc-nav-card {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: var(--bg-card);
    border: 1px solid var(--border-soft);
    border-radius: 12px;
    padding: 1rem;
    text-decoration: none !important; /* Wymuszenie braku podkreślenia */
    color: var(--text-main) !important; /* Wymuszenie koloru */
    transition: transform 0.2s ease, border-color 0.2s ease;
    text-align: center;
}

.uc-nav-card:hover, .uc-nav-card:active {
    border-color: var(--accent);
    background: rgba(255, 255, 255, 0.05);
}

.uc-nav-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    margin-bottom: 0.25rem;
    display: block;
}

.uc-nav-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-main);
    display: block;
}

/* Ukrywamy strzałkę na telefonie, żeby było czytelniej */
.uc-arrow {
    display: none; 
}

/* Wersja na TABLETY i KOMPUTERY (od 768px szerokości) */
@media (min-width: 768px) {
    .uc-nav-grid {
        grid-template-columns: repeat(3, 1fr); /* Trzy kolumny */
        gap: 1.5rem;
    }
    
    .uc-arrow {
        display: block; /* Pokazujemy strzałkę */
        color: var(--accent);
        margin-top: 0.5rem;
        font-size: 1.2rem;
    }
}

/* Korekta scrollowania */
section[id] {
    scroll-margin-top: 100px;
}
/* Layout */

.container {
    width: 100%;
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Header & nav */

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: linear-gradient(to bottom, rgba(5, 11, 24, 0.96), rgba(5, 11, 24, 0.9));
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.logo {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
}

.logo img {
    height: 30px;
    width: auto;
}

.logo-text {
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--text-main);
    font-size: 0.8rem;
}

.main-nav {
    display: flex;
    gap: 1.5rem;
}

.nav-link {
    text-decoration: none;
    font-size: 0.95rem;
    color: var(--text-muted);
    position: relative;
    padding-bottom: 4px;
}

.nav-link:hover {
    color: var(--text-main);
}

.nav-link.active {
    color: var(--accent);
}

.nav-link.active::after,
.nav-link:hover::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    height: 2px;
    width: 100%;
    background: var(--accent);
    border-radius: 999px;
}

/* Hero */

.hero {
    padding: 4.5rem 0 4rem;
    position: relative;
}



.hero-inner {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
    gap: 3rem;
    align-items: center;
}

.eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 1rem;
    color: var(--accent);
    margin: 0 0 0.75rem;
}

.hero h1 {
    font-size: 2.4rem;
    line-height: 1.2;
    margin: 0 0 1rem;
}

.hero-subtitle {
    margin: 0 0 1.75rem;
    color: var(--text-muted);
    max-width: 520px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.hero-visual {
    display: flex;
    justify-content: flex-end;
}

.hero-card {
    background: var(--bg-card);
    border-radius: 16px;
    padding: 1.25rem 1.5rem;
    border: 1px solid var(--border-soft);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
    max-width: 360px;
}

.hero-card-label {
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--text-muted);
    margin: 0 0 0.75rem;
}

.hero-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.hero-card li {
    font-size: 0.9rem;
    margin-bottom: 0.35rem;
}

.hero-visual {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 1.5rem;
}

.hero-image {
    max-width: 420px;
    width: 100%;
    height: auto;
    border-radius: 20px;
    object-fit: cover;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.55);
}


.scroll-indicator {
    margin-top: 2rem;
    text-align: center;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--text-muted);
}

/* Sections */

.section {
    padding: 3.5rem 0;
}

.section-alt {
    background: var(--bg-alt);
}

.section h2 {
    font-size: 1.6rem;
    margin: 0 0 2rem;
}

/* Cards / grids */

.grid-3 {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.75rem;
}

.card {
    background: var(--bg-card);
    border-radius: 16px;
    padding: 1.5rem;
    border: 1px solid var(--border-soft);
}

.card h3 {
    margin-top: 0;
    margin-bottom: 0.75rem;
    font-size: 1.1rem;
}

.card p {
    margin: 0;
    color: var(--text-muted);
}

/* Services list */

.services-list {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.service-item {
    padding: 1.25rem 1.5rem;
    border-radius: 14px;
    border: 1px solid var(--border-soft);
    background: rgba(5, 11, 24, 0.85);
}

.service-item h3 {
    margin: 0 0 0.4rem;
    font-size: 1.1rem;
}

.service-item p {
    margin: 0;
    color: var(--text-muted);
}

/* About summary */

.about-summary {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
    gap: 2rem;
    align-items: start;
}

.about-highlight {
    background: var(--bg-card);
    border-radius: 16px;
    padding: 1.5rem;
    border: 1px solid var(--border-soft);
}

.about-highlight ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.about-highlight li {
    margin-bottom: 0.45rem;
    font-size: 0.95rem;
}

/* CTA section */

.section-cta {
    text-align: center;
}

.section-cta p {
    max-width: 560px;
    margin: 0.75rem auto 1.5rem;
    color: var(--text-muted);
}

/* Buttons */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.6rem 1.3rem;
    border-radius: 999px;
    border: 1px solid transparent;
    font-size: 0.95rem;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease,
        transform 0.08s ease;
}

.btn-primary {
    background: var(--accent);
    color: #111;
}

.btn-primary:hover {
    transform: translateY(-1px);
    border-color: #ffca28;
}

.btn-ghost {
    background: transparent;
    color: var(--text-main);
    border-color: rgba(255, 255, 255, 0.24);
}

.btn-ghost:hover {
    background: var(--accent-soft);
}

/* Footer */

.site-footer {
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding: 1.25rem 0 1.75rem;
    background: #02040a;
}

.footer-inner {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* Responsive */

@media (max-width: 900px) {
    .hero-inner,
    .grid-3,
    .about-summary 
    .grid-3-about{
        grid-template-columns: 1fr;
    }

    .hero {
        padding-top: 3.5rem;
    }

    .hero-visual {
        justify-content: flex-start;
    }

    .main-nav {
        gap: 1rem;
    }
}

@media (max-width: 640px) {
    .header-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
        height: auto;
        padding: 0.75rem 0;
    }

    .hero h1 {
        font-size: 1.9rem;
    }

    .hero-inner {
        gap: 2rem;
    }

    .main-nav {
        flex-wrap: wrap;
        font-size: 0.9rem;
    }
}

/* Kontakt layout */

.contact-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.2fr);
    gap: 2.5rem;
    align-items: flex-start;
}

.contact-info .contact-highlight a {
    color: var(--accent);
    text-decoration: none;
}

.contact-info .contact-highlight a:hover {
    text-decoration: underline;
}

.text-muted {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Formularz */

.contact-form-wrapper {
    border-radius: 16px;
}

.contact-form h2 {
    margin-top: 0;
    margin-bottom: 1.25rem;
}

.contact-form .form-row {
    margin-bottom: 1rem;
}

.contact-form label {
    display: block;
    font-size: 0.9rem;
    margin-bottom: 0.35rem;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form textarea {
    width: 100%;
    border-radius: 10px;
    border: 1px solid var(--border-soft);
    padding: 0.55rem 0.75rem;
    background: rgba(8, 14, 30, 0.9);
    color: var(--text-main);
    font-family: var(--font-sans);
    font-size: 0.95rem;
}

.contact-form textarea {
    resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 1px rgba(249, 168, 37, 0.4);
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.checkbox-label input[type="checkbox"] {
    margin-top: 0.15rem;
}

.checkbox-label a {
    color: var(--accent);
    text-decoration: none;
}

.checkbox-label a:hover {
    text-decoration: underline;
}

.form-note {
    margin-top: 0.75rem;
}

/* Responsive for contact */

@media (max-width: 900px) {
    .contact-layout {
        grid-template-columns: 1fr;
    }
}

/* Language switch */

.lang-switch {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.85rem;
    margin-left: 1.5rem;
}

.lang-switch a {
    text-decoration: none;
    color: var(--text-muted);
}

.lang-switch a:hover {
    color: var(--text-main);
}

.lang-switch .lang-active {
    color: var(--accent);
    font-weight: 600;
}

.grid-3-about {
      display: grid;
    /* elastyczna siatka, która na mobile sama robi 1 kolumnę */
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.75rem;
}

/* Responsive layout for "O nas" grids */
@media (max-width: 900px) {
    .grid-3-about {
        grid-template-columns: 1fr;
    }
}
.partner-link {
  color: #F5C56B; /* ten sam żółty co w menu */
  font-weight: 600;
  text-decoration: none;
}

.partner-link:hover {
  color: #FFD98E;
  text-decoration: underline;
}

/* --- DODATEK: Style dla ikon w nagłówkach usług (FontAwesome) --- */
.service-item h3 i {
    color: var(--accent); /* Twój złoty kolor */
    margin-right: 12px;   /* Odstęp od tekstu */
    font-size: 0.9em;     /* Lekka korekta wielkości, żeby nie dominowały */
    opacity: 0.9;
}