/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

/* CSS Custom Properties */
:root {
    --primary-color: #122759;
    --secondary-color: #0c0c0d;
    --accent-color: #3498db;
    --text-color: #333;
    --text-light: #666;
    --border-color: #e1e1e1;
    --bg-light: #f8f9fa;
    --white: #ffffff;
    --success: #27ae60;
    --warning: #f39c12;
    --danger: #e74c3c;
    --transition: all 0.3s ease;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

h1 {
    font-size: 2.5rem;
    line-height: 1.2;
}

h2 {
    font-size: 2rem;
    line-height: 1.3;
}

h3 {
    font-size: 1.5rem;
}

h4 {
    font-size: 1.25rem;
}

p {
    margin-bottom: 1rem;
    color: var(--text-light);
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--accent-color);
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Buttons */
.btn-primary,
.btn-secondary,
.btn-hero,
.btn-link {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    text-align: center;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
}

.btn-primary:hover {
    background-color: var(--secondary-color);
    color: var(--white);
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

.btn-hero {
    background-color: var(--accent-color);
    color: var(--white);
    padding: 16px 32px;
    font-size: 1.1rem;
}

.btn-hero:hover {
    background-color: var(--primary-color);
    color: var(--white);
    transform: translateY(-2px);
}

.btn-link {
    background: none;
    color: var(--primary-color);
    padding: 0;
    font-weight: normal;
    text-decoration: underline;
}

.btn-link:hover {
    color: var(--accent-color);
}

/* Header */
.header {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.navbar {
    padding: 1rem;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.nav-logo img {
    width: 40px;
    height: 40px;
    margin-right: 10px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    color: var(--text-color);
    font-weight: 500;
    padding: 0.5rem 0;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color);
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

/* Mobile Menu */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger .bar {
    width: 25px;
    height: 3px;
    background-color: var(--primary-color);
    margin: 3px 0;
    transition: 0.3s;
}

.hamburger.active .bar:nth-child(2) {
    opacity: 0;
}

.hamburger.active .bar:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.hamburger.active .bar:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
}

.hero-bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(18, 39, 89, 0.5), rgba(12, 12, 13, 0.5));
    z-index: -1;
}

.hero-content {
    max-width: 800px;
    padding: 0 20px;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    color: var(--white);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.9);
}

/* Sections */
section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

.section-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 1rem;
}

.page-header {
    background-color: var(--bg-light);
    padding: 120px 0 60px;
    text-align: center;
}

.page-header-content {
    max-width: 600px;
    margin: 0 auto;
}

.page-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1rem;
}

/* About Section */
.about-section {
    background-color: var(--bg-light);
}

.section-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    align-items: center;
}

.section-icon {
    width: 100px;
    height: 100px;
}

/* Services Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.service-card img {
    width: 64px;
    height: 64px;
    margin-bottom: 1rem;
}

.service-card h3 {
    margin-bottom: 1rem;
    color: var(--primary-color);
}

/* Benefits Section */
.benefits-section {
    background-color: var(--bg-light);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.benefit-item {
    text-align: center;
    padding: 1.5rem;
}

.benefit-item h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

/* Reviews Section */
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.review-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.review-card p {
    font-style: italic;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.review-author {
    font-weight: 600;
    color: var(--primary-color);
}

/* Newsletter Section */
.newsletter-section {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
}

.newsletter-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.newsletter-content h2 {
    color: var(--white);
    margin-bottom: 1rem;
}

.newsletter-content p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
}

.newsletter-form {
    display: grid;
    gap: 1rem;
    max-width: 400px;
    margin: 0 auto;
}

/* Contact Section */
.contact-section {
    background-color: var(--bg-light);
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: var(--white);
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.contact-item img {
    width: 48px;
    height: 48px;
}

.contact-item h3 {
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.contact-item p {
    margin: 0;
}

.contact-item a {
    color: var(--primary-color);
    font-weight: 500;
}

/* Forms */
.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--text-color);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid var(--border-color);
    border-radius: 5px;
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    cursor: pointer;
    font-size: 0.9rem;
    line-height: 1.4;
}

.checkbox-label input[type="checkbox"] {
    width: auto;
    margin-right: 0.5rem;
    margin-top: 0.2rem;
}

/* Footer */
.footer {
    background-color: var(--secondary-color);
    color: var(--white);
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
    color: var(--white);
    margin-bottom: 1rem;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.8);
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.8);
    transition: var(--transition);
}

.footer-section ul li a:hover {
    color: var(--white);
}

.social-links {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 1rem;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 5px;
    transition: var(--transition);
}

.social-link:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.social-link img {
    width: 24px;
    height: 24px;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.8);
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: var(--white);
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    padding: 1rem;
    z-index: 1001;
    border-top: 3px solid var(--primary-color);
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.cookie-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.cookie-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1002;
}

.cookie-modal-content {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 10px;
    max-width: 500px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
}

.cookie-category {
    margin-bottom: 1rem;
    padding: 1rem;
    border: 1px solid var(--border-color);
    border-radius: 5px;
}

.cookie-category label {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    cursor: pointer;
}

.cookie-category span {
    font-size: 0.9rem;
    color: var(--text-light);
}

/* Specific Pages */

/* ===== O-NAS.HTML STYLES ===== */

/* Company Story Section */
.company-story {
    background-color: var(--bg-light);
}

.story-content {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 3rem;
    align-items: center;
}

.story-text h2 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.story-text p {
    margin-bottom: 1.5rem;
    line-height: 1.8;
    color: var(--text-light);
}

.story-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.story-image img {
    width: 150px;
    height: 150px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(18, 39, 89, 0.1);
}

/* Mission & Vision Section */
.mission-vision {
    padding: 80px 0;
}

.mv-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 3rem;
}

.mv-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: var(--transition);
    border-top: 4px solid var(--primary-color);
}

.mv-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.mv-card img {
    width: 80px;
    height: 80px;
    margin-bottom: 1.5rem;
}

.mv-card h3 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-size: 1.4rem;
}

.mv-card p {
    line-height: 1.7;
    color: var(--text-light);
}

/* Team Section */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.team-member {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: var(--transition);
    border-left: 4px solid var(--accent-color);
}

.team-member:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.member-image {
    width: 120px;
    height: 120px;
    margin: 0 auto 1rem;
    border-radius: 50%;
    overflow: hidden;
}

.member-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.member-position {
    color: var(--accent-color);
    font-weight: 500;
    margin-bottom: 1rem;
}

.member-description {
    font-size: 0.9rem;
    color: var(--text-light);
}

/* Values Section */
.values-section {
    background-color: var(--bg-light);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.value-item {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.value-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
}

.value-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.value-item img {
    width: 64px;
    height: 64px;
    margin-bottom: 1.5rem;
}

.value-item h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.value-item p {
    color: var(--text-light);
    line-height: 1.6;
}

/* ===== USLUGI.HTML STYLES ===== */

/* Services Overview Section */
.services-overview {
    padding: 60px 0;
}

.services-intro {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.services-intro h2 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-size: 2.2rem;
}

.services-intro p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-light);
}

/* Main Services Section */
.main-services {
    background-color: var(--bg-light);
    padding: 80px 0;
}

/* Services Detail */
.service-detail {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 2rem;
    margin-bottom: 3rem;
    padding: 2.5rem;
    background: var(--white);
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
    border-left: 5px solid var(--primary-color);
}

.service-detail:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.service-icon {
    width: 80px;
}

.service-icon img {
    width: 64px;
    height: 64px;
}

.service-content ul {
    list-style: none;
    margin-top: 1rem;
}

.service-content ul li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.service-content ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--success);
    font-weight: bold;
}

.service-content h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.4rem;
}

.service-content p {
    margin-bottom: 1.5rem;
    line-height: 1.7;
    color: var(--text-light);
}

/* Service Process Section */
.service-process {
    padding: 80px 0;
}

/* Specialized Services Section */
.specialized-services {
    background-color: var(--bg-light);
    padding: 80px 0;
}

.specialized-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.specialized-item {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: var(--transition);
    position: relative;
}

.specialized-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: var(--accent-color);
    border-radius: 0 0 10px 10px;
}

.specialized-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.specialized-item img {
    width: 72px;
    height: 72px;
    margin-bottom: 1.5rem;
}

.specialized-item h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.specialized-item p {
    color: var(--text-light);
    line-height: 1.6;
}

/* Contact Form Section */
.contact-form-section {
    padding: 80px 0;
    background: linear-gradient(135deg, rgba(18, 39, 89, 0.05), rgba(12, 12, 13, 0.05));
}

.form-content {
    max-width: 800px;
    margin: 0 auto;
}

.form-header {
    text-align: center;
    margin-bottom: 3rem;
}

.form-header h2 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 2rem;
}

.form-header p {
    font-size: 1.1rem;
    color: var(--text-light);
}

.contact-form {
    background: var(--white);
    padding: 3rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Process Steps */
.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.process-step {
    text-align: center;
    padding: 1.5rem;
}

.step-number {
    width: 60px;
    height: 60px;
    background-color: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    margin: 0 auto 1rem;
}

/* ===== NIERUCHOMOSCI.HTML STYLES ===== */

/* Market Overview Section */
.market-overview {
    padding: 60px 0;
}

.overview-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.overview-content h2 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-size: 2.2rem;
}

.overview-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-light);
}

/* Cities Section */
.cities-section {
    background-color: var(--bg-light);
    padding: 80px 0;
}

/* Property Cities */
.cities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.city-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
    border-top: 4px solid var(--primary-color);
}

.city-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.city-icon {
    text-align: center;
    margin-bottom: 1rem;
}

.city-icon img {
    width: 48px;
    height: 48px;
}

.city-stats {
    margin: 1.5rem 0;
}

.stat {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--border-color);
}

.stat-label {
    font-weight: 500;
}

.stat-value {
    font-weight: 600;
}

.trend-positive {
    color: var(--success);
}

.rating-high {
    color: var(--success);
}

.rating-medium {
    color: var(--warning);
}

/* Market Analysis Section */
.market-analysis {
    padding: 80px 0;
}

.analysis-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.analysis-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
    border-left: 5px solid var(--accent-color);
}

.analysis-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.analysis-card h3 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-size: 1.4rem;
}

.analysis-card p {
    margin-bottom: 1.5rem;
    line-height: 1.7;
    color: var(--text-light);
}

.analysis-card ul {
    list-style: none;
    padding-left: 0;
}

.analysis-card ul li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--text-light);
}

.analysis-card ul li::before {
    content: '▶';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

/* Property Types Section */
.property-types {
    background-color: var(--bg-light);
    padding: 80px 0;
}

.types-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.type-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.type-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
}

.type-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.type-card img {
    width: 72px;
    height: 72px;
    margin-bottom: 1.5rem;
}

.type-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.type-card p {
    margin-bottom: 1.5rem;
    line-height: 1.6;
    color: var(--text-light);
}

.type-stats {
    background: var(--bg-light);
    padding: 1rem;
    border-radius: 10px;
    margin-top: 1rem;
}

.type-stats span {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    color: var(--text-color);
}

.type-stats span:last-child {
    margin-bottom: 0;
}

/* Investment Tips Section */
.investment-tips {
    padding: 80px 0;
}

.tips-content {
    max-width: 900px;
    margin: 0 auto;
}

.tips-list {
    display: grid;
    gap: 2rem;
}

.tip-item {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 2rem;
    background: var(--white);
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
    align-items: center;
}

.tip-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.tip-item img {
    width: 80px;
    height: 80px;
}

.tip-content h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.tip-content p {
    color: var(--text-light);
    line-height: 1.7;
    margin: 0;
}

/* ===== KONTAKT.HTML STYLES ===== */

/* Contact Information Section */
.contact-info-section {
    padding: 80px 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.contact-details h2 {
    color: var(--primary-color);
    margin-bottom: 2rem;
    font-size: 2rem;
}

.contact-items {
    display: grid;
    gap: 2rem;
    margin-bottom: 3rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 2rem;
    background: var(--white);
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
    border-left: 4px solid var(--primary-color);
}

.contact-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.contact-icon {
    flex-shrink: 0;
}

.contact-icon img {
    width: 56px;
    height: 56px;
}

.contact-text h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
}

.contact-text p {
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-color);
}

.contact-text span {
    font-size: 0.9rem;
    color: var(--text-light);
}

.contact-text a {
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
}

.contact-text a:hover {
    color: var(--accent-color);
}

/* Business Hours */
.business-hours {
    background: var(--bg-light);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.business-hours h3 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
}

.hours-list {
    display: grid;
    gap: 0.8rem;
}

.hours-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.8rem 0;
    border-bottom: 1px solid var(--border-color);
}

.hours-item:last-child {
    border-bottom: none;
}

.hours-item span:first-child {
    font-weight: 500;
    color: var(--text-color);
}

.hours-item span:last-child {
    font-weight: 600;
    color: var(--primary-color);
}

/* Contact Form Container */
.contact-form-container {
    background: var(--white);
    padding: 3rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.contact-form-container h2 {
    color: var(--primary-color);
    margin-bottom: 2rem;
    font-size: 2rem;
}

/* Quick Contact Section */
.quick-contact {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    padding: 80px 0;
}

.quick-contact-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.quick-contact-item {
    text-align: center;
    padding: 2.5rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    transition: var(--transition);
    backdrop-filter: blur(10px);
}

.quick-contact-item:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-5px);
}

.quick-contact-item img {
    width: 64px;
    height: 64px;
    margin-bottom: 1.5rem;
}

.quick-contact-item h3 {
    color: var(--white);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.quick-contact-item p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1.5rem;
}

.quick-contact-item .btn-secondary {
    background: var(--white);
    color: var(--primary-color);
    border: none;
    font-weight: 600;
}

.quick-contact-item .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.9);
    transform: translateY(-2px);
}

/* FAQ Preview */
.faq-preview {
    background-color: var(--bg-light);
    padding: 80px 0;
}

.faq-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.faq-content h2 {
    color: var(--primary-color);
    margin-bottom: 3rem;
    font-size: 2rem;
}

.faq-preview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.faq-preview-item {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    text-align: left;
    transition: var(--transition);
}

.faq-preview-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.faq-preview-item h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.faq-preview-item p {
    color: var(--text-light);
    line-height: 1.6;
    margin: 0;
}

/* Social Media Section */
.social-media-section {
    padding: 80px 0;
}

.social-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.social-content h2 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 2rem;
}

.social-content p {
    color: var(--text-light);
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.social-links.large {
    justify-content: center;
    gap: 2rem;
}

.social-links.large .social-link {
    flex-direction: column;
    padding: 2rem;
    background: var(--bg-light);
    border-radius: 15px;
    transition: var(--transition);
    text-decoration: none;
    color: var(--text-color);
    min-width: 120px;
}

.social-links.large .social-link:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-5px);
}

.social-links.large .social-link img {
    width: 40px;
    height: 40px;
    margin-bottom: 0.5rem;
}

.social-links.large .social-link span {
    font-weight: 500;
}

/* Legal Pages */
.legal-page {
    padding: 120px 0 80px;
}

.legal-content {
    max-width: 800px;
    margin: 0 auto;
}

.legal-content h1 {
    margin-bottom: 1rem;
}

.last-updated {
    color: var(--text-light);
    font-style: italic;
    margin-bottom: 2rem;
}

.legal-section {
    margin-bottom: 3rem;
}

.legal-section h2 {
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 0.5rem;
    margin-bottom: 1.5rem;
}

.legal-section h3 {
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.legal-section ul,
.legal-section ol {
    padding-left: 2rem;
    margin-bottom: 1rem;
}

.legal-section li {
    margin-bottom: 0.5rem;
}

/* Cookies Table */
.cookies-table {
    overflow-x: auto;
    margin: 2rem 0;
}

.cookies-table table {
    width: 100%;
    border-collapse: collapse;
    background: var(--white);
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.cookies-table th,
.cookies-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

.cookies-table th {
    background-color: var(--primary-color);
    color: var(--white);
    font-weight: 600;
}

/* Thank You Page */
.thank-you-section {
    padding: 120px 0 80px;
    text-align: center;
}

.thank-you-content {
    max-width: 800px;
    margin: 0 auto;
}

.thank-you-icon {
    margin-bottom: 2rem;
}

.thank-you-icon img {
    width: 100px;
    height: 100px;
}

.thank-you-message {
    font-size: 1.2rem;
    margin-bottom: 3rem;
}

.thank-you-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.detail-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: var(--bg-light);
    border-radius: 10px;
    text-align: left;
}

.detail-item img {
    width: 48px;
    height: 48px;
}

.detail-item h3 {
    margin-bottom: 0.5rem;
}

.detail-item p {
    margin: 0;
    font-size: 0.9rem;
}

.thank-you-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* FAQ */
.faq-section {
    background-color: var(--bg-light);
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--white);
    margin-bottom: 1rem;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    cursor: pointer;
    transition: var(--transition);
}

.faq-question:hover {
    background-color: var(--bg-light);
}

.faq-question h3 {
    margin: 0;
    color: var(--primary-color);
}

.faq-toggle {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-color);
    transition: var(--transition);
}

.faq-answer {
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-answer.active {
    padding: 1.5rem;
    max-height: 200px;
}

.faq-answer p {
    margin: 0;
}

/* CTA Sections */
.cta-section {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    text-align: center;
}

.cta-content h2 {
    color: var(--white);
    margin-bottom: 1rem;
}

.cta-content p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
}

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

/* Large tablets and small desktops */
@media (max-width: 1024px) {
    /* O-NAS.HTML responsive adjustments */
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    /* USLUGI.HTML responsive adjustments */
    .specialized-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    /* NIERUCHOMOSCI.HTML responsive adjustments */
    .analysis-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .types-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    /* KONTAKT.HTML responsive adjustments */
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .quick-contact-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .faq-preview-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

/* Tablet devices */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: var(--white);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-menu li {
        margin: 1rem 0;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero p {
        font-size: 1.1rem;
    }
    
    .section-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }
    
    .cookie-buttons {
        justify-content: center;
    }
    
    .service-detail {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .thank-you-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .thank-you-actions .btn-primary,
    .thank-you-actions .btn-secondary {
        width: 100%;
        max-width: 300px;
    }
    
    /* Enhanced mobile styles for all pages */
    .stats-grid,
    .team-grid,
    .specialized-grid,
    .types-grid,
    .quick-contact-content,
    .faq-preview-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .timeline-item,
    .service-detail,
    .analysis-card,
    .type-card,
    .tip-item {
        grid-template-columns: 1fr;
        text-align: center;
        padding: 1.5rem;
    }
    
    .contact-item {
        flex-direction: column;
        text-align: center;
        padding: 1.5rem;
    }
    
    .contact-item .contact-icon {
        margin-bottom: 1rem;
    }
    
    .business-hours {
        padding: 1.5rem;
    }
    
    .hours-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .hours-item span:last-child {
        font-size: 1.1rem;
    }
    
    .contact-form-container {
        padding: 2rem;
    }
    
    .quick-contact-item {
        padding: 2rem;
    }
    
    .social-links.large {
        gap: 1rem;
    }
    
    .social-links.large .social-link {
        min-width: 100px;
        padding: 1.5rem;
    }
    
    /* City cards and type cards mobile adjustments */
    .city-card,
    .type-card {
        padding: 2rem;
    }
    
    .type-stats {
        padding: 1rem;
    }
    
    /* Timeline mobile adjustments */
    .timeline-item::before {
        left: 1rem;
    }
    
    .timeline-content {
        margin-left: 2rem;
    }
    
    /* Specialized items mobile adjustments */
    .specialized-item {
        padding: 2rem;
    }
    
    .specialized-item::before {
        width: 50px;
    }
}

/* Small mobile devices */
@media (max-width: 480px) {
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .section h2 {
        font-size: 1.8rem;
    }
    
    .section h3 {
        font-size: 1.4rem;
    }
    
    .container {
        padding: 0 1rem;
    }
    
    .section {
        padding: 40px 0;
    }
    
    .stats-item h3 {
        font-size: 1.8rem;
    }
    
    .team-card,
    .service-detail,
    .analysis-card,
    .type-card,
    .contact-item,
    .quick-contact-item,
    .faq-preview-item {
        padding: 1.5rem;
    }
    
    .contact-form-container {
        padding: 1.5rem;
    }
    
    .business-hours {
        padding: 1.5rem;
    }
    
    .timeline-content {
        margin-left: 1.5rem;
    }
    
    .timeline-item::before {
        left: 0.5rem;
    }
    
    .social-links.large .social-link {
        min-width: 80px;
        padding: 1rem;
    }
    
    .social-links.large .social-link img {
        width: 32px;
        height: 32px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .section-header h2 {
        font-size: 1.5rem;
    }
    
    .cities-grid {
        grid-template-columns: 1fr;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .process-steps {
        grid-template-columns: 1fr;
    }
    [class*="-grid"], .story-content {
        grid-template-columns: 1fr;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fadeInUp {
    animation: fadeInUp 0.6s ease-out;
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.text-left {
    text-align: left;
}

.text-right {
    text-align: right;
}

.mb-2 {
    margin-bottom: 1rem;
}

.mb-3 {
    margin-bottom: 1.5rem;
}

.mb-4 {
    margin-bottom: 2rem;
}

.mt-2 {
    margin-top: 1rem;
}

.mt-3 {
    margin-top: 1.5rem;
}

.mt-4 {
    margin-top: 2rem;
}

.hidden {
    display: none;
}

.visible {
    display: block;
}

/* Print Styles */
@media print {
    .header,
    .footer,
    .cookie-banner,
    .cookie-modal {
        display: none;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.4;
    }
    
    .container {
        max-width: none;
        padding: 0;
    }
}
