/* ======================================
   FONTS
====================================== */
@import url('https://fonts.googleapis.com/css2?family=Neue+Montreal:wght@400;500;600;700&display=swap');


/* ======================================
   VARIABLES
====================================== */
:root {
    --granat: #031a31;
    --granat-dark: #00060F;
    --zloto: #D4B978;
    --text: #111;
    --text-light: #666;
    --shadow-soft: 0 20px 60px rgba(0,0,0,0.25);
}


/* ======================================
   RESET / BASE
====================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Neue Montreal', sans-serif;
    background: white;
    color: var(--text);
    line-height: 1.75;
}

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

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 5%;
}


/* ======================================
   HEADER / NAV
====================================== */
header {
    position: sticky;
    top: 0;
    background: var(--granat-dark);
    z-index: 1000;
}

nav {
    height: 100px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    color: white;
    font-size: 2.4rem;
    font-weight: 700;
}

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

.nav-pill {
    color: white;
    text-decoration: none;
    font-size: 1.05rem;
    position: relative;
}


/* ======================================
   SECTIONS – GLOBAL
====================================== */
.section {
    padding: 160px 0;
}

.section-dark {
    background: var(--granat);
    color: white;
}


/* ======================================
   HERO – JASNY / PREMIUM (JEDYNY)
====================================== */
.hero-light {
    background: #f7f7f5;
    padding: 160px 0;
}

.hero-layout {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 6rem;
    align-items: center;
}

.hero-eyebrow {
    display: block;
    font-size: 0.85rem;
    letter-spacing: 0.25em;
    color: var(--zloto);
    margin-bottom: 1.4rem;
}

.hero-light h1 {
    font-size: clamp(3.2rem, 5vw, 4.6rem);
    line-height: 1.05;
    margin-bottom: 2rem;
}

.hero-sub {
    max-width: 520px;
    font-size: 1.25rem;
    color: #444;
    margin-bottom: 3rem;
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 3rem;
}

.hero-phone {
    font-size: 0.95rem;
    color: #666;
}

.hero-image img {
    max-height: 520px;
    object-fit: cover;
    border-radius: 14px;
    box-shadow: var(--shadow-soft);
}


/* ======================================
   BUTTONS
====================================== */
.btn-gold {
    display: inline-block;
    background: var(--zloto);
    color: var(--granat);
    padding: 1.2rem 3rem;
    font-size: 1.05rem;
    font-weight: 600;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.35s ease;
}

.btn-gold:hover {
    background: #c3a861;
    transform: translateY(-2px);
}


/* ======================================
   ABOUT – PREMIUM
====================================== */
.about-premium {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 6rem;
    align-items: center;
}

.overline {
    color: var(--zloto);
    letter-spacing: 0.2em;
    font-size: 0.85rem;
    margin-bottom: 1.2rem;
    display: block;
}

.about-text h2 {
    font-size: 3rem;
    line-height: 1.1;
    margin-bottom: 2rem;
}

.about-text .lead {
    max-width: 620px;
    color: rgba(255,255,255,0.85);
}

.about-image img {
    border-radius: 16px;
    box-shadow: var(--shadow-soft);
}


/* ======================================
   STATS
====================================== */
.stats-premium {
    margin-top: 6rem;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 4rem;
}

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

.counter {
    font-size: 4.4rem;
    font-weight: 700;
    color: var(--zloto);
}

.suffix {
    font-size: 2.6rem;
    color: var(--zloto);
}

.stat-label {
    color: rgba(255,255,255,0.6);
}


/* ======================================
   SERVICES – PREMIUM (GLAC STYLE)
====================================== */
.services-premium {
    background: white;
}

.services-header {
    max-width: 640px;
    margin-bottom: 6rem;
}

.services-header h2 {
    font-size: 3rem;
    margin: 1.6rem 0;
}

.services-header p {
    color: #555;
}

.services-list {
    display: flex;
    flex-direction: column;
    gap: 4rem;
}

.service-row {
    display: grid;
    grid-template-columns: 80px 1fr;
    gap: 3rem;
    padding-top: 3rem;
    border-top: 1px solid #e6e6e6;
}

.service-index {
    font-size: 1.6rem;
    color: var(--zloto);
    font-weight: 600;
}

.service-content h3 {
    font-size: 1.8rem;
    margin-bottom: 0.8rem;
}

.service-content p {
    max-width: 520px;
    color: #444;
}


/* ======================================
   TEAM
====================================== */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(420px, 1fr));
    gap: 5rem;
}

.team-member img {
    border-radius: 14px;
}

.position {
    color: var(--text-light);
}

/* TEAM – SMALL VERSION */

.team-grid-small {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 5rem;
    margin-top: 5rem;
}

.team-grid-small .team-member img {
    max-width: 520px;
    margin-bottom: 1.6rem;
    border-radius: 14px;
}

.team-grid-small .team-member h3 {
    font-size: 1.3rem;
    margin-bottom: 0.3rem;
}


/* CONTACT */
.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: center;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.6rem;
}

.contact-form input,
.contact-form textarea {
    padding: 1.2rem 1.4rem;
    border-radius: 8px;
    border: none;
    font-family: inherit;
    background: white;
    color: var(--granat);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: var(--granat-dark);
}

.contact-form button {
    background: #deb346; /* jaśniejsze złoto */
    color: var(--granat);
}

.contact-form textarea {
    min-height: 160px;
    resize: none;
}

.contact-form input:disabled,
.contact-form textarea:disabled,
.contact-form button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* DEMO POPUP */
.demo-popup {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.65);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.demo-popup-content {
    background: white;
    padding: 3.5rem;
    max-width: 520px;
    text-align: center;
    border-radius: 16px;
    box-shadow: var(--shadow-soft);
}


/* ======================================
   ANIMATIONS – REVEAL
====================================== */
.reveal-left {
    opacity: 0;
    transform: translateX(-60px);
    will-change: transform, opacity;
}

/* ======================================
   MOBILE – PREMIUM
====================================== */

@media (max-width: 1024px) {

    /* GLOBAL SPACING */
    .section {
        padding: 100px 0;
    }

    nav {
        height: 80px;
    }

    .logo {
        font-size: 2rem;
    }

    .nav-links {
        gap: 1.8rem;
    }
}

/* ======================================
   MOBILE – TABLET & PHONE
====================================== */

@media (max-width: 768px) {

    /* CONTAINER */
    .container {
        padding: 0 7%;
    }

    /* HERO */
    .hero-light {
        padding: 120px 0 100px;
    }

    .hero-layout {
        grid-template-columns: 1fr;
        gap: 4rem;
    }

    .hero-light h1 {
        font-size: clamp(2.4rem, 7vw, 3.2rem);
    }

    .hero-sub {
        font-size: 1.1rem;
        margin-bottom: 2.5rem;
    }

    .hero-actions {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.8rem;
    }

    .hero-image img {
        max-height: 420px;
    }

    /* ABOUT */
    .about-premium {
        grid-template-columns: 1fr;
        gap: 4rem;
    }

    .about-text h2 {
        font-size: 2.4rem;
    }

    /* STATS */
    .stats-grid {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
    }

    .counter {
        font-size: 3.2rem;
    }

    /* SERVICES */
    .services-header h2 {
        font-size: 2.4rem;
    }

    .service-row {
        grid-template-columns: 1fr;
        gap: 1.6rem;
    }

    .service-index {
        font-size: 1.3rem;
    }

    /* TEAM */
    .team-grid {
        grid-template-columns: 1fr;
        gap: 4rem;
    }

    .team-grid-small {
        grid-template-columns: 1fr;
        gap: 4rem;
    }

    .team-grid-small .team-member img {
        max-width: 100%;
    }
}

/* ======================================
   MOBILE – SMALL PHONES
====================================== */

@media (max-width: 480px) {

    /* HEADER */
    nav {
        height: 72px;
    }

    .logo {
        font-size: 1.8rem;
    }

    .nav-links {
        gap: 1.4rem;
    }

    .nav-pill {
        font-size: 0.95rem;
    }

    /* HERO */
    .hero-light {
        padding: 100px 0 80px;
    }

    .hero-light h1 {
        font-size: 2.2rem;
    }

    .hero-sub {
        font-size: 1rem;
    }

    .btn-gold {
        width: 100%;
        text-align: center;
        padding: 1.1rem 0;
    }

    .hero-phone {
        font-size: 0.9rem;
    }

    /* STATS */
    .stats-grid {
        grid-template-columns: 1fr;
    }

    .counter {
        font-size: 2.8rem;
    }

    /* SERVICES */
    .service-content h3 {
        font-size: 1.5rem;
    }

    .service-content p {
        font-size: 0.95rem;
    }

    /* TEAM */
    .position {
        font-size: 0.95rem;
    }
}

/* ======================================
   MOBILE MENU – PREMIUM
====================================== */

.burger {
    display: none;
    background: none;
    border: none;
    width: 32px;
    height: 22px;
    position: relative;
    cursor: pointer;
    z-index: 2001;
}

.burger span {
    position: absolute;
    left: 0;
    width: 100%;
    height: 2px;
    background: white;
    transition: all 0.3s ease;
}

.burger span:first-child {
    top: 0;
}

.burger span:last-child {
    bottom: 0;
}

/* BURGER ACTIVE */
.burger.active span:first-child {
    transform: rotate(45deg);
    top: 10px;
}

.burger.active span:last-child {
    transform: rotate(-45deg);
    bottom: 10px;
}

/* MOBILE NAV */
@media (max-width: 768px) {

    .burger {
        display: block;
    }

    .nav-links {
        position: fixed;
        inset: 0;
        background: var(--granat-dark);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2.8rem;

        transform: translateY(-100%);
        transition: transform 0.5s ease;
        z-index: 2000;
    }

    .nav-links.active {
        transform: translateY(0);
    }

    .nav-pill {
        font-size: 1.8rem;
    }
}

/* ======================================
   MOBILE CONTACT FORM – ULEPSZENIA
====================================== */

@media (max-width: 768px) {

    .contact-layout {
        grid-template-columns: 1fr;          /* zawsze jedna kolumna */
        gap: 4rem;
    }

    .contact-text {
        text-align: center;                  /* ładniejszy środek na telefonie */
    }

    .contact-form {
        gap: 1.8rem;                         /* większe odstępy między polami */
    }

    .contact-form input,
    .contact-form textarea {
        width: 100%;                         /* zawsze pełna szerokość */
        padding: 1.4rem 1.6rem;              /* większe pola – łatwiej kliknąć */
        font-size: 1.1rem;                   /* większa czcionka = łatwiej czytać */
        border-radius: 12px;
        border: 1px solid rgba(255,255,255,0.15);   /* subtelna ramka na ciemnym tle */
        background: rgba(255,255,255,0.08);
        color: white;
        transition: all 0.2s ease;
    }

    .contact-form input::placeholder,
    .contact-form textarea::placeholder {
        color: rgba(255,255,255,0.45);
        font-size: 1.05rem;
    }

    /* focus / active – wyraźna informacja, że pole jest aktywne */
    .contact-form input:focus,
    .contact-form textarea:focus {
        outline: none;
        border-color: var(--zloto);
        box-shadow: 0 0 0 3px rgba(212, 185, 120, 0.25);
        background: rgba(255,255,255,0.12);
    }

    .contact-form textarea {
        min-height: 180px;                   /* więcej miejsca na wiadomość */
        padding-top: 1.4rem;
    }

    .contact-form button {
        padding: 1.4rem 2rem;                /* większy przycisk */
        font-size: 1.15rem;
        border-radius: 12px;
        margin-top: 0.8rem;
    }

    /* opcjonalnie – minimalna wysokość dotykowa (Apple Human Interface Guidelines) */
    .contact-form input,
    .contact-form textarea,
    .contact-form button {
        min-height: 54px;                    /* ≥ 44–48 px zalecane na mobile */
    }
}