/* =========================================================
   Apartament u Fotografa — Nr 14 — v6
   Token system: warm dusk palette, brass + sage accents
   ========================================================= */

/* ---------- Lokalne czcionki (Self-Hosted) ---------- */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/inter-400.woff2') format('woff2');
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('fonts/inter-600.woff2') format('woff2');
}

@font-face {
  font-family: 'Fraunces';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('fonts/fraunces-600.woff2') format('woff2');
}

/* ---------- Zmienne i reset ---------- */
:root{
  --bg:        #14110D;
  --bg-soft:   #1B1712;
  --surface:   #211C16;
  --surface-2: #2A241C;
  --line:      #37302688;
  --line-solid:#37302B;

  --text:      #F3EEE3;
  --text-dim:  #C8BEAC;
  --text-mute: #9A8E7A;

  --brass:     #C6A24B;
  --brass-lt:  #E4C878;
  --brass-dk:  #8F7530;
  --sage:      #7C9072;
  --sage-dk:   #566349;

  --radius:    14px;
  --radius-lg: 22px;
  --shadow:    0 18px 50px rgba(0,0,0,.45);

  --serif: "Fraunces", "Iowan Old Style", Georgia, serif;
  --sans:  "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

*{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
body{
  margin:0;
  background:var(--bg);
  color:var(--text);
  font-family:var(--sans);
  font-size:16px;
  line-height:1.6;
  -webkit-font-smoothing:antialiased;
}
img{ max-width:100%; display:block; }
a{ color:inherit; text-decoration:none; }
ul{ margin:0; padding:0; list-style:none; }
h1,h2,h3{ font-family:var(--serif); font-weight:600; margin:0; color:var(--text); }
p{ margin:0; }

.container{ max-width:1120px; margin:0 auto; padding:0 24px; }
.narrow{ max-width:760px; }

@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior:auto; }
  *{ animation-duration:.001ms !important; transition-duration:.001ms !important; }
}

/* ---------- eyebrow / section titles ---------- */
.eyebrow{
  display:inline-flex; align-items:center; gap:10px;
  font-size:.78rem; letter-spacing:.14em; text-transform:uppercase;
  color:var(--brass-lt); font-weight:600; margin-bottom:14px;
}
.eyebrow::before{
  content:""; width:22px; height:1px; background:var(--brass);
}
.eyebrow.light{ color:var(--brass-lt); }
.section-title{
  font-size:clamp(1.7rem, 2.6vw, 2.4rem);
  line-height:1.18; letter-spacing:-.01em; margin-bottom:16px;
}
.section-lead, .section-intro{
  color:var(--text-dim); font-size:1.05rem; max-width:640px; margin-bottom:8px;
}

.section{ padding:88px 0; border-top:1px solid var(--line); }
.section-alt{ background:var(--bg-soft); }
.section:first-of-type{ border-top:none; }

/* ---------- header ---------- */
.site-header{
  position:fixed; top:0; left:0; right:0; z-index:50;
  padding:20px 0;
  background:linear-gradient(to bottom, rgba(20,17,13,.92), rgba(20,17,13,0));
  transition:background .25s ease, padding .25s ease, box-shadow .25s ease;
}
.site-header.scrolled{
  background:rgba(20,17,13,.94);
  backdrop-filter:blur(10px);
  padding:12px 0;
  box-shadow:0 1px 0 var(--line-solid);
}
.header-inner{ display:flex; align-items:center; justify-content:space-between; gap:20px; }
.brand{ display:flex; flex-direction:column; line-height:1.15; }
.brand-eyebrow{
  font-size:.68rem; letter-spacing:.16em; text-transform:uppercase;
  color:var(--text-mute); margin-bottom:2px;
}
.brand-num{
  font-family:var(--serif); font-size:1.5rem; color:var(--text); letter-spacing:.01em;
}
.brand-num strong{ color:var(--brass-lt); font-weight:600; }
.brand-sub{ font-size:.72rem; color:var(--text-mute); margin-top:2px; letter-spacing:.03em; }

.nav{ display:flex; align-items:center; gap:22px; }
.lang{ display:flex; gap:8px; font-size:.8rem; }
.lang a{ color:var(--text-mute); padding:4px 6px; }
.lang a.active,.lang a:hover{ color:var(--brass-lt); }
.nav-link{ font-size:.92rem; color:var(--text-dim); }
.nav-link:hover{ color:var(--text); }

.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:8px;
  padding:12px 22px; border-radius:999px; font-size:.92rem; font-weight:600;
  border:1px solid transparent; cursor:pointer; transition:transform .15s ease, background .2s ease, border-color .2s ease;
  white-space:nowrap;
  background:none; font-family:inherit; -webkit-appearance:none; appearance:none;
}
.btn-primary{ background:var(--brass); color:#1A1509; }
.btn-primary:hover{ background:var(--brass-lt); transform:translateY(-1px); }
.btn-ghost{ border-color:var(--line-solid); color:var(--text); }
.btn-ghost:hover{ border-color:var(--brass); color:var(--brass-lt); }
.btn-sm{ padding:9px 16px; font-size:.82rem; }

@media (max-width: 860px){
  .nav-link{ display:none; }
}




/* ---------- hero ---------- */
.hero{
  position:relative; 
  min-height:92vh; 
  min-height:92dvh;
  display:flex; 
  align-items:flex-end;
  padding-top:140px;
}
.hero-bg{ 
  position:absolute; 
  inset:0; 
  overflow:hidden; 
  z-index: 1;
}
.hero-bg img,
.hero-bg picture,
.hero-bg picture img { 
  width:100%; 
  height:100%; 
  object-fit:cover; 
  display:block;
}
.hero-overlay{
  position:absolute; 
  inset:0;
  z-index: 2;
  background:
    linear-gradient(to top, rgba(20,17,13,.97) 0%, rgba(20,17,13,.55) 45%, rgba(20,17,13,.15) 75%),
    linear-gradient(to right, rgba(20,17,13,.55) 0%, rgba(20,17,13,0) 55%);
}
.hero-content{ 
  position:relative; 
  z-index: 3;
  padding-bottom:72px; 
  max-width:680px; 
}
.hero-content h1{ 
  font-size:clamp(2rem, 5vw, 3.6rem); 
  line-height:1.08; 
  margin-bottom:18px; 
  min-height: 1.1em;
}
.hero-lead{ 
  color:var(--text-dim); 
  font-size:1.12rem; 
  max-width:520px; 
  margin-bottom:30px; 
}
.hero-actions{ 
  display:flex; 
  gap:14px; 
  flex-wrap:wrap; 
  margin-bottom:34px; 
  min-height: 48px;
}
.hero-facts{ display:flex; gap:22px; flex-wrap:wrap; }
.hero-fact{ font-size:.85rem; color:var(--text-mute); }
.hero-fact strong{ color:var(--brass-lt); font-weight:600; }
.hero-fact:hover strong{ color:var(--brass); }

.hero-audience{ display:flex; align-items:center; gap:16px; flex-wrap:wrap; margin-top:14px; }
.hero-audience-label{ font-size:.82rem; color:var(--text-mute); }

/* ---------- trust strip ---------- */
.trust{ padding:34px 0; background:var(--surface); border-top:1px solid var(--line); border-bottom:1px solid var(--line); }
.trust-grid{ display:grid; grid-template-columns:repeat(4,1fr); gap:24px; }
.trust-item{ display:flex; align-items:flex-start; gap:12px; }
.trust-icon{ font-size:1.3rem; line-height:1; }
.trust-item strong{ display:block; font-size:.95rem; margin-bottom:2px; }
.trust-item span{ font-size:.82rem; color:var(--text-mute); }
@media (max-width:860px){ .trust-grid{ grid-template-columns:repeat(2,1fr); } }
@media (max-width:480px){ .trust-grid{ grid-template-columns:1fr; gap:16px; } }

/* ---------- feature grid ---------- */
.feature-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:20px; margin-top:36px; }
.feature-card{
  background:var(--surface); border:1px solid var(--line-solid); border-radius:var(--radius);
  padding:26px 24px;
}
.feature-card h3{ font-size:1.05rem; margin-bottom:10px; font-family:var(--sans); font-weight:600; }
.feature-card p{ color:var(--text-mute); font-size:.92rem; }
@media (max-width:860px){ .feature-grid{ grid-template-columns:1fr; } }

/* ---------- patio signature block ---------- */
.patio-block{
  margin-top:44px; display:grid; grid-template-columns:1fr 220px; gap:36px; align-items:center;
  background:linear-gradient(135deg, var(--surface), var(--bg-soft));
  border:1px solid var(--line-solid); border-radius:var(--radius-lg);
  padding:32px 34px;
}
.patio-block h3{ font-size:1.15rem; margin-bottom:10px; color:var(--brass-lt); }
.patio-block p{ color:var(--text-dim); font-size:.96rem; }
.patio-note{ display:block; margin-top:10px; font-size:.8rem; color:var(--text-mute); font-style:italic; }
.patio-svg{ width:100%; height:auto; justify-self:center; }
@media (max-width:760px){
  .patio-block{ grid-template-columns:1fr; }
  .patio-svg{ max-width:180px; }
}

/* ---------- amenities ---------- */
.amenities{ display:grid; grid-template-columns:repeat(2,1fr); gap:1px; margin-top:36px; background:var(--line-solid); border:1px solid var(--line-solid); border-radius:var(--radius); overflow:hidden; }
.amenity{ background:var(--surface); padding:22px 24px; }
.amenity strong{ display:block; font-family:var(--serif); font-size:1rem; margin-bottom:6px; color:var(--brass-lt); }
.amenity span{ font-size:.88rem; color:var(--text-mute); }
@media (max-width:760px){ .amenities{ grid-template-columns:1fr; } }

/* ---------- map / location ---------- */
.map-wrap{ position:relative; border-radius:var(--radius-lg); overflow:hidden; box-shadow:var(--shadow); margin-top:28px; }
.map-wrap iframe{ display:block; filter:grayscale(.25) contrast(1.05); }
.map-actions{
  position:absolute; left:16px; bottom:16px; display:flex; gap:10px; flex-wrap:wrap;
}
.map-actions .btn{ box-shadow:0 6px 20px rgba(0,0,0,.4); }

.distances{ display:grid; grid-template-columns:1fr 1fr; gap:28px; margin-top:36px; }
.distance-col h3{ font-family:var(--sans); font-size:.85rem; text-transform:uppercase; letter-spacing:.08em; color:var(--text-mute); margin-bottom:14px; font-weight:600; }
.distance-col ul li{
  display:flex; justify-content:space-between; padding:11px 0; border-bottom:1px solid var(--line);
  font-size:.92rem;
}
.distance-col ul li span{ color:var(--text-dim); }
.distance-col ul li strong{ color:var(--brass-lt); font-variant-numeric:tabular-nums; font-weight:600; }
@media (max-width:760px){ .distances{ grid-template-columns:1fr; } }

/* ---------- reviews + awards combined ---------- */
.trust-proof{ display:grid; grid-template-columns:220px 1fr; gap:44px; margin-top:32px; align-items:start; }
.awards-col{ display:flex; flex-direction:column; gap:16px; align-items:flex-start; }
.awards-col img{ width:100%; max-width:180px; border-radius:10px; }
.awards-caption{ font-size:.78rem; color:var(--text-mute); }
.quotes{ display:grid; grid-template-columns:1fr 1fr; gap:18px; }
blockquote{ margin:0; background:var(--surface); border:1px solid var(--line-solid); border-left:3px solid var(--brass); border-radius:10px; padding:20px 22px; }
blockquote p{ font-family:var(--serif); font-style:italic; font-size:1rem; color:var(--text-dim); margin-bottom:12px; }
blockquote cite{ font-style:normal; font-size:.8rem; color:var(--text-mute); }
.source{ margin-top:18px; font-size:.85rem; color:var(--text-mute); }
.source a{ color:var(--brass-lt); }
@media (max-width:860px){ .trust-proof{ grid-template-columns:1fr; } .awards-col{ flex-direction:row; } .quotes{ grid-template-columns:1fr; } }

/* ---------- business cards ---------- */
.cards{ display:grid; grid-template-columns:repeat(3,1fr); gap:20px; margin-top:32px; }
.card{ background:var(--surface); border:1px solid var(--line-solid); border-radius:var(--radius); padding:24px; }
.card h3{ font-size:1rem; margin-bottom:8px; font-family:var(--sans); font-weight:600; color:var(--brass-lt); }
.card p{ font-size:.9rem; color:var(--text-mute); }
@media (max-width:860px){ .cards{ grid-template-columns:1fr; } }

/* ---------- returning guests ---------- */
.returning{
  margin-top:28px; display:flex; align-items:center; justify-content:space-between; gap:24px; flex-wrap:wrap;
  background:var(--surface); border:1px solid var(--brass-dk); border-radius:var(--radius-lg);
  padding:28px 32px;
}
.returning-price{ font-family:var(--serif); font-size:1.6rem; color:var(--brass-lt); }
.returning-price span{ display:block; font-family:var(--sans); font-size:.78rem; color:var(--text-mute); text-transform:uppercase; letter-spacing:.08em; margin-top:4px; }

/* ---------- practical info ---------- */
.info-block p{ color:var(--text-dim); font-size:.95rem; margin-bottom:12px; }
.hours{ display:flex; gap:32px; margin-top:28px; flex-wrap:wrap; }
.hours div{ background:var(--surface); border:1px solid var(--line-solid); border-radius:10px; padding:16px 22px; min-width:160px; }
.hours strong{ display:block; font-size:.78rem; text-transform:uppercase; letter-spacing:.06em; color:var(--text-mute); margin-bottom:6px; }
.hours span{ font-family:var(--serif); font-size:1.3rem; color:var(--text); }
.note{ margin-top:16px; font-size:.88rem; color:var(--text-mute); max-width:560px; }
.rules{ margin-top:24px; display:flex; flex-direction:column; gap:6px; }
.rules p{ font-size:.85rem; color:var(--text-mute); }

/* ---------- booking CTA ---------- */
.cta{ background:radial-gradient(ellipse at top left, #2a2213, var(--bg)); border-top:1px solid var(--line-solid); }
.cta-title{ font-size:clamp(1.8rem,3vw,2.5rem); margin-bottom:14px; }
.cta-intro{ color:var(--text-dim); max-width:640px; margin-bottom:8px; }

.cta-grid{
  display:grid; grid-template-columns:1fr 1fr; gap:36px; align-items:start;
}
@media (max-width:860px){
  .cta-grid{ grid-template-columns:1fr; }
}

.cta-box{ padding-top:4px; }
.cta-price{ font-family:var(--serif); font-size:1.1rem; color:var(--brass-lt); margin-bottom:24px; }
.cta-actions{ display:flex; gap:14px; flex-wrap:wrap; }

.copy-template{
  background:var(--surface); border:1px solid var(--brass-dk); border-radius:var(--radius-lg);
  padding:24px 26px;
  align-self: start;
}
.copy-template-label{ font-size:.88rem; color:var(--text-dim); margin-bottom:14px; }
.copy-template-text{
  width:100%; resize:vertical; white-space:pre-wrap; font-family:var(--sans); font-size:.86rem; line-height:1.6;
  color:var(--text); background:var(--bg-soft); border:1px solid var(--line-solid);
  border-radius:var(--radius); padding:14px 16px; margin:0 0 14px;
}
.copy-template-text:focus{ outline:none; border-color:var(--brass); }

/* ---------- sticky mobile CTA ---------- */
.sticky-cta{
  position:fixed; left:0; right:0; bottom:0; z-index:60;
  display:none; padding:12px 16px; background:rgba(20,17,13,.95); backdrop-filter:blur(10px);
  border-top:1px solid var(--line-solid);
}
.sticky-cta .btn{ width:100%; }
@media (max-width:760px){ .sticky-cta{ display:block; } body{ padding-bottom:68px; } }

/* ---------- footer links ---------- */
.site-footer{ background:var(--bg-soft); border-top:1px solid var(--line-solid); padding:56px 0 30px; }
.site-footer a, .footer-bottom a {
  color: var(--brass-lt);
  text-decoration: none;
  transition: color .2s ease;
}
.site-footer a:hover, .footer-bottom a:hover {
  color: var(--brass);
  text-decoration: underline;
}
.footer-grid{ display:grid; grid-template-columns:1.4fr 1fr 1.4fr; gap:32px; margin-bottom:32px; }
.footer-grid h3{ font-size:1.1rem; margin-bottom:10px; }
.footer-grid h4{ font-size:.8rem; text-transform:uppercase; letter-spacing:.07em; color:var(--text-mute); margin-bottom:12px; font-family:var(--sans); }
.footer-grid p{ font-size:.88rem; color:var(--text-mute); margin-bottom:6px; }
.footer-bottom{ font-size:.8rem; color:var(--text-mute); border-top:1px solid var(--line); padding-top:20px; }
@media (max-width:760px){ .footer-grid{ grid-template-columns:1fr; } }

/* ---------- cookie consent banner ---------- */
.cookie-banner{
  display:none;
  position:fixed; left:16px; right:16px; bottom:16px; z-index:100;
  max-width:640px; margin:0 auto;
  background:var(--surface); border:1px solid var(--line-solid); border-radius:var(--radius-lg);
  box-shadow:var(--shadow); padding:20px 22px;
}
.cookie-banner.visible{ display:block; }
.cookie-banner p{ font-size:.85rem; color:var(--text-dim); margin-bottom:14px; }
.cookie-banner a{ color:var(--brass-lt); text-decoration:underline; }
.cookie-actions{ display:flex; gap:10px; flex-wrap:wrap; }
@media (max-width:760px){
  .cookie-banner{ bottom:84px; left:12px; right:12px; }
}

/* ---------- back link ---------- */
.back-link{
  display:inline-flex; align-items:center; gap:6px;
  font-size:.9rem; color:var(--brass-lt); margin-bottom:22px;
}
.back-link:hover{ color:var(--brass); }

.gallery-note{
  display:inline-block; margin-top:14px; padding:8px 16px;
  background:var(--surface); border:1px solid var(--line-solid); border-radius:999px;
  font-size:.82rem; color:var(--text-mute);
}

/* ---------- gallery ---------- */
.gallery-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:16px; margin-top:36px; }
.gallery-card{ margin:0; border-radius:var(--radius); overflow:hidden; background:var(--surface); border:1px solid var(--line-solid); }
.gallery-card img{ width:100%; height:230px; object-fit:cover; transition:transform .4s ease; }
.gallery-card:hover img{ transform:scale(1.04); }
.gallery-card figcaption{ padding:10px 14px; font-size:.82rem; color:var(--text-mute); }
@media (max-width:860px){ .gallery-grid{ grid-template-columns:1fr 1fr; } }
@media (max-width:520px){ .gallery-grid{ grid-template-columns:1fr; } }

.booking-contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.85fr);
  gap: 48px;
  margin-top: 48px;
  padding-top: 42px;
  border-top: 1px solid var(--line-solid);
}
.booking-contact { max-width: 620px; }

@media (max-width: 860px) {
  .booking-contact-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .booking-contact { max-width: none; }
}

/* ---------- przewodnik dojazdu i zameldowania ---------- */
.guide-section {
  padding: 40px 0;
}
.guide-steps {
  display: flex;
  flex-direction: column;
  gap: 25px;
  max-width: 800px;
  margin: 0 auto;
}
.guide-card {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 24px;
  border: 1px solid var(--line-solid);
  box-shadow: var(--shadow);
}
.guide-card.highlight-card {
  border: 1px solid var(--brass);
  background: var(--surface-2);
}
.step-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
  margin-top: 15px;
}
.step-grid.single-img {
  grid-template-columns: 1fr;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}
figure { margin: 0; }
figure img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  display: block;
}
figcaption {
  text-align: center;
  font-size: 0.85em;
  color: var(--text-mute);
  margin-top: 6px;
}
@media (max-width: 600px) {
  .step-grid { grid-template-columns: 1fr; }
}

/* SEO / lokalizacja nad widgetem rezerwacji */
.hero-seo-location {
    margin: 0 auto 18px;
    width: 100%;
    max-width: 720px;
    text-align: left;

    font-family: var(--font-sans, Inter, sans-serif);
    font-size: 13px;
    font-weight: 600;
    line-height: 1.3;
    letter-spacing: 0.14em;
    text-transform: uppercase;

    color: rgba(255, 255, 255, 0.88);
}

/* subtelna linia akcentująca */
.hero-seo-location::before {
    content: "";
    display: inline-block;
    width: 28px;
    height: 1px;
    margin-right: 10px;
    vertical-align: middle;
    background: var(--brass, #C6A24B);
    opacity: 0.9;
}

@media (max-width: 640px) {
    .hero-seo-location {
        margin-bottom: 14px;
        font-size: 11px;
        letter-spacing: 0.12em;
        line-height: 1.45;
    }

    .hero-seo-location::before {
        width: 22px;
        margin-right: 8px;
    }
}