/*
Theme Name: Zawada i Partnerzy
Theme URI: https://zawadanieruchomosci.pl
Author: Zawada i Partnerzy
Description: Profesjonalny szablon agencji nieruchomości specjalizującej się w trudnych stanach prawnych, sprawach spadkowych i współwłasności. Wzorowany na Stratejic.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
License: GNU General Public License v2 or later
Text Domain: zawada-nieruchomosci
*/

/* === RESET & BASE === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Open Sans', 'Segoe UI', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: #252525;
  background: #ffffff;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* === CSS VARIABLES === */
:root {
  --navy:       #1a1a1a;   /* ciemne sekcje, footer */
  --navy-dark:  #111111;
  --gold:       #c8963e;
  --gold-light: #e0aa55;
  --white:      #ffffff;
  --gray-light: #f5f6f8;
  --gray:       #e4e6ea;
  --text:       #252525;
  --text-muted: #6b7280;
  --radius:     6px;
  --shadow:     0 4px 20px rgba(0,0,0,.10);
  --shadow-hover: 0 8px 32px rgba(0,0,0,.16);
  --transition: .3s ease;
  --font-display: 'Staatliches', 'Impact', sans-serif;   /* jak stratejic – nagłówki */
  --font-nav:     'Alegreya SC', Georgia, serif;          /* jak stratejic – nawigacja */
  --font-body:    'Open Sans', 'Segoe UI', Arial, sans-serif;
}

/* === STAATLICHES – nagłówki wyświetlacze === */
h1, h2, h3,
.section-title,
.hero-title,
.tile-title,
.team-name,
.footer-col h4 {
  font-family: var(--font-display);
  letter-spacing: .06em;
}

/* === ALEGREYA SC – nawigacja (jak stratejic) === */
.main-nav a,
.mobile-nav a { font-family: var(--font-nav); }

/* === UTILITIES === */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section-title {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 400;
  color: var(--navy);
  margin-bottom: 12px;
  line-height: 1.05;
  text-transform: uppercase;
  letter-spacing: .05em;
}
.section-subtitle {
  font-size: 1rem;
  color: var(--text-muted);
  margin-bottom: 48px;
  max-width: 560px;
}
.section-header { margin-bottom: 48px; }
.section-header.centered { text-align: center; }
.section-header.centered .section-subtitle { margin: 0 auto 48px; }
.btn {
  display: inline-block;
  padding: 11px 30px;
  border-radius: var(--radius);
  font-family: var(--font-nav);   /* Alegreya SC dla przycisków */
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  transition: all var(--transition);
  cursor: pointer;
}
.btn-primary {
  background: var(--gold);
  color: var(--white);
}
.btn-primary:hover { background: var(--gold-light); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(200,150,62,.4); }
.btn-outline {
  border: 2px solid var(--gold);
  color: var(--gold);
  background: transparent;
}
.btn-outline:hover { background: var(--gold); color: var(--white); }
.btn-white {
  background: var(--white);
  color: var(--navy);
}
.btn-white:hover { background: var(--gold); color: var(--white); }
.tag {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 3px;
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
}
.tag-rent   { background: #2e86de; color: #fff; }
.tag-sell   { background: #27ae60; color: #fff; }
.tag-sold   { background: #e74c3c; color: #fff; }
.tag-featured { background: var(--gold); color: #fff; }

/* === TOP BAR – ciemny pasek jak stratejic #333 === */
.topbar {
  background: #333333;
  color: #AAAAAA;
  font-size: .8rem;
  padding: 7px 0;
  border-bottom: none;
  font-family: var(--font-body);
}
.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.topbar-contact a {
  color: #AAAAAA;
  margin-right: 20px;
  transition: color var(--transition);
}
.topbar-contact a:hover { color: var(--gold); }
.topbar-contact svg { vertical-align: middle; margin-right: 5px; }
.topbar-social a {
  color: #888888;
  margin-left: 12px;
  font-size: .9rem;
  transition: color var(--transition);
}
.topbar-social a:hover { color: var(--gold); }

/* === HEADER – BIAŁY jak stratejic === */
.site-header {
  background: #FFFFFF;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 8px rgba(0,0,0,.10);
  border-bottom: 1px solid #e8e8e8;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
  gap: 24px;
}
.site-logo img { height: 48px; width: auto; }
.site-logo span {
  color: var(--navy);
  font-family: var(--font-display);
  font-size: 2rem;
  letter-spacing: .08em;
}
/* Main Nav – Alegreya SC, ciemny tekst jak stratejic */
.main-nav { display: flex; align-items: center; gap: 0; }
.main-nav-list { display: flex; align-items: center; list-style: none; margin: 0; padding: 0; gap: 0; }
.main-nav > li,
.main-nav-list > li { position: relative; list-style: none; }
.main-nav li { list-style: none; }
.main-nav a {
  display: block;
  color: #252525;
  font-family: var(--font-nav);
  font-size: .92rem;
  font-weight: 400;
  letter-spacing: .04em;
  padding: 10px 16px;
  border-radius: 0;
  border-bottom: 3px solid transparent;
  transition: all var(--transition);
  white-space: nowrap;
}
.main-nav a:hover,
.main-nav a.active {
  color: var(--gold);
  border-bottom-color: var(--gold);
}

/* === DROPDOWN === */
.main-nav .sub-menu {
  position: absolute;
  top: calc(100% + 3px);
  left: 0;
  min-width: 240px;
  background: #fff;
  border: 1px solid var(--gray);
  border-top: 2px solid var(--gold);
  box-shadow: 0 8px 24px rgba(0,0,0,.1);
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity .2s ease, transform .2s ease, visibility .2s;
  z-index: 1000;
  padding: 6px 0;
}
.main-nav li:hover > .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.main-nav .sub-menu a {
  font-size: .84rem;
  padding: 9px 20px;
  border-bottom: none;
  color: #252525;
  white-space: normal;
}
.main-nav .sub-menu a:hover { color: var(--gold); background: rgba(200,150,62,.05); }

/* Podmenu poziom 3 */
.main-nav .sub-menu .sub-menu {
  top: 0;
  left: 100%;
  border-top: 2px solid var(--gold);
}
.main-nav .sub-menu li { position: relative; }

/* Strzałka przy pozycjach z podmenu */
.main-nav li:has(> .sub-menu) > a::after {
  content: ' ▾';
  font-size: .65rem;
  opacity: .6;
}
.main-nav .sub-menu li:has(> .sub-menu) > a::after {
  content: ' ›';
  float: right;
  font-size: .8rem;
}

.header-cta { display: flex; align-items: center; gap: 12px; }
.header-cta .btn { padding: 7px 20px; font-size: .78rem; letter-spacing: .08em; }
.header-fav {
  color: rgba(255,255,255,.7);
  font-size: 1.1rem;
  padding: 6px;
  transition: color var(--transition);
}
.header-fav:hover { color: #e74c3c; }
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
}
.hamburger span { display: block; width: 24px; height: 2px; background: #252525; border-radius: 2px; transition: all var(--transition); }

/* === HERO === */
.hero {
  position: relative;
  height: 620px;
  overflow: hidden;
  background: var(--navy-dark);
}
.hero-slides { display: flex; height: 100%; transition: transform .6s ease; }
.hero-slide {
  min-width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  position: relative;
}
.hero-slide::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(28,45,65,.82) 0%, rgba(28,45,65,.45) 60%, rgba(28,45,65,.2) 100%);
}
.hero-slide-1 { background-image: url('assets/images/banner-4.jpg'); }
.hero-slide-2 { background-image: url('assets/images/banner-1.jpg'); }
.hero-slide-3 { background-image: url('assets/images/banner-2.jpg'); }
.hero-slide-4 { background-image: url('assets/images/banner-3.jpg'); }
.hero-content {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  z-index: 2;
}
.hero-text { max-width: 680px; }
.hero-eyebrow {
  font-family: var(--font-body);
  color: var(--gold);
  font-size: .82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .18em;
  margin-bottom: 14px;
}
.hero-title {
  font-family: var(--font-display);  /* Staatliches – jak stratejic */
  font-size: 5.5rem;
  font-weight: 400;
  color: var(--white);
  line-height: .95;
  margin-bottom: 22px;
  text-transform: uppercase;
  letter-spacing: .04em;
  text-shadow: 0 2px 16px rgba(0,0,0,.45);
}
.hero-title span { color: var(--gold); }
.hero-desc {
  font-family: var(--font-body);
  color: rgba(255,255,255,.85);
  font-size: 1rem;
  margin-bottom: 36px;
  max-width: 520px;
  line-height: 1.75;
}
.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; }
/* Carousel controls */
.hero-prev, .hero-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  background: rgba(255,255,255,.15);
  backdrop-filter: blur(4px);
  color: var(--white);
  border: 1px solid rgba(255,255,255,.3);
  width: 48px; height: 48px;
  border-radius: 50%;
  font-size: 1.2rem;
  transition: all var(--transition);
  display: flex; align-items: center; justify-content: center;
}
.hero-prev { left: 24px; }
.hero-next { right: 24px; }
.hero-prev:hover, .hero-next:hover { background: var(--gold); border-color: var(--gold); }
.hero-dots {
  position: absolute;
  bottom: 24px; left: 50%;
  transform: translateX(-50%);
  display: flex; gap: 8px; z-index: 10;
}
.hero-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: rgba(255,255,255,.4);
  transition: all var(--transition);
  cursor: pointer;
}
.hero-dot.active { background: var(--gold); width: 24px; border-radius: 4px; }

/* === SEARCH BAR === */
.search-bar-wrap {
  background: var(--white);
  padding: 32px 0 0;
  margin-top: -1px;
}
.search-tabs {
  display: flex;
  gap: 0;
  margin-bottom: 24px;
}
.search-tab {
  padding: 10px 28px;
  font-size: .9rem;
  font-weight: 600;
  color: var(--text-muted);
  border-bottom: 3px solid transparent;
  transition: all var(--transition);
  cursor: pointer;
}
.search-tab.active, .search-tab:hover {
  color: var(--gold);
  border-bottom-color: var(--gold);
}
.search-form {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 24px;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr auto;
  gap: 16px;
  align-items: end;
  border: 1px solid var(--gray);
}
.search-field label {
  display: block;
  font-size: .8rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: 6px;
}
.search-field input,
.search-field select {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid var(--gray);
  border-radius: var(--radius);
  font-size: .9rem;
  color: var(--text);
  background: var(--gray-light);
  transition: border-color var(--transition);
  font-family: inherit;
}
.search-field input:focus,
.search-field select:focus { outline: none; border-color: var(--gold); background: #fff; }
.search-form .btn { height: 44px; padding: 0 28px; white-space: nowrap; }

/* === PROPERTIES SECTION === */
.properties-section { padding: 80px 0; background: var(--gray-light); }
.properties-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.property-card {
  background: var(--white);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: all var(--transition);
}
.property-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); }
.property-img {
  position: relative;
  height: 220px;
  overflow: hidden;
  background: #c5cdd8;
}
.property-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.property-card:hover .property-img img { transform: scale(1.06); }
.property-img-placeholder {
  width: 100%; height: 100%;
  background: linear-gradient(135deg, #c5cdd8 0%, #8fa3b8 100%);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.5);
  font-size: 3rem;
}
.property-tags { position: absolute; top: 14px; left: 14px; display: flex; gap: 6px; }
.property-fav {
  position: absolute;
  top: 14px; right: 14px;
  background: rgba(255,255,255,.9);
  border-radius: 50%;
  width: 34px; height: 34px;
  display: flex; align-items: center; justify-content: center;
  color: #ccc;
  cursor: pointer;
  transition: all var(--transition);
  font-size: 1rem;
}
.property-fav:hover { color: #e74c3c; }
.property-body { padding: 20px; }
.property-price {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--gold);
  margin-bottom: 6px;
}
.property-price span { font-size: .8rem; font-weight: 400; color: var(--text-muted); }
.property-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 4px;
}
.property-location {
  font-size: .85rem;
  color: var(--text-muted);
  margin-bottom: 14px;
  display: flex; align-items: center; gap: 4px;
}
.property-specs {
  display: flex;
  gap: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--gray);
  font-size: .82rem;
  color: var(--text-muted);
}
.property-spec { display: flex; align-items: center; gap: 5px; }
.property-spec svg { color: var(--gold); }
.properties-more { text-align: center; margin-top: 44px; }

/* === STATS === */
.stats-section { background: var(--navy); padding: 64px 0; }
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.stat-item {
  text-align: center;
  padding: 24px 32px;
  border-right: 1px solid rgba(200,150,62,.18);
}
.stat-item:last-child { border-right: none; }
.stat-icon {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 68px;
  height: 68px;
  margin: 0 auto 20px;
  border: 1px solid rgba(200,150,62,.35);
  border-radius: 50%;
  color: var(--gold);
}
.stat-icon svg { display: block; }
.stat-number {
  font-family: var(--font-nav);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 8px;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.stat-number span { font-size: 1rem; color: var(--gold); }
.stat-label {
  font-family: var(--font-nav);
  font-size: .85rem;
  font-weight: 400;
  font-style: italic;
  color: rgba(255,255,255,.55);
  letter-spacing: .02em;
  line-height: 1.5;
}

/* === SERVICES === */
.services-section { padding: 80px 0; background: var(--white); }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.service-card {
  padding: 36px 28px;
  border-radius: 10px;
  border: 1px solid var(--gray);
  text-align: center;
  transition: all var(--transition);
}
.service-card:hover { border-color: var(--gold); box-shadow: var(--shadow); transform: translateY(-4px); }
.service-icon {
  width: 68px; height: 68px;
  background: rgba(200,150,62,.07);
  border: 1px solid rgba(200,150,62,.3);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px;
  color: var(--gold);
  transition: all var(--transition);
}
.service-icon svg { display: block; }
.service-card:hover .service-icon { background: var(--gold); color: var(--white); border-color: var(--gold); }
.service-title { font-size: 1.05rem; font-weight: 700; color: var(--navy); margin-bottom: 10px; }
.service-desc { font-size: .9rem; color: var(--text-muted); line-height: 1.7; }

/* === ABOUT === */
.about-section { padding: 80px 0; background: var(--gray-light); }
.about-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.about-image {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.about-image-placeholder {
  height: 460px;
  background: linear-gradient(135deg, #8fa3b8 0%, #c5cdd8 100%);
  display: flex; align-items: center; justify-content: center;
  font-size: 4rem; color: rgba(255,255,255,.4);
}
.about-badge {
  position: absolute;
  bottom: 28px; left: 28px;
  background: var(--gold);
  color: var(--white);
  padding: 16px 24px;
  border-radius: var(--radius);
  font-size: .85rem;
  font-weight: 700;
  text-align: center;
  line-height: 1.3;
}
.about-badge strong { display: block; font-size: 1.8rem; }
.about-eyebrow {
  font-family: var(--font-body);
  font-size: .82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .14em;
  color: var(--gold);
  margin-bottom: 12px;
}
.about-text h2 {
  font-family: var(--font-display);
  font-size: 3.2rem;
  font-weight: 400;
  color: var(--navy);
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: .04em;
  line-height: 1.0;
}
.about-text p { color: var(--text-muted); margin-bottom: 20px; line-height: 1.8; }
.about-features { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 28px 0; }
.about-feature { display: flex; align-items: flex-start; gap: 10px; font-size: .9rem; }
.about-feature-icon { color: var(--gold); font-size: 1rem; margin-top: 2px; flex-shrink: 0; }

/* === TESTIMONIALS === */
.testimonials-section { padding: 80px 0; background: var(--white); }
.testimonials-track { overflow: hidden; position: relative; }
.testimonials-inner {
  display: flex;
  gap: 28px;
  transition: transform .5s ease;
}
.testimonial-card {
  min-width: calc(33.33% - 19px);
  background: var(--gray-light);
  border-radius: 10px;
  padding: 32px;
  position: relative;
}
.testimonial-card::before {
  content: '"';
  position: absolute;
  top: 20px; right: 28px;
  font-size: 5rem;
  color: var(--gold);
  opacity: .2;
  line-height: 1;
  font-family: Georgia, serif;
}
.testimonial-stars { color: #f59e0b; font-size: .95rem; margin-bottom: 14px; letter-spacing: 2px; }
.testimonial-text { font-size: .95rem; color: var(--text); line-height: 1.8; margin-bottom: 24px; font-style: italic; }
.testimonial-author { display: flex; align-items: center; gap: 14px; }
.testimonial-avatar {
  width: 48px; height: 48px; border-radius: 50%;
  background: linear-gradient(135deg, var(--navy) 0%, #3a5a7d 100%);
  overflow: hidden;
  flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem; color: var(--white); font-weight: 700;
}
.testimonial-name { font-weight: 700; color: var(--navy); font-size: .95rem; }
.testimonial-role { font-size: .82rem; color: var(--text-muted); }
.testimonials-nav { display: flex; justify-content: center; gap: 10px; margin-top: 36px; }
.testimonial-btn {
  width: 40px; height: 40px; border-radius: 50%;
  border: 2px solid var(--gold);
  color: var(--gold);
  display: flex; align-items: center; justify-content: center;
  transition: all var(--transition); cursor: pointer;
}
.testimonial-btn:hover { background: var(--gold); color: var(--white); }

/* === AGENTS === */
.agents-section { padding: 80px 0; background: var(--gray-light); }
.agents-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.agent-card {
  background: var(--white);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: all var(--transition);
  text-align: center;
}
.agent-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-hover); }
.agent-photo {
  height: 220px;
  background: linear-gradient(135deg, #8fa3b8 0%, #c5cdd8 100%);
  position: relative;
  overflow: hidden;
}
.agent-photo img { width: 100%; height: 100%; object-fit: cover; }
.agent-photo-placeholder {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  font-size: 4rem; color: rgba(255,255,255,.5);
}
.agent-overlay {
  position: absolute; inset: 0;
  background: rgba(28,45,65,.7);
  display: flex; align-items: center; justify-content: center;
  gap: 12px;
  opacity: 0; transition: opacity var(--transition);
}
.agent-card:hover .agent-overlay { opacity: 1; }
.agent-social-link {
  width: 38px; height: 38px; border-radius: 50%;
  background: rgba(255,255,255,.2);
  color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-size: .9rem;
  transition: background var(--transition);
}
.agent-social-link:hover { background: var(--gold); }
.agent-body { padding: 20px; }
.agent-name { font-size: 1rem; font-weight: 700; color: var(--navy); margin-bottom: 4px; }
.agent-title { font-size: .85rem; color: var(--gold); font-weight: 600; margin-bottom: 10px; }
.agent-contact { font-size: .82rem; color: var(--text-muted); }

/* === BLOG === */
.blog-section { padding: 80px 0; background: var(--white); }

/* Featured post */
.blog-featured {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow);
  margin-bottom: 36px;
  transition: box-shadow var(--transition);
}
.blog-featured:hover { box-shadow: var(--shadow-hover); }
.blog-featured-img {
  position: relative;
  overflow: hidden;
  min-height: 360px;
}
.blog-featured-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s ease; }
.blog-featured:hover .blog-featured-img img { transform: scale(1.04); }
.blog-featured-body {
  background: var(--white);
  padding: 44px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.blog-featured-title {
  font-family: var(--font-nav);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.35;
  margin-bottom: 16px;
  transition: color var(--transition);
}
.blog-featured-title a:hover { color: var(--gold); }

/* Regular cards grid */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-bottom: 0; }
.blog-card {
  background: var(--white);
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--gray);
  transition: all var(--transition);
}
.blog-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); border-color: rgba(200,150,62,.4); }
.blog-img {
  height: 200px;
  overflow: hidden;
  background: var(--gray);
  position: relative;
}
.blog-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.blog-card:hover .blog-img img { transform: scale(1.05); }
.blog-img-placeholder { width: 100%; height: 100%; background: var(--gray); }
.blog-cat {
  position: absolute; bottom: 12px; left: 12px;
  background: var(--gold); color: var(--white);
  font-size: .72rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .06em;
  padding: 3px 10px; border-radius: 3px;
}
.blog-body { padding: 22px; }
.blog-date {
  font-size: .78rem; color: var(--gold);
  font-family: var(--font-nav); font-style: italic;
  margin-bottom: 8px; letter-spacing: .02em;
}
.blog-featured .blog-date { margin-bottom: 12px; }
.blog-title {
  font-family: var(--font-nav);
  font-size: .98rem; font-weight: 700; color: var(--navy);
  margin-bottom: 10px; line-height: 1.4;
  transition: color var(--transition);
}
.blog-card:hover .blog-title a { color: var(--gold); }
.blog-excerpt { font-size: .88rem; color: var(--text-muted); line-height: 1.7; margin-bottom: 16px; }
.blog-read-more {
  font-size: .84rem; color: var(--gold);
  font-family: var(--font-nav); font-style: italic;
  display: inline-flex; align-items: center; gap: 6px;
  transition: gap .2s ease;
}
.blog-read-more:hover { gap: 10px; }
.blog-more { text-align: center; margin-top: 44px; }

/* === CONTACT === */
.contact-section { padding: 80px 0; background: var(--gray-light); }
.contact-inner { display: grid; grid-template-columns: 1fr 1.4fr; gap: 56px; }
.contact-info h2 { font-size: 1.8rem; font-weight: 800; color: var(--navy); margin-bottom: 16px; }
.contact-info p { color: var(--text-muted); margin-bottom: 32px; line-height: 1.8; }
.contact-detail { display: flex; align-items: flex-start; gap: 14px; margin-bottom: 24px; }
.contact-detail-icon {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--gold); color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; flex-shrink: 0;
}
.contact-detail-text strong { display: block; font-size: .85rem; text-transform: uppercase; letter-spacing: .06em; color: var(--navy); margin-bottom: 2px; }
.contact-detail-text span { font-size: .9rem; color: var(--text-muted); }
.contact-form { background: var(--white); border-radius: 10px; padding: 36px; box-shadow: var(--shadow); }
.contact-form h3 { font-size: 1.2rem; font-weight: 700; color: var(--navy); margin-bottom: 24px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-size: .82rem; font-weight: 600; color: var(--text); margin-bottom: 6px; text-transform: uppercase; letter-spacing: .05em; }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%; padding: 12px 14px;
  border: 1px solid var(--gray);
  border-radius: var(--radius);
  font-size: .9rem; color: var(--text);
  background: var(--gray-light);
  font-family: inherit;
  transition: border-color var(--transition);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { outline: none; border-color: var(--gold); background: #fff; }
.form-group textarea { height: 120px; resize: vertical; }
.form-submit { width: 100%; }

/* === FOOTER === */
.site-footer { background: var(--navy-dark); color: rgba(255,255,255,.75); padding: 72px 0 0; }
.footer-inner { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; padding-bottom: 48px; }
.footer-brand .site-logo { margin-bottom: 20px; }
.footer-brand p { font-size: .9rem; line-height: 1.8; color: rgba(255,255,255,.55); max-width: 280px; }
.footer-social { display: flex; gap: 10px; margin-top: 20px; }
.footer-social a {
  width: 36px; height: 36px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.2);
  color: rgba(255,255,255,.6);
  display: flex; align-items: center; justify-content: center;
  font-size: .85rem;
  transition: all var(--transition);
}
.footer-social a:hover { background: var(--gold); border-color: var(--gold); color: var(--white); }
.footer-col h4 {
  font-size: .9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--white);
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--gold);
  display: inline-block;
}
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul a {
  font-size: .88rem;
  color: rgba(255,255,255,.55);
  transition: color var(--transition);
  display: flex; align-items: center; gap: 6px;
}
.footer-col ul a:hover { color: var(--gold); }
.footer-col ul a::before { content: '›'; color: var(--gold); font-size: 1rem; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: .82rem;
  color: rgba(255,255,255,.4);
  gap: 16px;
  flex-wrap: wrap;
}
.footer-bottom a { color: var(--gold); }

/* === MOBILE NAV OVERLAY === */
.mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--navy-dark);
  z-index: 2000;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  color: var(--white);
  font-size: 1.4rem;
  font-weight: 600;
  padding: 12px 32px;
  border-radius: var(--radius);
  transition: all var(--transition);
}
.mobile-nav a:hover { color: var(--gold); }
.mobile-nav-close {
  position: absolute; top: 24px; right: 24px;
  color: var(--white); font-size: 2rem;
  background: none; border: none; cursor: pointer;
}

/* === HERO IMAGES === */
.hero-slide-1 { background-image: url('assets/images/banner-4.jpg'); }
.hero-slide-2 { background-image: url('assets/images/banner-1.jpg'); }
.hero-slide-3 { background-image: url('assets/images/banner-2.jpg'); }
.hero-slide-4 { background-image: url('assets/images/banner-3.jpg'); }

/* === SERVICES TILES === */
.services-tiles { padding: 80px 0; background: var(--gray-light); }
.services-tiles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.tile {
  background: var(--white);
  border-radius: 10px;
  border: 1px solid var(--gray);
  overflow: hidden;
  transition: box-shadow var(--transition), transform var(--transition), border-color var(--transition);
}
.tile:hover {
  box-shadow: 0 10px 30px rgba(0,0,0,.10);
  transform: translateY(-4px);
  border-color: rgba(200,150,62,.45);
}
.tile-photo {
  height: 170px;
  overflow: hidden;
}
.tile-photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .6s ease;
}
.tile:hover .tile-photo img { transform: scale(1.06); }
.tile-body {
  padding: 22px 22px 20px;
}
.tile-number {
  font-family: var(--font-display);
  font-size: 2.2rem;
  line-height: 1;
  color: var(--gold);
  opacity: .3;
  letter-spacing: .06em;
  margin-bottom: 8px;
  transition: opacity var(--transition);
}
.tile:hover .tile-number { opacity: .6; }
.tile-title {
  font-family: var(--font-nav);
  font-size: .95rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.35;
  margin-bottom: 8px;
  letter-spacing: .01em;
}
.tile-desc {
  font-size: .84rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 14px;
}
.tile-arrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--gold);
  font-size: .84rem;
  font-family: var(--font-nav);
  font-style: italic;
  transition: gap .2s ease;
}
.tile:hover .tile-arrow { gap: 10px; }

/* Specialty highlight section */
.specialty-section { background: var(--navy); padding: 80px 0; }
.specialty-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.specialty-text { color: rgba(255,255,255,.85); }
.specialty-text h2 { font-size: 2rem; font-weight: 800; color: var(--white); margin-bottom: 20px; line-height: 1.2; }
.specialty-text p { line-height: 1.8; margin-bottom: 16px; color: rgba(255,255,255,.7); }
.specialty-list { margin: 24px 0; }
.specialty-list li {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255,255,255,.08);
  font-size: .9rem; color: rgba(255,255,255,.75);
}
.specialty-list li::before { content: '→'; color: var(--gold); flex-shrink: 0; font-weight: 700; }
.specialty-image { position: relative; border-radius: 10px; overflow: hidden; box-shadow: 0 20px 60px rgba(0,0,0,.4); }
.specialty-image img { width: 100%; display: block; }

/* === TEAM (Przemek + Karolina) === */
.team-section { padding: 80px 0; background: var(--gray-light); }
.team-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; }
.team-card {
  background: var(--white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow);
  display: grid;
  grid-template-columns: 260px 1fr;
  transition: box-shadow var(--transition);
  min-width: 0;
}
.team-card:hover { box-shadow: var(--shadow-hover); }
.team-photo {
  position: relative;
  overflow: hidden;
  min-height: 320px;
  flex-shrink: 0;
}
.team-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.team-body { padding: 28px 24px; display: flex; flex-direction: column; justify-content: center; min-width: 0; overflow: hidden; }
.team-role {
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--gold);
  margin-bottom: 8px;
}
.team-name { font-size: 1.4rem; font-weight: 800; color: var(--navy); margin-bottom: 16px; }
.team-bio { font-size: .88rem; color: var(--text-muted); line-height: 1.8; margin-bottom: 20px; }
.team-motto {
  font-style: italic;
  font-size: .9rem;
  color: var(--navy);
  border-left: 3px solid var(--gold);
  padding-left: 14px;
  margin-bottom: 20px;
  line-height: 1.6;
}
.team-contact a {
  display: flex; align-items: flex-start; gap: 8px;
  font-size: .82rem; color: var(--text-muted);
  margin-bottom: 6px;
  transition: color var(--transition);
  word-break: break-all;
  overflow-wrap: anywhere;
}
.team-contact a:hover { color: var(--gold); }

/* === RESPONSIVE === */
@media (max-width: 1024px) {
  .properties-grid { grid-template-columns: repeat(2, 1fr); }
  .agents-grid { grid-template-columns: repeat(2, 1fr); }
  .blog-featured { grid-template-columns: 1fr; }
  .blog-featured-img { min-height: 260px; }
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 36px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .about-inner { grid-template-columns: 1fr; }
  .about-image { max-height: 340px; }
  .about-image-placeholder { height: 340px; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .services-tiles-grid { grid-template-columns: repeat(2, 1fr); }
  .specialty-inner { grid-template-columns: 1fr; gap: 36px; }
  .team-grid { grid-template-columns: 1fr; }
  .team-card { grid-template-columns: 240px 1fr; }
}

@media (max-width: 768px) {
  .hero-title { font-size: 3.4rem; }
  .hero { height: 500px; }
  .section-title { font-size: 1.6rem; }
  .main-nav { display: none; }
  .hamburger { display: flex; }
  .topbar-contact a:not(:first-child) { display: none; }
  .search-form { grid-template-columns: 1fr; }
  .contact-inner { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .testimonials-inner { flex-direction: column; }
  .testimonial-card { min-width: 100%; }
  .properties-grid { grid-template-columns: 1fr; }
  .agents-grid { grid-template-columns: repeat(2, 1fr); }
  .blog-featured-body { padding: 28px 24px; }
  .blog-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .services-grid { grid-template-columns: 1fr; }
  .services-tiles-grid { grid-template-columns: 1fr; }
  .team-card { grid-template-columns: 1fr; }
  .team-photo { min-height: 260px; }
}

@media (max-width: 480px) {
  .hero-title { font-size: 2.8rem; }
  .agents-grid { grid-template-columns: 1fr; }
  .about-features { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
}
