/*
Theme Name: CitySound Real Estate
Theme URI: https://citysound.pl
Author: CitySound
Author URI: https://citysound.pl
Description: Premium motyw dla CitySound Real Estate - człowiek w centrum, dom w sercu.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: citysound
Tags: real-estate, custom-logo, custom-menu, featured-images, theme-options

CitySound Real Estate Theme
Copyright 2024 CitySound
*/

/* ===== CSS VARIABLES ===== */
:root {
  --cs-red: #FB0603;
  --cs-red-hover: #D90402;
  --cs-black: #000000;
  --cs-graphite: #1F1F1F;
  --cs-charcoal: #4A4A4A;
  --cs-concrete: #D9D9D9;
  --cs-warm-gray: #F2F2F2;
  --cs-white: #FFFFFF;
  --cs-emerald: #0F3D2E;
}

/* ===== RESET & BASE ===== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background-color: var(--cs-white);
  color: var(--cs-graphite);
  line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
  height: auto;
}

/* ===== UTILITY CLASSES ===== */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
}

@media (min-width: 640px) {
  .container { padding: 0 1.5rem; }
}

@media (min-width: 1024px) {
  .container { padding: 0 3rem; }
}

.section-padding {
  padding: 5rem 0;
}

@media (min-width: 768px) {
  .section-padding { padding: 7rem 0; }
}

.text-gradient {
  background: linear-gradient(135deg, var(--cs-red) 0%, var(--cs-black) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.price-emerald {
  color: var(--cs-emerald);
}

/* ===== BUTTONS ===== */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  font-weight: 600;
  color: white;
  background-color: var(--cs-red);
  border: none;
  border-radius: 9999px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 10px 25px -5px rgba(251, 6, 3, 0.3);
}

.btn-primary:hover {
  background-color: var(--cs-red-hover);
  transform: translateY(-2px);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  font-weight: 600;
  color: white;
  background-color: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 9999px;
  cursor: pointer;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  background-color: rgba(255,255,255,0.2);
}

/* ===== HEADER ===== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  transition: all 0.3s ease;
}

.site-header.scrolled {
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.site-header.scrolled .nav-link {
  color: var(--cs-graphite);
  text-shadow: none;
}

.site-header.scrolled .site-logo-white {
  display: none;
}

.site-header.scrolled .site-logo-red {
  display: block;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.site-logo img {
  height: 48px;
  width: auto;
}

.site-logo-red {
  display: none;
}

.main-navigation {
  display: none;
}

@media (min-width: 1024px) {
  .main-navigation {
    display: flex;
    align-items: center;
    gap: 2rem;
  }
}

.nav-link {
  font-weight: 500;
  color: white;
  text-shadow: 0 2px 8px rgba(0,0,0,0.8);
  transition: color 0.3s ease;
}

.nav-link:hover {
  color: var(--cs-red);
}

.header-cta {
  display: none;
}

@media (min-width: 768px) {
  .header-cta {
    display: flex;
  }
}

.mobile-menu-toggle {
  display: flex;
  padding: 0.5rem;
  background: none;
  border: none;
  color: white;
  cursor: pointer;
}

@media (min-width: 1024px) {
  .mobile-menu-toggle {
    display: none;
  }
}

/* ===== HERO SECTION ===== */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background-color: #0a0a0a;
}

.hero-video-wrapper {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hero-video-wrapper iframe {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 177.77vh;
  min-width: 100%;
  height: 56.25vw;
  min-height: 100%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.6), rgba(0,0,0,0.5), rgba(0,0,0,0.7));
}

.hero-content {
  position: relative;
  z-index: 10;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 6rem 1rem 4rem;
  text-align: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 9999px;
  margin-bottom: 2rem;
  color: rgba(255,255,255,0.9);
  font-size: 0.875rem;
}

.hero-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: white;
  margin-bottom: 1.5rem;
  line-height: 1.1;
}

@media (min-width: 640px) {
  .hero-title { font-size: 3rem; }
}

@media (min-width: 768px) {
  .hero-title { font-size: 3.75rem; }
}

@media (min-width: 1024px) {
  .hero-title { font-size: 4.5rem; }
}

.hero-title .highlight {
  color: var(--cs-red);
}

.hero-subtitle {
  color: rgba(255,255,255,0.8);
  font-size: 1.125rem;
  max-width: 42rem;
  margin-bottom: 2.5rem;
  line-height: 1.7;
}

@media (min-width: 768px) {
  .hero-subtitle { font-size: 1.25rem; }
}

.hero-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 4rem;
}

@media (min-width: 640px) {
  .hero-buttons {
    flex-direction: row;
    justify-content: center;
  }
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  max-width: 56rem;
  text-align: center;
}

@media (min-width: 768px) {
  .hero-stats {
    grid-template-columns: repeat(4, 1fr);
    gap: 4rem;
  }
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: white;
  margin-bottom: 0.25rem;
}

@media (min-width: 768px) {
  .stat-number { font-size: 3rem; }
}

.stat-label {
  color: rgba(255,255,255,0.6);
  font-size: 0.875rem;
}

/* ===== SERVICES SECTION ===== */
.services-section {
  background: white;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-label {
  color: var(--cs-red);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.875rem;
  margin-bottom: 0.5rem;
}

.section-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

@media (min-width: 768px) {
  .section-title { font-size: 2.5rem; }
}

@media (min-width: 1024px) {
  .section-title { font-size: 3rem; }
}

.section-subtitle {
  color: var(--cs-charcoal);
  max-width: 42rem;
  margin: 0 auto;
}

.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.service-card {
  position: relative;
  overflow: hidden;
  border-radius: 1.5rem;
  aspect-ratio: 4/3;
}

@media (min-width: 768px) {
  .service-card {
    aspect-ratio: 16/10;
  }
}

.service-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}

.service-card:hover img {
  transform: scale(1.1);
}

.service-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.4) 50%, rgba(0,0,0,0.2) 100%);
  transition: background 0.3s ease;
}

.service-card:hover .service-card-overlay {
  background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.5) 50%, rgba(0,0,0,0.3) 100%);
}

.service-card-content {
  position: absolute;
  inset: 0;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

@media (min-width: 768px) {
  .service-card-content { padding: 2rem; }
}

.service-card-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: white;
  margin-bottom: 0.5rem;
  transition: color 0.3s ease;
}

@media (min-width: 768px) {
  .service-card-title { font-size: 1.875rem; }
}

.service-card:hover .service-card-title {
  color: var(--cs-red);
}

.service-card-desc {
  color: rgba(255,255,255,0.8);
  margin-bottom: 1rem;
  max-width: 28rem;
}

.service-card-link {
  display: inline-flex;
  align-items: center;
  color: white;
  font-weight: 500;
  transition: color 0.3s ease;
}

.service-card:hover .service-card-link {
  color: var(--cs-red);
}

.service-card-link svg {
  margin-left: 0.25rem;
  transition: transform 0.3s ease;
}

.service-card:hover .service-card-link svg {
  transform: translateX(0.5rem);
}

/* Contact CTA Card */
.service-card-cta {
  background: var(--cs-graphite);
  transition: background 0.3s ease;
}

.service-card-cta:hover {
  background: var(--cs-red);
}

.service-card-cta .service-card-content {
  justify-content: center;
  align-items: center;
  text-align: center;
}

.cta-icon {
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.cta-icon svg {
  width: 2rem;
  height: 2rem;
  color: white;
}

/* ===== PROPERTIES SECTION ===== */
.properties-section {
  background: var(--cs-warm-gray);
}

.section-header-flex {
  display: flex;
  flex-direction: column;
  margin-bottom: 3rem;
}

@media (min-width: 768px) {
  .section-header-flex {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
  }
}

.view-all-link {
  display: inline-flex;
  align-items: center;
  color: var(--cs-red);
  font-weight: 500;
  margin-top: 1rem;
}

@media (min-width: 768px) {
  .view-all-link { margin-top: 0; }
}

.view-all-link:hover {
  text-decoration: underline;
}

.view-all-link svg {
  margin-left: 0.5rem;
}

.properties-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 768px) {
  .properties-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .properties-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.property-card {
  position: relative;
  overflow: hidden;
  border-radius: 1rem;
  background: white;
  box-shadow: 0 4px 20px -4px rgba(0,0,0,0.08);
  transition: all 0.5s ease;
}

.property-card:hover {
  box-shadow: 0 20px 40px -12px rgba(0,0,0,0.15);
  transform: translateY(-6px);
}

.property-image-wrapper {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/3;
}

.property-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.property-card:hover .property-image-wrapper img {
  transform: scale(1.08);
}

.property-status {
  position: absolute;
  top: 1rem;
  left: 1rem;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.property-status.available {
  background: rgba(15, 61, 46, 0.1);
  color: var(--cs-emerald);
}

.property-content {
  padding: 1.5rem;
}

.property-price {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--cs-emerald);
  margin-bottom: 0.5rem;
}

.property-price span {
  font-size: 0.875rem;
  font-weight: 400;
  color: var(--cs-charcoal);
}

.property-title {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  transition: color 0.3s ease;
}

.property-card:hover .property-title {
  color: var(--cs-red);
}

.property-location {
  color: var(--cs-charcoal);
  font-size: 0.875rem;
  margin-bottom: 1rem;
}

.property-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.875rem;
  color: var(--cs-charcoal);
}

.property-meta-divider {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--cs-concrete);
}

/* ===== ABOUT SECTION ===== */
.about-section {
  background: white;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .about-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.about-image-wrapper {
  position: relative;
}

.about-image {
  aspect-ratio: 4/5;
  border-radius: 1.5rem;
  overflow: hidden;
}

.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-stat-card {
  position: absolute;
  bottom: -1.5rem;
  right: -1.5rem;
  background: var(--cs-graphite);
  border-radius: 1rem;
  padding: 1.5rem;
  box-shadow: 0 25px 50px -12px rgba(0,0,0,0.25);
  max-width: 200px;
  display: none;
}

@media (min-width: 1024px) {
  .about-stat-card { display: block; }
}

.about-stat-number {
  font-size: 3rem;
  font-weight: 700;
  color: white;
  margin-bottom: 0.25rem;
}

.about-stat-label {
  color: rgba(255,255,255,0.7);
  font-size: 0.875rem;
}

.about-content .section-label {
  text-align: left;
  margin-bottom: 0.75rem;
}

.about-content .section-title {
  text-align: left;
  margin-bottom: 2rem;
}

.about-text {
  color: var(--cs-charcoal);
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

.about-text.lead {
  font-size: 1.125rem;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  margin-bottom: 2.5rem;
}

@media (min-width: 640px) {
  .values-grid {
    grid-template-columns: repeat(5, 1fr);
  }
}

.value-card {
  background: #F8F8F8;
  border-radius: 1rem;
  padding: 1rem;
  text-align: center;
  transition: all 0.3s ease;
  cursor: default;
}

.value-card:hover {
  background: var(--cs-graphite);
}

.value-icon {
  width: 2.5rem;
  height: 2.5rem;
  margin: 0 auto 0.5rem;
  border-radius: 0.75rem;
  background: white;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  transition: background 0.3s ease;
}

.value-card:hover .value-icon {
  background: var(--cs-red);
}

.value-icon svg {
  width: 1.25rem;
  height: 1.25rem;
  color: var(--cs-red);
  transition: color 0.3s ease;
}

.value-card:hover .value-icon svg {
  color: white;
}

.value-name {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--cs-graphite);
  transition: color 0.3s ease;
}

.value-card:hover .value-name {
  color: white;
}

.about-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--cs-red);
  font-weight: 600;
  transition: gap 0.3s ease;
}

.about-link:hover {
  gap: 1rem;
}

/* ===== TEAM SECTION ===== */
.team-section {
  background: var(--cs-warm-gray);
}

.team-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 640px) {
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .team-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.team-card {
  background: white;
  border-radius: 1.5rem;
  padding: 1.5rem;
  transition: all 0.3s ease;
}

.team-card:hover {
  box-shadow: 0 20px 40px -12px rgba(0,0,0,0.1);
  transform: translateY(-4px);
}

.team-card-image {
  aspect-ratio: 1;
  border-radius: 1rem;
  overflow: hidden;
  margin-bottom: 1rem;
  background: var(--cs-warm-gray);
}

.team-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  transition: transform 0.5s ease;
}

.team-card:hover .team-card-image img {
  transform: scale(1.05);
}

.team-card-name {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
  transition: color 0.3s ease;
}

.team-card:hover .team-card-name {
  color: var(--cs-red);
}

.team-card-role {
  color: var(--cs-charcoal);
  font-size: 0.875rem;
  margin-bottom: 1rem;
}

.team-card-skills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.skill-tag {
  padding: 0.375rem 0.875rem;
  background: var(--cs-warm-gray);
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--cs-graphite);
  transition: all 0.2s ease;
}

.skill-tag:hover {
  background: var(--cs-red);
  color: white;
}

/* ===== REVIEWS SECTION ===== */
.reviews-section {
  background: white;
}

.reviews-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 768px) {
  .reviews-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .reviews-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.review-card {
  background: white;
  border-radius: 1.5rem;
  padding: 2rem;
  box-shadow: 0 4px 20px -4px rgba(0,0,0,0.08);
  transition: all 0.3s ease;
}

.review-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px -8px rgba(0,0,0,0.12);
}

.review-stars {
  display: flex;
  gap: 0.25rem;
  margin-bottom: 1rem;
}

.review-star {
  color: var(--cs-red);
  fill: var(--cs-red);
  width: 1.25rem;
  height: 1.25rem;
}

.review-text {
  color: var(--cs-charcoal);
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

.review-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.review-avatar {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: var(--cs-warm-gray);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  color: var(--cs-red);
}

.review-author-name {
  font-weight: 600;
  color: var(--cs-graphite);
}

.review-date {
  font-size: 0.875rem;
  color: var(--cs-charcoal);
}

/* ===== CONTACT CTA SECTION ===== */
.contact-cta-section {
  background: var(--cs-graphite);
}

.contact-cta-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .contact-cta-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.contact-cta-content h2 {
  font-size: 2rem;
  font-weight: 700;
  color: white;
  margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
  .contact-cta-content h2 { font-size: 2.5rem; }
}

@media (min-width: 1024px) {
  .contact-cta-content h2 { font-size: 3rem; }
}

.contact-cta-content h2 span {
  color: var(--cs-red);
}

.contact-cta-content p {
  color: rgba(255,255,255,0.6);
  font-size: 1.125rem;
  margin-bottom: 2rem;
}

.contact-info-list {
  list-style: none;
}

.contact-info-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 0;
}

.contact-info-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 0.75rem;
  background: rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-info-icon svg {
  width: 1.25rem;
  height: 1.25rem;
  color: var(--cs-red);
}

.contact-info-label {
  color: rgba(255,255,255,0.6);
  font-size: 0.875rem;
}

.contact-info-value {
  color: white;
}

.contact-info-value a:hover {
  color: var(--cs-red);
}

/* Contact Form */
.contact-form-wrapper {
  background: rgba(255,255,255,0.05);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 1.5rem;
  padding: 2rem;
}

.contact-form-wrapper h3 {
  font-size: 1.5rem;
  font-weight: 600;
  color: white;
  margin-bottom: 1.5rem;
}

.form-group {
  margin-bottom: 1rem;
}

.form-input {
  width: 100%;
  padding: 0.75rem 1rem;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 0.75rem;
  color: white;
  font-size: 1rem;
  transition: border-color 0.2s ease;
}

.form-input::placeholder {
  color: rgba(255,255,255,0.5);
}

.form-input:focus {
  outline: none;
  border-color: var(--cs-red);
}

.form-input-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 640px) {
  .form-input-row {
    grid-template-columns: repeat(2, 1fr);
  }
}

textarea.form-input {
  resize: none;
  min-height: 120px;
}

/* ===== FOOTER ===== */
.site-footer {
  background: var(--cs-graphite);
  color: white;
}

.footer-main {
  padding: 4rem 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
  }
}

.footer-brand img {
  height: 3.5rem;
  margin-bottom: 1.5rem;
}

.footer-brand p {
  color: rgba(255,255,255,0.6);
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

.footer-social {
  display: flex;
  gap: 1rem;
}

.footer-social a {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s ease;
}

.footer-social a:hover {
  background: var(--cs-red);
}

.footer-social svg {
  width: 1.25rem;
  height: 1.25rem;
}

.footer-heading {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  color: rgba(255,255,255,0.7);
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: var(--cs-red);
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.footer-contact-item svg {
  width: 1.25rem;
  height: 1.25rem;
  color: var(--cs-red);
  flex-shrink: 0;
  margin-top: 0.125rem;
}

.footer-contact-item span,
.footer-contact-item a {
  color: rgba(255,255,255,0.6);
}

.footer-contact-item a:hover {
  color: white;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 1.5rem 0;
}

.footer-bottom-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  text-align: center;
}

@media (min-width: 768px) {
  .footer-bottom-inner {
    flex-direction: row;
    justify-content: space-between;
  }
}

.footer-bottom p {
  color: rgba(255,255,255,0.5);
  font-size: 0.875rem;
}

.footer-bottom-links {
  display: flex;
  gap: 1.5rem;
}

.footer-bottom-links a {
  color: rgba(255,255,255,0.5);
  font-size: 0.875rem;
  transition: color 0.3s ease;
}

.footer-bottom-links a:hover {
  color: white;
}

/* ===== PAGE TEMPLATES ===== */
.page-header {
  background: var(--cs-graphite);
  padding: 8rem 0 4rem;
}

.page-header .section-label {
  color: var(--cs-red);
  text-align: left;
}

.page-header .section-title {
  color: white;
  text-align: left;
  margin-bottom: 1rem;
}

.page-header p {
  color: rgba(255,255,255,0.6);
  font-size: 1.125rem;
  max-width: 48rem;
}

/* ===== OPIEKUN OFERTY (Property Guardian) ===== */
.opiekun-link:hover .opiekun-name {
  color: var(--cs-red);
}

.opiekun-contact a:hover {
  background: var(--cs-concrete);
}
