/* =========================================================
   RENT-MAX – Arkusz stylów
   Paleta: Żółty #F6B800 + Granat #1A2744 + Biel
   ========================================================= */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
body { font-family: 'Montserrat', Arial, sans-serif; color: #222; background: #F7F8FA; line-height: 1.6; }
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

:root {
  --yellow:       #F6B800;
  --yellow-dark:  #C99000;
  --yellow-light: #FFD340;
  --navy:         #1A2744;
  --navy-light:   #243561;
  --white:        #FFFFFF;
  --gray-bg:      #F7F8FA;
  --gray-light:   #EAEDF1;
  --gray-mid:     #9AA3B0;
  --text:         #222222;
  --text-light:   #555E6D;
  --radius:       6px;
  --shadow:       0 2px 12px rgba(0,0,0,0.10);
  --shadow-hover: 0 6px 24px rgba(0,0,0,0.16);
  --transition:   0.25s ease;
  --max-width:    1200px;
}

/* =========================================================
   TOP BAR
   ========================================================= */
.top-bar { background: var(--navy); color: var(--white); font-size: 0.82rem; padding: 6px 0; }
.top-bar__inner {
  max-width: var(--max-width); margin: 0 auto; padding: 0 20px;
  display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap;
}
.top-bar a { color: var(--white); transition: color var(--transition); }
.top-bar a:hover { color: var(--yellow-light); }
.top-bar__phone { font-weight: 700; font-size: 0.92rem; letter-spacing: 0.5px; }
.top-bar__phone a { color: var(--yellow-light); }
.top-bar__info { display: flex; gap: 18px; align-items: center; }

/* Sticky header wrapper */
.sticky-header-wrapper {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--navy);
}

/* =========================================================
   HEADER / NAV — ciemny, RENT biały MAX żółty
   ========================================================= */
.site-header {
  background: var(--navy);
  box-shadow: 0 2px 12px rgba(0,0,0,0.3);
}
.nav-inner {
  max-width: var(--max-width); margin: 0 auto; padding: 0 20px;
  display: flex; align-items: center; justify-content: space-between; height: 64px;
}

/* Logo */
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.logo__icon {
  width: 42px; height: 42px;
  background: var(--yellow);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem; font-weight: 900; color: var(--navy);
  letter-spacing: -1px; flex-shrink: 0;
}
.logo__text { display: flex; flex-direction: column; line-height: 1.15; }
.logo__name { font-size: 1.3rem; font-weight: 800; letter-spacing: 1px; }
.logo__name .rent { color: var(--white); }
.logo__name .dash { color: var(--yellow); }
.logo__name .max  { color: var(--yellow); }
.logo__tagline { font-size: 0.65rem; color: rgba(255,255,255,0.45); letter-spacing: 0.5px; text-transform: uppercase; }

/* Desktop Nav */
.main-nav { display: flex; align-items: center; gap: 4px; }
.main-nav a {
  padding: 8px 13px; font-size: 0.9rem; font-weight: 600;
  color: rgba(255,255,255,0.8); border-radius: var(--radius);
  transition: all var(--transition); white-space: nowrap;
}
.main-nav a:hover, .main-nav a.active { color: var(--yellow); background: rgba(246,184,0,0.1); }
.main-nav a.active { border-bottom: 2px solid var(--yellow); border-radius: 0; }

/* Dropdown */
.nav-dropdown { position: relative; }
.nav-dropdown > a { cursor: pointer; }
.dropdown-menu {
  display: none; position: absolute; top: 100%; padding-top: 8px;
  left: 0; background: var(--navy-light); border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius); box-shadow: var(--shadow-hover);
  min-width: 220px; z-index: 200; overflow: hidden;
}
.dropdown-menu a {
  display: block; padding: 10px 18px; font-size: 0.88rem; font-weight: 500;
  color: rgba(255,255,255,0.8); border-radius: 0; border-left: 3px solid transparent;
}
.dropdown-menu a:hover { background: rgba(246,184,0,0.1); border-left-color: var(--yellow); color: var(--yellow); }
.nav-dropdown:hover .dropdown-menu,
.nav-dropdown:focus-within .dropdown-menu { display: block; }

/* Nav social icons */
.nav-social {
  display: flex; align-items: center; justify-content: center;
  width: 34px; height: 34px;
  border-radius: var(--radius);
  transition: opacity var(--transition), transform 0.15s;
  flex-shrink: 0;
}
.nav-social:hover { opacity: 0.82; transform: translateY(-1px); }

.nav-social--fb { background: #1877F2; }
.nav-social--ig { background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%); }
.nav-social--olx { background: #002F34; color: #23E5DB; font-size: 0.75rem; font-weight: 900; letter-spacing: 0.5px; }

/* Nav CTA */
.nav-cta {
  background: var(--yellow) !important; color: var(--navy) !important;
  padding: 9px 18px !important; border-radius: var(--radius) !important; font-weight: 700 !important;
}
.nav-cta:hover { background: var(--yellow-dark) !important; color: var(--navy) !important; }

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

/* Mobile nav overlay */
.mobile-nav {
  display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%;
  background: var(--navy); z-index: 1050;
  flex-direction: column; padding: 80px 30px 40px; overflow-y: auto;
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  color: var(--white); font-size: 1.15rem; font-weight: 600;
  padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,0.1); display: block;
}
.mobile-nav a:hover { color: var(--yellow-light); }
.mobile-nav .mobile-phone {
  margin-top: 30px; background: var(--yellow); color: var(--navy);
  text-align: center; padding: 16px; border-radius: var(--radius);
  font-size: 1.2rem; font-weight: 800; border-bottom: none;
}

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--navy);
}
.hero__bg {
  display: block;
  width: 100%;
  height: auto;
  transform: translateY(-15%);
  margin-bottom: -31%;
  opacity: 0.88;
}
.hero__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(10,20,45,0.65) 0%, rgba(10,20,45,0.22) 50%, rgba(10,20,45,0.04) 100%);
}
.hero__inner {
  position: absolute; inset: 0; z-index: 1;
  width: 100%; max-width: var(--max-width); margin: 0 auto;
  padding: 32px 20px 40px;
  display: grid; grid-template-columns: 1fr 380px; gap: 48px;
  align-items: flex-start;
}

@media (max-width: 768px) {
  .hero { min-height: 0; }
  .hero__bg {
    position: absolute; inset: 0;
    width: 100%; height: 100%;
    object-fit: cover; object-position: center 35%;
    transform: none; margin-bottom: 0;
    opacity: 0.5;
  }
  .hero__overlay { background: rgba(10,20,45,0.72); }
  .hero__inner {
    position: relative; inset: auto;
    grid-template-columns: 1fr;
    padding: 40px 20px 50px;
    gap: 28px;
  }
  .reserve-card { max-width: 100%; }
}
.hero__label {
  display: inline-block; background: var(--yellow); color: var(--navy);
  font-size: 0.75rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 1.5px; padding: 5px 12px; border-radius: 3px; margin-bottom: 16px;
}
.hero__title {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem); font-weight: 800;
  color: var(--white); line-height: 1.2; margin-bottom: 18px;
}
.hero__title span { color: var(--yellow-light); }
.hero__desc {
  font-size: clamp(0.95rem, 1.4vw, 1.05rem);
  color: rgba(255,255,255,0.85); margin-bottom: 32px; line-height: 1.7;
}
.hero__btns { display: flex; gap: 14px; flex-wrap: wrap; }

/* =========================================================
   KARTA REZERWUJ (zastępuje kalendarz)
   ========================================================= */
.reserve-card {
  background: rgba(12,24,50,0.90);
  border: 1px solid rgba(246,184,0,0.35);
  border-radius: 12px;
  padding: 24px 22px 22px;
  display: flex; flex-direction: column; gap: 16px;
  backdrop-filter: blur(8px);
  box-shadow: 0 8px 40px rgba(0,0,0,0.5);
  align-self: flex-start; 
  animation: slideInRight 0.75s cubic-bezier(0.22, 0.61, 0.36, 1) both;
  animation-delay: 0.2s;
}
.reserve-card__title {
  font-size: 1.1rem; font-weight: 700; color: var(--white);
  display: flex; align-items: center; gap: 10px;
}
.reserve-card__title svg { color: var(--yellow); flex-shrink: 0; }
.reserve-card__desc { font-size: 0.9rem; color: rgba(255,255,255,0.65); line-height: 1.6; }
.reserve-card__checks { display: flex; flex-direction: column; gap: 8px; }
.reserve-card__checks li {
  display: flex; align-items: center; gap: 8px;
  font-size: 0.88rem; color: rgba(255,255,255,0.8);
}
.reserve-card__checks li::before { content: '✓'; color: var(--yellow); font-weight: 700; flex-shrink: 0; }

.btn-reserve-big {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  width: 100%; padding: 16px 24px;
  background: var(--yellow); color: var(--navy);
  border: none; border-radius: var(--radius);
  font-size: 1.05rem; font-weight: 800; letter-spacing: 0.5px;
  cursor: pointer; transition: background var(--transition), transform 0.15s;
}
.btn-reserve-big:hover { background: var(--yellow-dark); transform: translateY(-2px); }
.btn-reserve-big:active { transform: translateY(0); }

/* --- NAPRAWIONY NUMER TELEFONU W BANNERZE --- */
.reserve-card__phone { 
  text-align: center; 
  margin-top: 10px;
}
.reserve-card__phone a {
  color: var(--yellow) !important; /* Wymuszony żółty kolor tła przycisku */
  font-weight: 800 !important;
  font-size: 1.15rem;
  text-decoration: none;
  pointer-events: none; /* Nieklikalne na desktopie */
}
@media (max-width: 768px) {
  .reserve-card__phone a {
    pointer-events: auto; /* Klikalne na mobile */
  }
}

.reserve-card__sub { font-size: 0.85rem; color: rgba(255,255,255,0.55); line-height: 1.5; margin-top: -10px; }
.reserve-card__divider { text-align: center; font-size: 0.8rem; color: rgba(255,255,255,0.35); font-weight: 500; letter-spacing: 1px; }
.reserve-card__hours { text-align: center; font-size: 0.78rem; color: rgba(255,255,255,0.4); margin-top: -10px; }

/* =========================================================
   BUTTONS
   ========================================================= */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 26px; border-radius: var(--radius);
  font-weight: 700; font-size: 0.95rem; cursor: pointer;
  transition: all var(--transition); border: 2px solid transparent; white-space: nowrap;
}
.btn--primary { background: var(--yellow); color: var(--navy); }
.btn--primary:hover { background: var(--yellow-dark); transform: translateY(-1px); box-shadow: 0 4px 14px rgba(246,184,0,0.4); }
.btn--outline { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.5); }
.btn--outline:hover { background: rgba(255,255,255,0.1); border-color: var(--white); }
.btn--white { background: var(--white); color: var(--yellow-dark); font-weight: 800; }
.btn--white:hover { background: var(--gray-bg); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0,0,0,0.2); }
.btn--outline-white { border: 2px solid rgba(255,255,255,0.6); color: var(--white); background: transparent; }
.btn--outline-white:hover { background: rgba(255,255,255,0.15); border-color: var(--white); }
.btn--lg { padding: 16px 32px; font-size: 1.05rem; }

/* =========================================================
   LAYOUT
   ========================================================= */
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 20px; }
.section { padding: 70px 0; }
.section--gray { background: var(--gray-bg); }
.section--navy { background: var(--navy); color: var(--white); }

.section-header { text-align: center; margin-bottom: 50px; }
.section-header__label {
  display: inline-block; color: var(--yellow);
  font-size: 0.78rem; font-weight: 700; text-transform: uppercase; letter-spacing: 2px; margin-bottom: 10px;
}
.section-header h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); font-weight: 800; color: var(--navy); margin-bottom: 14px; line-height: 1.25; }
.section--navy .section-header h2 { color: var(--white); }
.section-header p { font-size: 1rem; color: var(--text-light); max-width: 580px; margin: 0 auto; }
.section--navy .section-header p { color: rgba(255,255,255,0.75); }

/* =========================================================
   STATS BAR
   ========================================================= */
.stats-bar { background: var(--navy); padding: 40px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; text-align: center; }
.stat-item__number { font-size: 2.4rem; font-weight: 900; color: var(--yellow-light); line-height: 1; margin-bottom: 6px; }
.stat-item__label { font-size: 0.82rem; color: rgba(255,255,255,0.7); font-weight: 500; text-transform: uppercase; letter-spacing: 0.5px; }

/* =========================================================
   CARDS GRID
   ========================================================= */
.cards-grid { display: grid; gap: 24px; }
.cards-grid--3 { grid-template-columns: repeat(3, 1fr); }
.cards-grid--2 { grid-template-columns: repeat(2, 1fr); }
.cards-grid--4 { grid-template-columns: repeat(4, 1fr); }

.card { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; transition: all var(--transition); }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.card__img { height: 210px; overflow: hidden; }
.card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.card:hover .card__img img { transform: scale(1.04); }
.card__body { padding: 22px; }
.card__title { font-size: 1.1rem; font-weight: 700; color: var(--navy); margin-bottom: 10px; }
.card__text { font-size: 0.9rem; color: var(--text-light); margin-bottom: 18px; line-height: 1.55; }
.card__link { display: inline-flex; align-items: center; gap: 6px; color: var(--yellow-dark); font-weight: 700; font-size: 0.88rem; transition: gap var(--transition); }
.card:hover .card__link { gap: 10px; }

/* =========================================================
   FEATURES GRID
   ========================================================= */
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.feature-box { display: flex; gap: 16px; align-items: flex-start; background: var(--white); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow); transition: all var(--transition); }
.feature-box:hover { box-shadow: var(--shadow-hover); transform: translateY(-2px); }
.feature-box__icon { font-size: 1.6rem; flex-shrink: 0; }
.feature-box__text h3 { font-size: 0.95rem; font-weight: 700; color: var(--navy); margin-bottom: 4px; }
.feature-box__text p { font-size: 0.85rem; color: var(--text-light); line-height: 1.5; }

/* =========================================================
   CHECK LIST & CONTENT SPLIT
   ========================================================= */
.check-list { display: flex; flex-direction: column; gap: 10px; }
.check-list li { display: flex; align-items: flex-start; gap: 10px; font-size: 0.95rem; color: var(--text); }
.check-list li::before { content: '✓'; color: var(--yellow-dark); font-weight: 700; font-size: 1rem; flex-shrink: 0; margin-top: 1px; }

.content-split { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.content-split__img { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-hover); }
.content-split__img img { width: 100%; height: 380px; object-fit: cover; object-position: center top; }
.content-split__text h2 { font-size: clamp(1.4rem, 2.5vw, 2rem); font-weight: 800; color: var(--navy); margin-bottom: 16px; line-height: 1.3; }
.content-split__text p { color: var(--text-light); font-size: 0.97rem; margin-bottom: 16px; line-height: 1.7; }
.content-split__text .check-list { margin-top: 12px; }

/* =========================================================
   DLACZEGO MY & CTA
   ========================================================= */
.why-card {
  background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius); padding: 26px 22px;
  transition: background var(--transition), transform var(--transition);
}
.why-card:hover { background: rgba(255,255,255,0.11); transform: translateY(-3px); }
.why-card__icon { font-size: 2rem; margin-bottom: 14px; }
.why-card__title { font-size: 1rem; font-weight: 700; color: var(--white); margin-bottom: 8px; }
.why-card__text { font-size: 0.88rem; color: rgba(255,255,255,0.7); line-height: 1.6; }

.cta-section {
  background: linear-gradient(135deg, var(--yellow) 0%, var(--yellow-dark) 100%);
  padding: 60px 0; text-align: center;
}
.cta-section h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); font-weight: 800; color: var(--navy); margin-bottom: 12px; }
.cta-section p { color: rgba(26,39,68,0.75); font-size: 1rem; margin-bottom: 30px; max-width: 540px; margin-left: auto; margin-right: auto; }
.cta-phone { font-size: 2rem; font-weight: 900; color: var(--navy); margin-bottom: 8px; display: block; }
.cta-phone.phone-link-mobile { pointer-events: none; text-decoration: none; color: var(--navy); }
@media (max-width: 768px) { .cta-phone.phone-link-mobile { pointer-events: auto; } }

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer { background: var(--navy); color: rgba(255,255,255,0.8); padding-top: 60px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 40px; padding-bottom: 50px; }
.footer-brand .logo { margin-bottom: 16px; }
.footer-brand p { font-size: 0.88rem; line-height: 1.65; color: rgba(255,255,255,0.65); margin-bottom: 16px; }
.footer-phone { font-size: 1.2rem; font-weight: 800; color: var(--yellow-light); }
.footer-col h4 { font-size: 0.85rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: var(--white); margin-bottom: 16px; }
.footer-col ul { display: flex; flex-direction: column; gap: 8px; }
.footer-col ul li a { font-size: 0.88rem; color: rgba(255,255,255,0.65); transition: color var(--transition); }
.footer-col ul li a:hover { color: var(--yellow-light); }
.footer-contact-item {
  display: grid !important;
  grid-template-columns: 52px 1fr !important;
  gap: 6px !important;
  align-items: start !important;
  font-size: 0.88rem; margin-bottom: 12px; color: rgba(255,255,255,0.7); 
}
.footer-contact-item span:first-child { color: var(--yellow-light); font-size: 1rem; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding: 20px 0; display: flex; justify-content: space-between; align-items: center; font-size: 0.8rem; color: rgba(255,255,255,0.4); flex-wrap: wrap; gap: 10px; }
.footer-cities { margin-top: 20px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,0.1); }
.footer-cities p { color: rgba(255,255,255,0.6); font-size: 0.85rem; line-height: 1.5; }

/* =========================================================
   MODAL: REZERWACJA (Oraz pola Formularza)
   ========================================================= */
.modal-bg {
  display: none; position: fixed; inset: 0; z-index: 2000;
  background: rgba(0,0,0,0.75); backdrop-filter: blur(4px);
  align-items: center; justify-content: center; padding: 16px;
}
.modal-bg.open { display: flex; }
.modal-box {
  background: #0E1F33; border: 1px solid rgba(246,184,0,0.25);
  border-radius: 10px; width: min(520px,100%); max-height: 90dvh; overflow-y: auto;
  padding: 32px 36px 28px; position: relative; animation: mIn .25s ease;
}
@keyframes mIn { from { opacity:0; transform:translateY(14px) } to { opacity:1; transform:translateY(0) } }
.modal-close { position: absolute; top: 12px; right: 14px; color: rgba(255,255,255,.4); font-size: 22px; line-height: 1; background: none; border: none; cursor: pointer; transition: color .15s; }
.modal-close:hover { color: #fff; }
.modal-box h2 { margin: 0 0 4px; font-size: 22px; font-weight: 800; letter-spacing: 1px; color: #fff; font-family: 'Montserrat', sans-serif; }
.modal-sub { margin: 0 0 20px; font-size: 13px; color: rgba(255,255,255,.85); }
.m-label { display: block; margin-bottom: 12px; font-size: 13px; color: rgba(255,255,255,.6); }
.m-label span { display: block; margin-bottom: 4px; }

/* --- NAPRAWIONE BIAŁE TŁA W FORMULARZACH (Zawsze białe tło i czarny tekst) --- */
.m-label input, 
.m-label select, 
.m-label textarea,
.form-control,
select.form-control {
  width: 100%; padding: 10px 12px;
  background: #ffffff !important; 
  color: #000000 !important;
  border: 1px solid rgba(246,184,0,.2);
  border-radius: 6px; font-size: 14px; font-family: inherit;
  outline: none; transition: border-color .15s;
}
.m-label input::placeholder, .m-label textarea::placeholder, .form-control::placeholder { color: rgba(0,0,0,0.5); }
.m-label input:focus, .m-label select:focus, .m-label textarea:focus, .form-control:focus { border-color: rgba(246,184,0,.8); }
.m-label select option, .form-control option { background: #ffffff !important; color: #000000 !important; }
.form-control[type="date"]::-webkit-calendar-picker-indicator { filter: none; cursor: pointer; }

.m-label textarea, textarea.form-control { resize: vertical; min-height: 76px; }
.m-row, .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.btn-modal-submit, .btn--full {
  width: 100%; justify-content: center; margin-top: 18px; padding: 14px;
  background: var(--yellow); color: var(--navy);
  border: none; border-radius: 6px; font-size: 16px; font-weight: 800; letter-spacing: 1px;
  cursor: pointer; transition: background .15s, transform .1s; font-family: inherit;
}
.btn-modal-submit:hover { background: var(--yellow-dark); transform: translateY(-1px); }

.form-group { display: flex; flex-direction: column; gap: 5px; }
.form-group label { font-size: 0.82rem; font-weight: 600; color: rgba(255,255,255,0.65); }

/* Modal header / success */
.modal-header { margin-bottom: 24px; }
.modal-icon { font-size: 2rem; margin-bottom: 8px; }
.modal-title { font-size: 22px; font-weight: 800; color: #fff; margin: 0 0 4px; }
.modal-form { display: flex; flex-direction: column; gap: 14px; }
.modal-success { display: none; flex-direction: column; align-items: center; text-align: center; padding: 30px 0 10px; }
.modal-success__icon { font-size: 3rem; margin-bottom: 14px; }
.modal-success h3 { font-size: 1.4rem; font-weight: 800; color: var(--yellow); margin-bottom: 10px; }
.modal-success p { font-size: 0.9rem; color: rgba(255,255,255,.65); margin-bottom: 6px; }
.modal-success a { color: var(--yellow-light); font-weight: 700; }

/* =========================================================
   VARIOUS COMPONENTS (Cards, Maps, Oferta, etc.)
   ========================================================= */
.card--dark { background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.1); box-shadow: none; color: var(--white); }
.card--dark .card__title { color: var(--white); }
.card--dark .card__text { color: rgba(255,255,255,0.7); }
.card__icon { width: 48px; height: 48px; border-radius: 10px; background: rgba(246,184,0,0.12); display: flex; align-items: center; justify-content: center; font-size: 1.4rem; margin-bottom: 14px; }
.card__icon--yellow { background: rgba(246,184,0,0.25) !important; }
.card__img--placeholder { background: var(--gray-light); }
.card__img-icon { font-size: 3rem; opacity: 0.5; }
.card__img--map { position: relative; overflow: hidden; }
.map-badge { position: absolute; bottom: 0; left: 0; right: 0; background: rgba(26,39,68,0.82); color: #fff; font-size: 0.75rem; font-weight: 600; text-align: center; padding: 6px 10px; letter-spacing: 0.3px; }

/* --- NAPRAWIONE TŁO OFERTY (Bez zdjęcia, jasnoszare) --- */
.oferta-section {
  background-color: #f8f9fa !important;
  background-image: none !important;
}
.oferta-section .section-header__label,
.oferta-section .section-header h2,
.oferta-section .section-header p,
.oferta-section .card__title,
.oferta-section .card__text { color: #333333; }

#toast {
  position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%) translateY(8px);
  background: var(--navy); color: var(--yellow); padding: 10px 20px; font-size: 14px; font-weight: 700; letter-spacing: 1px;
  border-radius: var(--radius); box-shadow: 0 8px 24px rgba(0,0,0,.4); opacity: 0; pointer-events: none; z-index: 3000; transition: opacity .2s, transform .2s; white-space: nowrap;
}
#toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

.fade-in { opacity: 0; transform: translateY(18px); transition: opacity 0.5s ease, transform 0.5s ease; }
.fade-in.visible { opacity: 1; transform: none; }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1100px) {
  .hero__inner { grid-template-columns: 1fr 300px; gap: 24px; }
  .cards-grid--4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 30px; }
}

@media (max-width: 900px) {
  .hero__inner { grid-template-columns: 1fr; padding: 36px 20px 44px; }
  .reserve-card { max-width: 480px; }
  .cards-grid--3, .cards-grid--4 { grid-template-columns: repeat(2, 1fr); }
  .content-split { grid-template-columns: 1fr; gap: 30px; }
  .content-split__img img { height: 300px; }
  .contact-grid { grid-template-columns: 1fr; }
  .contact-info { order: 2; }
  .contact-form { order: 1; }
  .contact-form { padding: 20px; }
  .about-slider__track { height: 240px; }
  .img-placeholder--split { height: 240px; }
  .gallery { grid-template-columns: repeat(2,1fr); }
  .hero--main { min-height: 600px; }
}

.phone-link-mobile { pointer-events: none; text-decoration: none; color: inherit; }

@media (max-width: 768px) {
  .phone-link-mobile { pointer-events: auto; text-decoration: underline; color: var(--yellow); }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .section { padding: 56px 0; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .main-nav { display: none; }
  .hamburger { display: flex; }
  .top-bar__info { display: none; }
  .section-header { margin-bottom: 32px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
  .hero__title { font-size: clamp(1.5rem, 5vw, 2.2rem); }
  .cta-phone { font-size: 1.6rem; }
  .hero--short { min-height: 260px; }
  .hero--short .hero__content { padding: 44px 20px; }
  .hero--main { min-height: 520px; }
  .contact-grid {
    display: flex !important;
    flex-direction: column !important;
  }
  .contact-form { order: 1 !important; width: 100% !important; }
  .contact-info { order: 2 !important; width: 100% !important; margin-top: 30px; }
}

@media (max-width: 560px) {
  .cards-grid--3, .cards-grid--2, .cards-grid--4 { grid-template-columns: 1fr; }
  .features-grid, .footer-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .form-row { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; gap: 6px; }
  .reserve-card { padding: 20px 16px; }
  .btn-reserve-big { font-size: 0.95rem; padding: 14px 18px; }
  .stats-bar { padding: 28px 0; }
  .stat-item__number { font-size: 2rem; }
  .modal-box { padding: 24px 18px 20px; }
  .gallery { grid-template-columns: 1fr; }
}

@media (max-width: 380px) {
  .container { padding: 0 12px; }
  .nav-inner { padding: 0 12px; height: 56px; }
  .logo__name { font-size: 1.1rem; }
  .logo__tagline { display: none; }
  .hero__inner { padding: 28px 12px 36px; }
  .hero__title { font-size: 1.35rem; }
  .top-bar { font-size: 0.75rem; }
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
}

/* =========================================================
   RODO CHECKBOX & COOKIES
   ========================================================= */
.rodo-check {
  display: flex; gap: 10px; align-items: flex-start;
  background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius); padding: 12px 14px; margin-bottom: 14px;
}
.rodo-check input[type="checkbox"] { flex-shrink: 0; width: 18px; height: 18px; margin-top: 2px; accent-color: var(--yellow); cursor: pointer; }
.rodo-check label { font-size: 0.78rem; color: rgba(255,255,255,0.65); line-height: 1.5; cursor: pointer; }
.rodo-check label a { color: var(--yellow-light); text-decoration: underline; }
.btn--primary:disabled { opacity: 0.4; cursor: not-allowed; transform: none !important; box-shadow: none !important; }

.cookie-banner { position: fixed; bottom: 0; left: 0; right: 0; z-index: 4000; background: var(--navy); border-top: 3px solid var(--yellow); box-shadow: 0 -4px 24px rgba(0,0,0,0.35); transform: translateY(100%); opacity: 0; transition: transform 0.4s ease, opacity 0.4s ease; pointer-events: none; }
.cookie-banner.visible { transform: translateY(0); opacity: 1; pointer-events: auto; }
.cookie-banner__inner { max-width: var(--max-width); margin: 0 auto; display: flex; align-items: center; gap: 24px; padding: 16px 24px; flex-wrap: wrap; }
.cookie-banner__text { flex: 1; font-size: 0.85rem; color: rgba(255,255,255,0.75); line-height: 1.55; min-width: 200px; }
.cookie-banner__text a { color: var(--yellow-light); text-decoration: underline; }
.cookie-banner__btns { display: flex; gap: 10px; flex-shrink: 0; flex-wrap: wrap; }
.cookie-btn { padding: 9px 20px; border-radius: var(--radius); font-size: 0.85rem; font-weight: 700; cursor: pointer; border: none; transition: background var(--transition); }
.cookie-btn--accept { background: var(--yellow); color: var(--navy); }
.cookie-btn--accept:hover { background: var(--yellow-dark); }
.cookie-btn--info { background: transparent; color: rgba(255,255,255,0.7); border: 1px solid rgba(255,255,255,0.25); }
.cookie-btn--info:hover { background: rgba(255,255,255,0.08); color: var(--white); }

.cookie-info-body { margin-bottom: 20px; }
.cookie-info-body h3 { font-size: 0.9rem; font-weight: 700; color: var(--yellow-light); margin: 16px 0 6px; }
.cookie-info-body p { font-size: 0.85rem; color: rgba(255,255,255,0.7); line-height: 1.6; }
.cookie-info-body a { color: var(--yellow-light); text-decoration: underline; }
.cookie-info-body p:first-child, .cookie-info-body h3:first-child { margin-top: 0; }

/* =========================================================
   INNE (HERO MAIN, AREA GRID, ETC)
   ========================================================= */
.hero--main { overflow: visible; min-height: calc(80vh + 20px); }
.hero__bg-wrap { position: absolute; inset: 0; overflow: hidden; z-index: 0; }
.hero--main .hero__bg { width: 100%; height: 100%; object-fit: cover; object-position: center 42%; transform: none; margin-bottom: 0; display: block; }
.hero--main .hero__overlay { position: absolute; inset: 0; }

.counties-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; margin-top: 40px; }
.county-section { background: rgba(255,255,255,0.05); padding: 24px; border-radius: 12px; border: 1px solid rgba(255,255,255,0.1); }
.county-section h3 { color: var(--navy); font-size: 1.1rem; font-weight: 700; margin-bottom: 12px; text-transform: uppercase; letter-spacing: 0.5px; }
.county-section p { color: rgba(255,255,255,0.8); line-height: 1.6; font-size: 0.95rem; }

.top-bar__contact { display: flex; align-items: center; gap: 20px; }
.top-bar__item { display: inline-flex; align-items: center; gap: 5px; color: var(--white); font-weight: 600; transition: color var(--transition); }
a.top-bar__item:hover { color: var(--yellow-light); }
span.top-bar__item { cursor: default; }
.top-bar__item svg { flex-shrink: 0; opacity: .85; }

button.nav-cta, button.mobile-cta { font-family: inherit; cursor: pointer; border: none; }
button.mobile-cta { 
  width: 100%; 
  text-align: center; 
  display: block; 
  padding: 14px 20px; 
  background-color: var(--yellow); 
  color: var(--navy); 
  font-weight: 700; 
  font-size: 1rem; 
  border-radius: var(--radius); 
  margin-top: 10px; 
}

.hero--short { min-height: 320px; display: flex; align-items: center; }
.hero--short .hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 40%; transform: none; margin-bottom: 0; opacity: 0.35; }
.hero--short .hero__overlay { background: linear-gradient(120deg, rgba(10,20,45,0.88) 40%, rgba(10,20,45,0.62) 100%); }
.hero--short .hero__content { position: relative; z-index: 1; max-width: var(--max-width); margin: 0 auto; padding: 60px 20px; width: 100%; }

.breadcrumbs { background: var(--gray-light); padding: 10px 0; font-size: 0.82rem; color: var(--text-light); }
.breadcrumbs__inner { max-width: var(--max-width); margin: 0 auto; padding: 0 20px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.breadcrumbs a { color: var(--yellow); font-weight: 500; }
.breadcrumbs span { color: var(--gray-mid); }

.about-slider { position: relative; width: 100%; }
.about-slider__track { position: relative; height: 380px; border-radius: var(--radius); overflow: hidden; }
.about-slider__slide { position: absolute; inset: 0; opacity: 0; transition: opacity 0.7s ease; pointer-events: none; }
.about-slider__slide--active { opacity: 1; pointer-events: auto; }
.about-slider__slide img, .about-slider__slide .img-placeholder { width: 100%; height: 100%; object-fit: cover; border-radius: 0; margin: 0; }
.about-slider__dots { display: flex; gap: 8px; justify-content: center; margin-top: 14px; }
.about-slider__dot { width: 10px; height: 10px; border-radius: 50%; background: var(--gray-light); border: 2px solid var(--gray-mid); cursor: pointer; padding: 0; transition: background var(--transition), border-color var(--transition); }
.about-slider__dot--active { background: var(--yellow); border-color: var(--yellow); }

.img-placeholder { width: 100%; background: var(--gray-light); display: flex; align-items: center; justify-content: center; border-radius: var(--radius); color: var(--gray-mid); font-size: 0.82rem; font-weight: 600; letter-spacing: 0.5px; text-transform: uppercase; }
.img-placeholder--hero   { height: 340px; }
.img-placeholder--card   { height: 210px; }
.img-placeholder--split  { height: 380px; }
.img-placeholder--gallery { width: 100%; aspect-ratio: 4/3; }

.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.gallery__item { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4/3; cursor: zoom-in; }
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.gallery__item:hover img { transform: scale(1.06); }

.specs-table { width: 100%; border-collapse: collapse; font-size: 0.92rem; }
.specs-table tr { border-bottom: 1px solid var(--gray-light); }
.specs-table tr:last-child { border-bottom: none; }
.specs-table td { padding: 12px 16px; }
.specs-table td:first-child { font-weight: 600; color: var(--navy); width: 45%; background: var(--gray-bg); }
.specs-table td:last-child { color: var(--text); }

.price-box { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.price-box__header { background: var(--navy); color: var(--white); padding: 20px 24px; }
.price-box__header h3 { font-size: 1.1rem; font-weight: 700; }
.price-row { display: flex; justify-content: space-between; align-items: center; padding: 14px 24px; border-bottom: 1px solid var(--gray-light); font-size: 0.92rem; }
.price-row:last-child { border-bottom: none; }
.price-row__label { color: var(--text-light); }
.price-row__value { font-weight: 700; color: var(--yellow); font-size: 1.05rem; }

.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq-item { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; border-left: 4px solid var(--yellow); }
.faq-question { width: 100%; background: none; border: none; padding: 18px 20px; display: flex; justify-content: space-between; align-items: center; cursor: pointer; font-size: 0.95rem; font-weight: 600; color: var(--navy); text-align: left; transition: background var(--transition); }
.faq-question:hover { background: var(--gray-bg); }
.faq-question__icon { font-size: 1.2rem; color: var(--yellow); flex-shrink: 0; transition: transform var(--transition); }
.faq-item.open .faq-question__icon { transform: rotate(45deg); }
.faq-answer { display: none; padding: 0 20px 18px; font-size: 0.9rem; color: var(--text-light); line-height: 1.65; }

.contact-grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: 40px; align-items: start; }
.contact-info { display: flex; flex-direction: column; gap: 20px; }
.contact-card { background: var(--white); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); display: flex; gap: 16px; align-items: flex-start; }
.contact-card__label { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.5px; color: var(--navy); margin-bottom: 4px; }
.contact-card__value { font-size: 1.1rem; font-weight: 700; color: var(--navy) !important; }
.contact-card__value a { color: var(--navy); }
.contact-card__value a:hover { text-decoration: underline; }

.contact-form { background: var(--white); border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow); }
.contact-form h3 { font-size: 1.2rem; font-weight: 700; color: var(--navy); margin-bottom: 24px; }
.contact-form .form-group label { display: block; font-size: 0.85rem; font-weight: 600; color: var(--navy); margin-bottom: 6px; }

.form-note { font-size: 0.78rem; color: var(--text-light); margin-top: 10px; }
.form-success { background: #d4edda; border: 1px solid #c3e6cb; color: #155724; border-radius: var(--radius); padding: 18px; margin-top: 16px; font-weight: 600; }
.form-error { background: #f8d7da; border: 1px solid #f5c6cb; color: #721c24; border-radius: var(--radius); padding: 14px; margin-bottom: 12px; }
.form-error:empty { display: none; }

.quick-links a { color: var(--navy); font-size: 0.9rem; font-weight: 600; display: block; padding: 8px 0; border-bottom: 1px solid var(--gray-light); transition: color 0.25s; }
.quick-links a:hover { color: var(--yellow); }
.quick-links a:last-child { border-bottom: none; }

.area-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 14px; }
.area-pill { background: var(--white); border: 2px solid var(--gray-light); border-radius: 50px; padding: 12px 20px; text-align: center; font-weight: 600; font-size: 0.9rem; color: var(--navy); transition: all var(--transition); }
.area-pill:hover { background: var(--yellow); border-color: var(--yellow); color: var(--navy); }

/* --- Naprawa wizualna formularza kontaktowego --- */
.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100% !important;
    padding: 12px 15px !important;
    margin-bottom: 18px !important;
    border: 1px solid #ccc !important;
    border-radius: var(--radius) !important;
    background-color: #ffffff !important;
    color: var(--navy) !important;
    font-family: inherit;
    font-size: 0.95rem;
    display: block;
}

.contact-form label {
    display: block;
    margin-bottom: 6px;
    font-weight: 600;
    color: var(--navy);
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: none !important;
    border-color: var(--yellow) !important;
    box-shadow: 0 0 0 3px rgba(246, 184, 0, 0.15) !important;
}

.contact-form .rodo-check {
    display: flex !important;
    align-items: flex-start !important;
    gap: 12px !important;
    margin: 20px 0 !important;
    width: 100% !important;
}

.contact-form .rodo-check input[type="checkbox"] {
    width: 20px !important;
    height: 20px !important;
    margin-top: 2px !important;
    flex-shrink: 0 !important;
    cursor: pointer;
}

.contact-form .rodo-check label {
    font-size: 0.85rem !important;
    line-height: 1.5 !important;
    color: var(--text);
    cursor: pointer;
    margin: 0 !important;
}

/* Zmniejszenie tytułu na stronie głównej */
.hero--main .hero__title {
    font-size: clamp(1.4rem, 2.8vw, 2.2rem) !important;
    line-height: 1.25 !important;
}

/* Galeria Lightbox */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 16px;
}

.gallery__item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  cursor: pointer;
  transition: transform var(--transition);
}

.gallery__item:hover {
  transform: scale(1.02);
}

.gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition);
}

.gallery__item:hover img {
  transform: scale(1.05);
}

/* PhotoSwipe overlay styles */
.pswp {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 9999 !important;
}

.pswp__bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #000;
  z-index: 9998 !important;
}

.pswp__scroll-wrap {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 9999 !important;
}

.pswp__container {
  position: relative;
  width: 100%;
  height: 100%;
  z-index: 9999 !important;
}

.pswp__item {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 9999 !important;
}

.pswp__ui {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  visibility: visible !important;
  opacity: 1 !important;
  z-index: 10001 !important;
}

.pswp__top-bar {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 44px;
  z-index: 10001 !important;
}

.pswp__button {
  position: absolute;
  z-index: 10001 !important;
}

.pswp__button--close {
  top: 0;
  right: 0;
  width: 44px;
  height: 44px;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 10002 !important;
  opacity: 1 !important;
  visibility: visible !important;
  display: block !important;
  background-color: rgba(0,0,0,0.5) !important;
  pointer-events: auto !important;
}

.pswp__button--arrow--left,
.pswp__button--arrow--right {
  top: 50%;
  width: 44px;
  height: 44px;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 10002 !important;
  opacity: 1 !important;
  visibility: visible !important;
  display: block !important;
  background-color: rgba(0,0,0,0.5) !important;
  pointer-events: auto !important;
}

.pswp__button--arrow--left {
  left: 0;
}

.pswp__button--arrow--right {
  right: 0;
}

/* --- Radykalny Fix dla Widoczności PhotoSwipe UI --- */

/* 1. Wymuś widoczność całej warstwy interfejsu */
.pswp__ui {
    visibility: visible !important;
    opacity: 1 !important;
    z-index: 10001 !important; /* Wyżej niż tło (.pswp__bg ma zazwyczaj 1000) */
    pointer-events: none !important; /* Pozwól klikać przez warstwę, ale... */
}

/* 2. Wymuś widoczność i klikalność samych przycisków */
.pswp__button,
.pswp__button--close,
.pswp__button--arrow--left,
.pswp__button--arrow--right {
    visibility: visible !important;
    opacity: 1 !important;
    display: block !important;
    z-index: 10002 !important; /* Najwyższa warstwa */
    pointer-events: auto !important; /* ...przyciski MUSZĄ być klikalne */

    /* Dodaj tło, aby były widoczne na każdym zdjęciu */
    background-color: rgba(0, 0, 0, 0.6) !important;
    border-radius: 5px !important;
    transition: background-color 0.2s !important;
}

/* 3. Efekt hover dla lepszego UX */
.pswp__button:hover {
    background-color: rgba(255, 204, 0, 0.8) !important; /* Twój żółty kolor */
}

/* 4. Upewnij się, że ikony wewnątrz przycisków są białe */
.pswp__button--close::before,
.pswp__button--arrow--left::before,
.pswp__button--arrow--right::before {
    filter: brightness(0) invert(1) !important;
}