/* ============================================
   ASMIRE — Main Stylesheet (Merged & Clean)
   ============================================ */

/* ---- Font-face ---- */
@font-face { font-family: 'Pinyon Script'; src: url('../fonts/PinyonScript-Regular.ttf') format('truetype'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Calibre'; src: url('../fonts/calibre-thin.woff2') format('woff2'); font-weight: 100; font-style: normal; font-display: swap; }
@font-face { font-family: 'Calibre'; src: url('../fonts/calibre-thin-italic.woff2') format('woff2'); font-weight: 100; font-style: italic; font-display: swap; }
@font-face { font-family: 'Calibre'; src: url('../fonts/calibre-light.woff2') format('woff2'); font-weight: 300; font-style: normal; font-display: swap; }
@font-face { font-family: 'Calibre'; src: url('../fonts/calibre-light-italic.woff2') format('woff2'); font-weight: 300; font-style: italic; font-display: swap; }
@font-face { font-family: 'Calibre'; src: url('../fonts/calibre-regular.woff2') format('woff2'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Calibre'; src: url('../fonts/calibre-regular-italic.woff2') format('woff2'); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: 'Calibre'; src: url('../fonts/calibre-medium.woff2') format('woff2'); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: 'Calibre'; src: url('../fonts/calibre-medium-italic.woff2') format('woff2'); font-weight: 500; font-style: italic; font-display: swap; }
@font-face { font-family: 'Calibre'; src: url('../fonts/calibre-semibold.woff2') format('woff2'); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: 'Calibre'; src: url('../fonts/calibre-semibold-italic.woff2') format('woff2'); font-weight: 600; font-style: italic; font-display: swap; }
@font-face { font-family: 'Calibre'; src: url('../fonts/calibre-bold.woff2') format('woff2'); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: 'Calibre'; src: url('../fonts/calibre-bold-italic.woff2') format('woff2'); font-weight: 700; font-style: italic; font-display: swap; }
@font-face { font-family: 'Calibre'; src: url('../fonts/calibre-black.woff2') format('woff2'); font-weight: 900; font-style: normal; font-display: swap; }
@font-face { font-family: 'Calibre'; src: url('../fonts/calibre-black-italic.woff2') format('woff2'); font-weight: 900; font-style: italic; font-display: swap; }

/* ---- Variables ---- */
:root {
    --navy:   #111527;
    --red:    #591117;
    --beige:  #AFACA1;
    --cream:  #E6DED1;
    --white:  #FFFFFF;
    --black:  #000000;
    --header-h: 80px;
    --transition: 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
    font-family: 'Calibre', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-weight: 400; color: var(--navy); background: var(--beige);
    overflow-x: hidden; -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; background: none; border: none; font-family: inherit; }
h1, h2, h3, h4, h5 { font-weight: 300; line-height: 1.1; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }

/* ============================================
   HEADER
   ============================================ */
.site-header {
    position: fixed; top: 0; left: 0; width: 100%; z-index: 100;
    height: 90px; background: var(--black);
    display: block; transition: box-shadow var(--transition);
}
.site-header.scrolled { box-shadow: 0 1px 0 rgba(255,255,255,0.06); }
.header-topbar { display: none; }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 100%; padding: 0 40px; }
.header-wordmark { display: none; }

.header-left { display: flex; align-items: center; gap: 16px; }
.header-toggle-text {
    font-family: 'Times New Roman', 'Georgia', serif;
    font-size: 27px; font-weight: 600; text-transform: uppercase;
    color: var(--beige); letter-spacing: 0.1em; line-height: 1;
    display: inline-block; vertical-align: middle;
}
.header-right { display: flex; align-items: center; min-width: 28px; }

.header-center { position: absolute; left: 50%; transform: translateX(-50%); }
.header-emblem img { height: 70px; width: auto; }
.emblem-dark { display: none; }
.emblem-light { display: block; }

.nav-toggle { display: flex; flex-direction: column; justify-content: space-between; width: 28px; height: 18px; padding: 0; }
.nav-toggle span { display: block; width: 100%; height: 1px; background: var(--beige); }
.header-nav { display: none; }

/* Nav overlay */
.nav-overlay { position: fixed; inset: 0; background: var(--navy); z-index: 200; display: flex; flex-direction: column; align-items: center; justify-content: center; opacity: 0; pointer-events: none; transition: opacity 0.4s ease; }
.nav-overlay.open { opacity: 1; pointer-events: all; }
.nav-close { position: absolute; top: 24px; right: 40px; font-size: 24px; color: var(--beige); opacity: 0.7; transition: opacity var(--transition); }
.nav-close:hover { opacity: 1; }
.overlay-nav ul { display: flex; flex-direction: column; align-items: center; gap: 32px; }
.overlay-nav a { font-size: clamp(16px,5vw,32px); font-weight: 300; letter-spacing: 0.04em; color: var(--beige); opacity: 0.8; transition: opacity var(--transition); }
.overlay-nav a:hover { opacity: 1; }
.overlay-cta { font-size: 14px; font-weight: 400; letter-spacing: 0.12em; text-transform: uppercase; border: 1px solid rgba(255,255,255,0.4); padding: 12px 28px; opacity: 0.7; }
.overlay-social { position: absolute; bottom: 40px; display: flex; gap: 24px; }
.overlay-social a { font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--beige); opacity: 0.5; transition: opacity var(--transition); }

/* ============================================
   BUTTONS
   ============================================ */
.btn { display: inline-block; font-size: 16px; font-weight: 400; letter-spacing: 0.14em; text-transform: uppercase; padding: 13px 30px; border: 2px solid currentColor; border-radius: 8px; transition: background var(--transition), color var(--transition); white-space: nowrap; }
.btn-light { color: var(--beige); border-color: var(--beige); }
.btn-light:hover { background: var(--beige); color: var(--navy); }
.btn-dark { color: var(--navy); border-color: rgba(17,21,39,0.4); }
.btn-dark:hover { background: var(--navy); color: var(--beige); }
.btn-red { color: var(--red); border-color: var(--red); }
.btn-red:hover { background: var(--red); color: var(--beige); }

/* ============================================
   HOME — Hero
   ============================================ */
.hero { display: grid; grid-template-columns: 50% 50%; min-height: auto; }
.hero-left { position: relative; background: var(--navy); overflow: visible; display: flex; flex-direction: column; z-index: 2; min-height: 0; }
.hero-left-media { position: static; display: flex; align-items: center; justify-content: center; padding: 48px 48px 0; flex: 0 1 auto; min-height: 0; overflow: visible; }
.hero-left-media video,
.hero-left-media img.hero-img { position: static; width: 100%; max-width: 480px; height: auto; aspect-ratio: 4/5; object-fit: cover; object-position: center; opacity: 1; display: block; box-shadow: 0 8px 40px rgba(0,0,0,0.3); }

.hero-vertical-text {
    position: absolute; top: 50%; right: 0px;
    transform: translate(50%, -50%) rotate(90deg);
    transform-origin: center center;
    writing-mode: horizontal-tb; text-orientation: mixed;
    font-family: 'Times New Roman', 'Georgia', serif;
    font-size: 133px; font-weight: 700; letter-spacing: 0.1em;
    color: var(--cream); pointer-events: none; white-space: nowrap; z-index: 3;
}
.hero-left-content { position: relative; z-index: 2; margin-top: -70px; text-align: left; align-self: center; padding: 0 48px 40px; background: transparent; }
.hero-left-content .hero-quote { padding-bottom: 55px;margin-left: 70px; margin-right: 70px; font-size: 28px; font-weight: 300; font-style: normal; line-height: 1.3; color: var(--beige); max-width: 100%; margin-bottom: 0; }
.hero-right { background: var(--beige); display: flex; flex-direction: column; padding: 100px 48px 60px; align-items: center; }
.hero-right-top { flex: 1; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; width: 100%; }
.hero-right .section-label { display: none; }
.hero-right h2 { font-size: 130px; font-weight: 300; color: var(--red); letter-spacing: 0.03em; line-height: 1; margin-bottom: 24px; text-align: center; width: 100%; font-family: 'Pinyon Script', cursive; }
.hero-right .ring-preview { width: 55%; max-width: 300px; aspect-ratio: 1; object-fit: cover; margin: 0 auto 24px; display: block; box-shadow: 0 8px 40px rgba(0,0,0,0.15); }
.hero-right .hero-body { font-size: 15px; font-weight: 300; line-height: 1.75; color: rgba(17,21,39,0.7); max-width: 340px; margin-bottom: 32px; text-align: center; margin-left: auto; margin-right: auto; }
.hero-right .btn { display: inline-block; width: auto; max-width: 280px; padding: 13px 48px; }

/* ============================================
   HOME — Feature
   ============================================ */
.feature-image { position: relative; height: clamp(320px, 50vw, 640px); overflow: hidden; }
.feature-image img { width: 100%; height: 100%; object-fit: cover; object-position: center 40%; transition: transform 0.8s ease; }
.feature-image:hover img { transform: scale(1.03); }

/* ==========================================================================
   === PARALLAX — Feature Video (mocny efekt) ===
   ========================================================================== */

.feature-video {
    position: relative;
    width: 100%;
    height: clamp(320px, 50vw, 550px);
    overflow: hidden;
    background: var(--navy);
    --parallax-range: 0px;
}

.feature-video video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: calc(100% + var(--parallax-range));
    object-fit: cover;
    object-position: center top;
    display: block;
    transform: translate3d(0, 0, 0);
    will-change: transform;
    pointer-events: none;
}

@media (prefers-reduced-motion: reduce) {
    .feature-video video {
        transform: none !important;
    }
}
.header-emblem img {
    mix-blend-mode: screen;
}
/* ===========================================
   HOME — Portfolio Preview
   ============================================ */
.portfolio-preview {
    display: grid;
    grid-template-columns: 50% 50%;
    height: auto;
    min-height: 0;
}

/* Left — beige */
.portfolio-left {
    background: var(--beige);
    padding: 200px 270px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
}

.portfolio-stamp {
    width: 200px; height: 200px;
    position: relative;
    z-index: 10;
    margin: 0 0 -100px 320px;
    display: block; object-fit: contain;
}

/* Slider */
.portfolio-slider {
    position: relative;
    width: 100%;
    max-width: none;
    height: auto;
    flex-grow: 0;          /* NIE rośnie — zachowuje swój naturalny rozmiar */
    min-height: 260px;
    aspect-ratio: 1 / 1;   /* Kwadrat jak w mockupie */
    margin: 0 0 32px 0;
    overflow: hidden;
    z-index: 1;
}
.portfolio-slider-track { display: flex; flex-wrap: nowrap; width: 100%; height: 100%; transition: transform 0.55s cubic-bezier(0.25,0.46,0.45,0.94); will-change: transform; }
.portfolio-slide { flex: 0 0 100%; width: 100%; min-width: 100%; height: 100%; overflow: hidden; }
.portfolio-slide img { width: 100%; height: 100%; object-fit: cover; display: block; }

.portfolio-title {
    font-family: 'Pinyon Script', cursive;
    font-style: normal;
    font-size: 130px;
    font-weight: 300;
    color: var(--red);
    text-align: center;
    line-height: 1;
    margin-top: auto;
    margin-bottom: 0;
}

/* Slider controls */
.slider-arrow { position: absolute; top: 50%; transform: translateY(-50%); z-index: 5; width: 80px; height: 80px; display: flex; align-items: center; justify-content: center; background: transparent;  color: var(--beige); cursor: pointer; transition: background 0.3s, border-color 0.3s; }
.slider-arrow:hover { background: transparent; }
.slider-arrow--prev { left: 16px; }
.slider-arrow--next { right: 16px; }
.slider-arrow svg {
    width: 52px;
    height: 52px;
}
.slider-dots { position: absolute; bottom: 14px; left: 50%; transform: translateX(-50%); display: flex; justify-content: center; gap: 8px; z-index: 5; }
.slider-dot { width: 8px; height: 8px; border-radius: 50%; border: 1px solid var(--beige); background: transparent; cursor: pointer; transition: background 0.3s, border-color 0.3s; }
.slider-dot.active, .slider-dot:hover { background: var(--beige); border-color: var(--beige); }

/* Right — navy */
.portfolio-right--video {
    background: var(--navy);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 0;
    min-width: 0;
    height: 100%;
    padding:150px;
  }

.portfolio-video {
    width: 360px;
    height: 0;
    min-height: 0;
    max-height: 640px;
    flex: 1 1 100%;
    z-index: 1;
    margin-bottom: 0;
    display: block;
}

.portfolio-right-content {
    flex: 0 0 auto;
    width: 720px;
    max-width: 720px;
    margin: 32px auto 0;
    position: relative;
    z-index: 10;
    text-align: left;
    padding: 0;
}
.portfolio-right--video h3 { font-size: 28px; font-weight: 300; color: var(--beige); line-height: 1.3; margin-top: -56px; margin-bottom: 32px; }

/* Center button under video */
.portfolio-right--video .portfolio-right-content .btn {
    display: block;
    margin: 0 auto;
    width: fit-content;
    text-align: center;
}

/* ============================================
   HOME — Services
   ============================================ */
.services-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 120px;       /* odstęp między lewą a prawą grupą */
    max-width: 90%;
    margin: 0 auto;
}
.service-left,
.service-right {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.services { background: var(--beige); margin-top: 0; padding: 60px 40px; }
.service-item { text-align: center; }
.service-icon { width: 90px; height: 90px; object-fit: contain; margin: 0 auto 32px; filter: brightness(0) saturate(100%); opacity: 0.85; }
.service-item h3 { font-size: 16px; font-weight: 500; text-transform: uppercase; color: var(--navy); margin-bottom: 20px; }
.service-item p { font-size: 15px; font-weight: 300; line-height: 1.3; color: rgba(17, 21, 39, 0.75); max-width: 330px; margin: 0 auto; }

/* ============================================
   O ASMIRE PAGE
   ============================================ */
.about-hero { display: grid; grid-template-columns: 50% 50%; min-height: 100vh; }
.about-hero-left {
    position: relative; overflow: hidden;
    background-color: var(--beige); background-size: cover; background-position: center; background-repeat: no-repeat;
    display: flex; align-items: center; justify-content: center;
    padding: calc(var(--header-h) + 60px) 40px 60px;
}
.about-hero-left img.about-main-img {
    position: relative; inset: auto;
    width: 520px; max-width: 100%; height: auto;
    object-fit: cover;
    box-shadow: 0 25px 60px rgba(0,0,0,0.45);
}
.about-hero-right {
    background: var(--navy);
    padding: 120px 60px;
    display: flex; flex-direction: column; justify-content: center; align-items: flex-start;
}
.about-watermark { display: none; }
.about-hero-right h1 {
    font-family: 'Pinyon Script', cursive;
    font-size: 130px; font-weight: 300;
    color: var(--red); margin-bottom: 100px; line-height: 1;
    position: relative; z-index: 1;
}
.about-hero-right .about-body p {
    font-size: 22px; font-weight: 300; line-height: 1.3;
    color: var(--beige); margin-bottom: 24px; max-width: 680px;
    position: relative; z-index: 1;
}
.about-cta { margin-top: 40px; position: relative; z-index: 1; }
.brand-statement { background: var(--navy); padding: 80px 40px; }
.brand-statement-inner { max-width: 800px; margin: 0 auto; text-align: center; }
.brand-statement p { font-size: clamp(18px,2vw,24px); font-weight: 300; line-height: 1.8; color: var(--beige); font-style: italic; }

/* ============================================
   FOOTER
   ============================================ */
.site-footer { background: var(--black); color: var(--beige); padding: 90px 0 0; }
.footer-inner {
    display: grid; grid-template-columns: 1fr 1fr 1fr;
    gap: 38px; align-items: start; max-width: 100%; margin: 0 auto;
    padding: 0 40px 64px;
}
.footer-brand { display: flex; flex-direction: column; align-items: center; }
.footer-logo img { display: none; }
.footer-logo-link { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; text-decoration: none; }
.footer-logo-img { width: 320px; height: auto; object-fit: contain; }
.footer-about { display: flex; flex-direction: column; gap: 24px; padding-right: 20px; max-width: 65%; }
.footer-tagline { font-size: 18px; font-weight: 300; line-height: 1.3; color: var(--beige); font-style: normal; }
.footer-social { display: flex; gap: 16px; flex-wrap: wrap; }
.footer-social a {
    width: 44px; height: 44px; margin-top: 10px; border-radius: 50%;
    background: var(--black); display: flex; align-items: center; justify-content: center;
    transition: transform var(--transition), opacity var(--transition); flex-shrink: 0;
    border: 1px solid var(--beige);
    color: var(--beige);
}
.footer-social a:hover { transform: translateY(-3px); opacity: 0.9; }
.footer-social a svg { width: 22px; height: 22px; }
.footer-nav-col h4 { font-size: 28px; font-weight: 400; text-transform: uppercase; color: var(--beige); margin-bottom: 24px; }
.footer-nav-col ul { display: flex; flex-direction: column; gap: 14px; list-style: none; padding: 0; margin: 0; }
.footer-nav-col a { font-size: 18px; font-weight: 300; color: var(--beige); transition: color var(--transition); line-height: 1.3; }
.footer-nav-col a:hover { color: var(--beige); }
.footer-bottom { text-align: center; padding: 22px 40px; }
.footer-bottom p { font-size: 14px; color: var(--beige); }

/* ============================================
   PORTFOLIO PAGE
   ============================================ */
.portfolio-header { padding: calc(var(--header-h) + 64px) 40px 48px; background: var(--beige); text-align: center; }
.portfolio-header h1 { font-family: 'Pinyon Script', cursive; font-size: 130px; font-weight: 300; color: var(--red); margin-bottom: 16px; }
.portfolio-header .subtitle { font-size: 22px; font-weight: 300; color: rgba(17,21,39,0.6); max-width: 480px; margin: 0 auto 40px; line-height: 1.7; }
.portfolio-filters { display: flex; justify-content: center; gap: 8px; flex-wrap: wrap; padding: 0 40px 48px; background: var(--beige); }
.portfolio-filter-btn { font-size: 11px; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; padding: 8px 20px; border: 1px solid rgba(17,21,39,0.25); color: rgba(17,21,39,0.6); cursor: pointer; transition: all var(--transition); background: none; font-family: 'Calibre', sans-serif; }
.portfolio-filter-btn:hover, .portfolio-filter-btn.active { background: var(--navy); border-color: var(--navy); color: var(--beige); }
.portfolio-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 2px; background: var(--navy); }
.portfolio-grid { margin-top: 0; }
.portfolio-item {
    position: relative;
    overflow: hidden;
    aspect-ratio: 1;
    cursor: pointer;
    background: var(--black);  /* maskuje lukę tym samym kolorem co zdjęcia */
    line-height: 0;            /* zabija phantom space pod img */
    font-size: 0;              /* j.w. */
}.portfolio-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    position: absolute;   /* wyrywamy z flow — wypełnia parent idealnie */
    inset: 0;             /* top:0 right:0 bottom:0 left:0 */
}.portfolio-item:hover img { transform: scale(1.06); }
.portfolio-item-overlay { position: absolute; inset: 0; background: rgba(17,21,39,0); display: flex; align-items: flex-end; padding: 24px; transition: background var(--transition); }
.portfolio-item:hover .portfolio-item-overlay { background: rgba(17,21,39,0.55); }
.portfolio-item-label { opacity: 0; transform: translateY(8px); transition: opacity var(--transition), transform var(--transition); font-size: 18px; font-weight: 400; letter-spacing: 0.1em; text-transform: uppercase; color: var(--beige); }
.portfolio-item:hover .portfolio-item-label { opacity: 1; transform: translateY(0); }
.portfolio-cta-bar { background: var(--beige); padding: 64px 40px; text-align: center; }
.portfolio-cta-bar h2 { font-size: clamp(24px,3vw,40px); font-weight: 300; color: var(--navy); margin-bottom: 8px; }
.portfolio-cta-bar p { font-size: 15px; font-weight: 300; color: rgba(17,21,39,0.6); margin-bottom: 32px; }

/* ============================================
   KONTAKT PAGE
   ============================================ */
.kontakt-top { display: grid; grid-template-columns: 1fr 1fr; min-height: calc(65vh - var(--header-h)); padding-top: var(--header-h); }
.kontakt-map {
    position: sticky; top: var(--header-h);
    min-height: calc(65vh - var(--header-h));
    background: #e0dbd3; z-index: 0;
    display: flex; overflow: hidden; margin: 0;
}
.kontakt-map iframe {
    width: 100%; height: 100%; display: block;
    border: none; margin: 0; padding: 0;
}
.kontakt-info {
    background: var(--beige); padding: clamp(56px,8vh,160px) clamp(40px,6vw,80px);
    display: flex; flex-direction: column; justify-content: center; gap: 56px;
    margin: -24px 0 0 0;
}
.kontakt-main { display: flex; flex-direction: column; gap: 10px; }
.kontakt-tel { font-size: clamp(28px,3.5vw,48px); font-weight: 300; color: var(--navy); text-decoration: none; letter-spacing: -0.01em; transition: opacity var(--transition); }
.kontakt-tel:hover { opacity: 0.65; }
.kontakt-email { font-size: clamp(15px,1.6vw,20px); font-weight: 300; color: var(--navy); text-decoration: none; opacity: 0.65; transition: opacity var(--transition); }
.kontakt-email:hover { opacity: 1; }
.kontakt-salony { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.kontakt-salon { border-top: 1px solid rgba(17,21,39,0.18); padding-top: 20px; display: flex; flex-direction: column; gap: 8px; }
.salon-miasto { font-size: 16px; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase; color: rgba(17,21,39,0.45); margin-bottom: 4px; }
.kontakt-salon address { font-style: normal; font-size: 13px; font-weight: 300; line-height: 1.75; color: var(--navy); }
.kontakt-salon a { font-size: 13px; font-weight: 300; color: var(--navy); text-decoration: none; opacity: 0.65; transition: opacity var(--transition); line-height: 1.8; }
.kontakt-salon a:hover { opacity: 1; }
.kontakt-marker { background: transparent; border: none; }
.kontakt-marker div { width: 14px; height: 14px; background: var(--navy); border: 3px solid ; border-radius: 50%; box-shadow: 0 2px 8px rgba(17,21,39,0.35); }
.kontakt-formularz { background: var(--beige); border-top: 1px solid rgba(17,21,39,0.1); padding: clamp(72px,10vh,120px) 40px; }
.kontakt-formularz-port { background: var(--beige); border-top: 1px solid rgba(17,21,39,0.1); padding: clamp(72px,10vh,120px) 40px; }
.kontakt-formularz-inner { max-width: 720px; margin: 0 auto; }
.kontakt-formularz h2 { font-size: 32px; font-weight: 300; color: var(--navy); margin-bottom: 48px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 32px; }
.form-group { margin-bottom: 28px; }
.form-group label { display: block; font-size: 10px; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase; color: rgba(17,21,39,0.45); margin-bottom: 10px; }
.form-group input, .form-group textarea { width: 100%; background: transparent; border: none; border-bottom: 1px solid rgba(17,21,39,0.22); padding: 10px 0; font-family: 'Calibre', sans-serif; font-size: 15px; font-weight: 300; color: var(--navy); outline: none; transition: border-color var(--transition); -webkit-appearance: none; border-radius: 0; }
.form-group input:focus, .form-group textarea:focus { border-bottom-color: var(--navy); }
.form-group input::placeholder, .form-group textarea::placeholder { color: rgba(17,21,39,0.28); }
.form-group textarea { resize: none; height: 110px; line-height: 1.65; }
.form-captcha-group { max-width: 320px; }
.form-captcha-group label { font-size: 12px; text-transform: none; letter-spacing: 0; }
.form-captcha-group input { max-width: 100px; }
.form-submit { margin-top: 16px; }
.form-submit .btn { min-width: 220px; text-align: center; justify-content: center; }
.form-note { margin-top: 16px; font-size: 12px; font-weight: 300; color: rgba(17,21,39,0.4); line-height: 1.6; }
.form-success { display: none; background: rgba(89,17,23,0.07); border-left: 3px solid var(--red); padding: 16px 20px; margin-top: 24px; font-size: 14px; color: var(--red); line-height: 1.6; }
.form-success.show { display: block; }
.formularz-heading
/* ============================================
   LIGHTBOX
   ============================================ */
.asmire-lightbox {
    position: fixed; inset: 0;
    background: rgba(17, 21, 39, 0.95);
    backdrop-filter: blur(5px);
    z-index: 9999;
    display: flex; align-items: center; justify-content: center;
    opacity: 0; pointer-events: none;
    transition: opacity 0.4s ease;
}
.asmire-lightbox.active { opacity: 1; pointer-events: auto; }
.asmire-lightbox img {
    max-width: 90vw; max-height: 90vh; object-fit: contain;
    box-shadow: 0 20px 60px rgba(0,0,0,0.5);
    transform: scale(0.95); transition: transform 0.4s ease;
}
.asmire-lightbox.active img { transform: scale(1); }
.asmire-lightbox-close {
    position: absolute; top: 30px; right: 40px;
    color: var(--beige); font-size: 50px; font-weight: 100;
    cursor: pointer; line-height: 1;
    transition: opacity var(--transition);
    opacity: 0.5; background: none; border: none; z-index: 10000;
}
.asmire-lightbox-close:hover { opacity: 1; }

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes fadeUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }
.js-ready .reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease, transform 0.7s ease; }
.js-ready .reveal.in-view { opacity: 1; transform: translateY(0); }


/* ==================================================================
   RESPONSIVE
   ================================================================== */

/* ---- Desktop enhancements (≥769px) ---- */
@media (min-width: 769px) {
    .hero-left-media { padding-top: calc(var(--header-h) + 80px); }
    .hero-right { padding-top: calc(var(--header-h) + 80px); }
    .hero-right .ring-preview { width: 75%; max-width: 460px; margin-bottom: 40px; }
    .hero-right h2 { font-size: 130px; margin-bottom: 32px; }
}

/* ---- ≤1600px ---- */
@media (max-width: 1600px) {
    .footer-about { max-width: 100%; }
    .hero-quote { max-width: 100%; margin: 0 auto; text-align: left; }
    .portfolio-right-content { max-width: 100%; margin: 32px auto 0; text-align: left; }
}

/* ---- ≤1250px — Footer 2 kolumny ---- */
@media (max-width: 1250px) {
    .site-footer .footer-inner {
        grid-template-columns: 1fr 1fr;
        gap: 64px 40px;
        max-width: 900px;
        margin: 0 auto;
    }
    .site-footer .footer-brand,
    .site-footer .footer-about,
    .site-footer .footer-nav-col {
        grid-column: span 1;
        padding-right: 0;
    }
    .footer-brand { align-items: flex-start; }
    .site-footer .footer-about { justify-content: flex-start; }
    .site-footer .footer-tagline { max-width: 100%; }
}

/* ---- ≤1024px ---- */
@media (max-width: 1024px) {
    .header-inner { padding: 0 28px; }
    .hero-left-content { padding: 0 36px 48px; margin-top: -80px; }
    .hero-right { padding: 100px 36px 48px; }

    /* About */
    .about-hero { grid-template-columns: 1fr; }
    .about-hero-left { min-height: 70vh; padding: calc(var(--header-h) + 40px) 24px 60px; }
    .about-hero-left img.about-main-img { width: 460px; max-width: 100%; }
    .about-hero-right { padding: 60px 24px; }
    .about-hero-right h1 { font-size: 56px; margin-bottom: 24px; }

    /* Kontakt */
    .kontakt-salony { grid-template-columns: 1fr 1fr; gap: 24px; }

    /* Services */
    .services-grid { grid-template-columns: repeat(2, 1fr); gap: 60px 40px; max-width: 800px; }
}

/* ---- Tablet footer (1024px – 768px) ---- */
@media (max-width: 1024px) and (min-width: 769px) {
    .site-footer .footer-inner { grid-template-columns: 140px 1.4fr 1fr 1fr; gap: 24px; padding: 0 24px 56px; }
    .site-footer .footer-brand, .site-footer .footer-about, .site-footer .footer-nav-col { grid-column: span 1; grid-row: auto; padding-right: 0; order: 0; }
    .site-footer .footer-logo-img { width: 140px; }
    .footer-nav-col h4 { font-size: 18px; }
    .footer-tagline { font-size: 15px; }
    .footer-nav-col a { font-size: 15px; }
}

/* ---- ≤768px (mobile) ---- */
@media (max-width: 768px) {
    :root { --header-h: 60px; }
    .header-inner { padding: 0 20px; }
    .nav-close { right: 24px; }

    /* Hero */
    .hero { grid-template-columns: 1fr; }
    .hero-left { min-height: 70vw; }
    .hero-left-media {
        display: flex; justify-content: center; align-items: center;
        width: 100%; min-height: 56vw; padding: 32px 24px 0;
    }
    .hero-left-media img.hero-img {
        width: 80%; margin: 0 auto; display: block;
        position: relative; left: auto; right: auto; transform: none;
    }
    .hero-left-content { padding: 0 24px 40px; margin-top: -80px; }
    .hero-right { padding: 48px 24px 40px; }
    .hero-right .ring-preview { width: 70%; max-width: none; }
    .hero-vertical-text { display: none; }

    /* Feature */
    .feature-image { height: clamp(220px, 50vw, 380px); }

    /* Portfolio preview */
    .portfolio-preview { grid-template-columns: 1fr; height: auto; }
    .portfolio-left { padding: 60px 24px; }
    .portfolio-stamp { width: 110px; height: 110px; margin-left: auto; margin-right: 0; margin-bottom: -40px; }
    .portfolio-slider { flex-grow: 0; height:350px; aspect-ratio: 1 / 1; min-height: auto; margin-bottom: 24px; }
    .slider-arrow { width: 66px; height: 66px; object-fit: cover; }
    .slider-arrow--prev { left: 8px; }
    .slider-arrow--next { right: 8px; }
    .slider-dot { width: 7px; height: 7px; }
    .portfolio-title { font-size: 32px; margin-top: 16px; }
    .portfolio-right--video { height: auto; padding: 32px 24px; }
    .portfolio-video { height: auto; flex: 0 0 auto; aspect-ratio: 4 / 5; }
    .portfolio-right-content { max-width: 100%; margin-top: -24px; }

    /* Services */
    .services { padding: 24px 24px; }
    .services-grid { grid-template-columns: repeat(2,1fr); gap: 32px 24px; }
    .service-icon { width: 80px; height: 80px; margin-bottom: 24px; }
    .service-item h3 { font-size: 20px; }
    .service-item p { font-size: 16px; }

    /* About */
    .about-hero { grid-template-columns: 1fr; }
    .about-hero-left { height: 260px; max-height: 260px; }
    .about-hero-left img { border: 4px solid var(--beige); object-fit: cover; position: static; width: 50%; height: 50%; }
    .about-hero-right { padding: 150px 24px 56px; }
    .about-hero-right .about-body p { font-size: 16px; }
    .brand-statement { padding: 56px 24px; }


    /* Portfolio page */
    .portfolio-header {     padding: calc(var(--header-h) + 40px) 24px 32px; }
    .portfolio-header h1 { font-size: 56px; margin-bottom: 16px; }
    .portfolio-header .subtitle { font-size: 18px; max-width: 100%; }
    .portfolio-filters { padding: 0 24px 32px; }
    .portfolio-grid { grid-template-columns: repeat(2,1fr); }
    .portfolio-grid .portfolio-item:nth-child(n+4) { display: none; }
    .portfolio-cta-bar { padding: 48px 24px; }

    /* Footer */
    .site-footer { padding: 60px 0 0; }
    .site-footer .footer-inner { grid-template-columns: 1fr; gap: 40px; padding: 0 24px 48px; text-align: left; }
    .site-footer .footer-brand, .site-footer .footer-about, .site-footer .footer-nav-col { grid-column: auto; }
    .footer-bottom { padding: 20px 24px; }
    .footer-logo-img { width: 200px; height: auto; object-fit: contain; }
    /* Kontakt */
    .kontakt-top { grid-template-columns: 1fr; padding-top: var(--header-h); min-height: 0;height:460px; }
    .kontakt-map { position: relative; top: 0; height: 360px; min-height: 0; width: 100%; }
    .kontakt-info { padding: 72px 24px; gap: 40px; margin: 50 0 0 0; }
    .kontakt-salony { grid-template-columns: 1fr 1fr; }
    .form-row { grid-template-columns: 1fr; gap: 0; }
    .kontakt-formularz { margin-top: 224px; padding: 56px 24px; }
    .kontakt-formularz-port { padding: 56px 24px; }
    .form-captcha-group { max-width: 100%; }

    /* Lightbox */
    .asmire-lightbox-close { top: 20px; right: 24px; font-size: 40px; }
}

/* ---- ≤480px ---- */
@media (max-width: 480px) {
    .services-grid {
        grid-template-columns: 1fr !important;
        gap: 24px !important;
    }
    .service-left,
    .service-right {
        grid-template-columns: 1fr 1fr !important;
        gap: 24px !important;
    }
    .service-item h3 {
        font-size: 12px;
        margin-bottom: 10px;
    }
    .service-item p {
        font-size: 10px;
        line-height: 1.3;
    }
    .service-icon {
        width: 64px;
        height: 64px;
        margin-bottom: 16px;
    }
    .portfolio-grid { grid-template-columns: 1fr; }

    /* Footer — Gefaell layout: logo + brand side by side, links below */
    .site-footer {
        padding: 14px 0 0;
    }

    .site-footer .footer-inner {
        display: grid;
        grid-template-columns: 1.3fr 1fr; /* Lewa kolumna z tekstem nieco szersza, prawa z linkami */
        grid-template-rows: auto auto; /* Dwa wiersze: 1. Logo, 2. Tekst i Linki */
        gap: 20px 20px; /* Większy odstęp pod logo (40px) i 20px między kolumnami */
        padding: 0 24px 12px;
        text-align: left;
    }

    /* 1. Wiersz: Wyśrodkowane logo na pełną szerokość */
    .site-footer .footer-brand {
        grid-column: 1 / -1; /* Rozciąga się od pierwszej do ostatniej kolumny */
        grid-row: 1;
        display: flex;
        justify-content: center;
        align-items: center;
        width: 100%;
    }

    .site-footer .footer-logo-img {
        width: 140px;
        max-width: 100%;
    }

    /* Ukrywamy ikony social w głównym brandzie na mobile (bo masz drugie w .footer-about) */
    .site-footer .footer-brand > .footer-social {
        display: none;
    }

    /* 2. Wiersz, Lewa kolumna: Tekst i Sociale */
    .site-footer .footer-about {
        grid-column: 1;
        grid-row: 2;
        padding-right: 0;
        display: flex;
        flex-direction: column;
        gap: 24px; /* Odstęp między tekstem a ikonami */
    }

    /* Ukrywamy zbędny napis ASMIRE, logo wystarczy */
    .site-footer .footer-about .footer-nav-col h4 {
        display: none;
    }

    .site-footer .footer-tagline {
        font-size: 11px;
        line-height: 1.3;
        color: var(--beige); /* Lekko wyszarzony, jak na screenie */
        text-align: left;
        margin: 0;
    }

    .site-footer .footer-social-mobile {
        display: flex;
        justify-content: flex-start;
        gap: 16px;
        margin: 0;
        margin-top: 10px; /* DODANE: Odstęp między tekstem a ikonami */
    }
    .header-toggle-text {
        font-size: 18px;
    }
    .site-footer .footer-social-mobile a {
        width: 34px;
        height: 34px;
        border-radius: 50%;
        border: 1px solid var(--beige);
        display: flex;
        justify-content: center; /* Wymuszenie w poziomie */
        align-items: center;     /* Wymuszenie w pionie */
        padding: 0;              /* Zerujemy ewentualny padding */
        text-decoration: none;
    }

    .site-footer .footer-social-mobile a svg {
        width: 16px;
        height: 16px;
        display: block;          /* Usuwa phantom space pod ikoną */
        margin: 0;               /* Zeruje marginesy SVG */
    }

    /* 2. Wiersz, Prawa kolumna: KONTAKT i linki */
    .site-footer .footer-inner > .footer-nav-col:last-child {
        grid-column: 2;
        grid-row: 2;
        text-align: left;
        padding-top: 0;
    }

    .site-footer .footer-inner > .footer-nav-col:last-child h4 {
        font-size: 14px;
        text-transform: uppercase;
        margin-bottom: 6px;
        padding-left: 37px; /* DODANE: Wyrównuje tytuł z linkami, dodając padding po lewej */
        color: var(--beige);
    }

    .site-footer .footer-nav-col ul {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        padding: 0 0 0 37px; /* DODANE: Wyrównuje linki z lewą kolumną, dodając padding po lewej */
        gap: 4px; /* DODANE: Zmniejsza odstęp między linkami, by zrównały się z lewą kolumną */
    }

    .site-footer .footer-nav-col a {
        font-size: 12px;
        color: var(--beige);
    }
    .footer-bottom { padding: 10px 20px; }


    /* Dolny pasek Copyright */
    .site-footer .footer-bottom {
        text-align: center;
        padding: 20px 24px;
        padding-top: 0;
        border-top: none; /* Czyste przejście */
    }

    .site-footer .footer-bottom p {
        font-size: 13px;
        color: var(--beige);
    }

          /* About */
  .about-hero { display: flex; flex-direction: column-reverse; }
.about-hero-left {
    height: auto;
    max-height: none;
    min-height: auto;
    padding: 32px 24px;
}
.about-hero-left img.about-main-img {
    width: 100%;
    max-width: 100%;
}

}
/* ---- ≤430px ---- */
@media (max-width: 430px) {
    /* Hero */
    .hero-left-media { padding: 32px 20px 0; }
    .hero-left-media img.hero-img { width: 100%; max-width: 280px; padding-top: 60px; aspect-ratio: 4/5; margin: 40px auto 0; align-self: center; }
    .hero-left-content { padding: 0px 24px 40px; margin-top: 10px; }
    .hero-left-content .hero-quote {padding-bottom:20px; margin: 0; font-size: 16px; line-height: 1.3; }
    .hero-right { padding: 40px 24px 40px; }
    .hero-right .ring-preview { width: 100%; max-width: 260px; margin: 0 auto 32px; }
    .hero-right h2 { font-size: 56px; word-wrap: break-word; margin-bottom: 20px; }
    .hero-right .hero-body { font-size: 14px; padding: 0; max-width: 100%; }
    .hero-right .btn { width: 100%; text-align: center; }

    /* Portfolio */
    .portfolio-preview { width: 100%; max-width: 100vw; overflow: hidden; }
    .portfolio-left { width: 100%; max-width: 100%; padding: 40px 20px; box-sizing: border-box; }
    .portfolio-slider { width: 100%; max-width: 100%; }
    .portfolio-title { font-size: 56px; max-width: 100%; word-wrap: break-word; margin-top: 16px; }
    .portfolio-right--video { width: 100%; max-width: 100%; padding: 40px 20px; box-sizing: border-box; }
    .portfolio-video { width: 100%; max-width: 100%; }
    .portfolio-right-content { width: 100%; max-width: 100%; padding: 0; }
    .portfolio-right--video h3 { font-size: 16px; word-wrap: break-word; margin-top: 40px;}
}
/* ==========================================================================
   === FIX: O Asmire — obrazek inline po pierwszym paragrafie (mobile) ===
   ========================================================================== */
.about-inline-img { display: none; }

@media (max-width: 480px) {
    .about-hero { display: block !important; display: block !important; min-height: 0 !important; }
    .about-hero-left { display: none !important; }
    .about-hero-right { padding: calc(var(--header-h) + 60px) 24px 48px; }
    .about-inline-img {
        display: block !important;
        width: 70%;
        max-width: 280px;
        max-height: 300px;
        margin: 20px auto 28px;
        box-shadow: 0 12px 40px rgba(0,0,0,0.3);
    }
        .about-inline-img {
    border: 6px solid var(--beige);

}
}
/* === FIX: Social icons — desktop pod logo, mobile pod tagline === */
.footer-social-mobile { display: none; }

@media (max-width: 480px) {
    .footer-brand .footer-social { display: none !important; }
    .footer-social-mobile { display: flex !important; justify-content: center; }
}
/* === FIX: Krótsza mapa na desktop === */
.kontakt-map {margin-top: 10px;
    height: calc(45vh - var(--header-h)) !important;
}
/* === FIX: Kontakt mobile — mapa + info + formularz === */
@media (max-width: 768px) {
    .kontakt-top {
        display: flex !important;
        flex-direction: column !important;
        height: auto !important;
        min-height: 0 !important;
    }
    .kontakt-map {
        height: 480px !important;
        min-height: 0 !important;
        position: relative !important;
        margin: 0 !important;
    }
    .kontakt-info {
        margin: 0 !important;
        padding: 32px 24px !important;
    }
    .kontakt-formularz {
        position: relative;
        z-index: 10;
        margin-top: 0 !important;
        padding-top: 40px !important;
        border-top: none !important;
    }
}
/* === FIX: Formularz na stronie Portfolio === */
.kontakt-formularz-port {
    background: var(--beige);
    padding: clamp(72px, 10vh, 120px) 40px;
}
.kontakt-formularz-port .kontakt-formularz-inner {
    max-width: 720px;
    margin: 0 auto;
}
.kontakt-formularz-port h2 {
    font-size: clamp(28px, 3vw, 42px);
    font-weight: 300;
    color: var(--navy);
    margin-bottom: 48px;
}

@media (max-width: 768px) {
    .kontakt-formularz-port {
        padding: 56px 24px;
    }
}
