/* 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;
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: 2.5rem;
    color: #172f8f;
}

h2 {
    font-size: 2rem;
    color: #172f8f;
}

h3 {
    font-size: 1.5rem;
    color: #44464d;
}

p {
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    color: #172f8f;
    transition: color 0.3s ease;
}

a:hover {
    color: #44464d;
}

/* Buttons */
.btn-primary {
    display: inline-block;
    padding: 12px 24px;
    background: linear-gradient(135deg, #172f8f, #44464d);
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(23, 47, 143, 0.3);
    color: white;
}

.btn-secondary {
    display: inline-block;
    padding: 12px 24px;
    background: transparent;
    color: #172f8f;
    border: 2px solid #172f8f;
    border-radius: 5px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-secondary:hover {
    background: #172f8f;
    color: white;
    transform: translateY(-2px);
}

/* Navigation */
.navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

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

.nav-logo a {
    font-size: 1.5rem;
    font-weight: 700;
    color: #172f8f;
    text-decoration: none;
}

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

.nav-menu a {
    color: #44464d;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.3s ease;
    position: relative;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: #172f8f;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #172f8f;
    transition: width 0.3s ease;
}

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

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background: #44464d;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: linear-gradient(135deg, rgba(23, 47, 143, 0.8), rgba(68, 70, 77, 0.8));
    overflow: hidden;
}

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

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.8;
}

.hero-content {
    text-align: center;
    color: white;
    max-width: 600px;
    padding: 0 20px;
}

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

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

/* Sections */
section {
    padding: 5rem 0;
}

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

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

/* Company Info Section */
.company-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.company-text ul {
    list-style: none;
    margin-top: 1rem;
}

.company-text li {
    padding: 0.5rem 0;
    position: relative;
    padding-left: 1.5rem;
}

.company-text li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #172f8f;
    font-weight: bold;
}

.company-image img {
    width: 100%;
    height: auto;
    border-radius: 10px;
}

/* Advantages Section */
.advantages {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
}

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

.advantage-item {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.advantage-item:hover {
    transform: translateY(-5px);
}

.advantage-icon {
    width: 80px;
    height: 80px;
    margin-bottom: 1rem;
}

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

.team-member {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    text-align: center;
}

.team-member:hover {
    transform: translateY(-5px);
}

.team-photo {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.team-member h3 {
    margin: 1rem 0 0.5rem;
    padding: 0 1rem;
}

.team-role {
    color: #172f8f;
    font-weight: 600;
    margin-bottom: 1rem;
    padding: 0 1rem;
}

.team-member p:last-child {
    padding: 0 1rem 1.5rem;
    color: #666;
}

/* Services Section */
.services {
    background: #f8f9fa;
}

.services-tabs {
    max-width: 800px;
    margin: 0 auto;
}

.tab-buttons {
    display: flex;
    justify-content: center;
    margin-bottom: 2rem;
    border-bottom: 2px solid #e9ecef;
}

.tab-btn {
    padding: 1rem 2rem;
    background: none;
    border: none;
    font-size: 1rem;
    color: #666;
    cursor: pointer;
    transition: all 0.3s ease;
    border-bottom: 3px solid transparent;
}

.tab-btn.active,
.tab-btn:hover {
    color: #172f8f;
    border-bottom-color: #172f8f;
}

.tab-panel {
    display: none;
}

.tab-panel.active {
    display: block;
}

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

.service-image {
    width: 100%;
    height: 300px;
}

.service-text ul {
    list-style: none;
}

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

.service-text li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: #172f8f;
    font-weight: bold;
}

/* Achievements Section */
.achievements {
    background: linear-gradient(135deg, #172f8f, #44464d);
    color: white;
}

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

.achievement-item {
    text-align: center;
    padding: 2rem;
}
.achievements h2, .achievements p {
    color: white !important;
}
.achievement-item h3 {
    font-size: 3rem;
    color: white;
    margin-bottom: 0.5rem;
}

.achievement-item p {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* Reviews Section */
.reviews {
    background: #f8f9fa;
}

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

.review-item {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.stars {
    color: #ffc107;
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.review-item h4 {
    margin-top: 1rem;
    color: #172f8f;
}

/* Contact Section */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 2rem;
}

.contact-icon {
    width: 40px;
    height: 40px;
    margin-right: 1rem;
    flex-shrink: 0;
}

.social-links h4 {
    margin-bottom: 1rem;
}

.social-icons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.social-icons a {
    padding: 0.5rem 1rem;
    background: #172f8f;
    color: white;
    border-radius: 5px;
    text-decoration: none;
    transition: background 0.3s ease;
}

.social-icons a:hover {
    background: #44464d;
}

/* Forms */
.contact-form {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

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

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #44464d;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid #e9ecef;
    border-radius: 5px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #172f8f;
}

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

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

.checkbox-label input[type="checkbox"] {
    width: auto;
    margin: 0;
}

.checkmark {
    width: 20px;
    height: 20px;
    border: 2px solid #e9ecef;
    border-radius: 3px;
    flex-shrink: 0;
    margin-top: 2px;
}

/* Footer */
footer {
    background: #44464d;
    color: 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: white;
    margin-bottom: 1rem;
}

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

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

.footer-section a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: white;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #555;
    color: #ccc;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(68, 70, 77, 0.95);
    backdrop-filter: blur(10px);
    color: white;
    padding: 1.5rem;
    z-index: 2000;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.cookie-banner.show {
    transform: translateY(0);
}

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

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

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

.cookie-modal.show {
    display: flex;
}

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

.cookie-option {
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #eee;
}

.cookie-option:last-of-type {
    border-bottom: none;
}

.cookie-option label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.cookie-option p {
    margin: 0;
    font-size: 0.9rem;
    color: #666;
}

/* Page Headers */
.page-header {
    padding: 8rem 0 4rem;
    background: linear-gradient(135deg, #172f8f, #44464d);
    color: white;
    text-align: center;
}

.page-header h1 {
    color: white;
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.page-header p {
    font-size: 1.2rem;
    opacity: 0.9;
}

/* Legal Content */
.legal-content {
    padding: 3rem 0;
}

.legal-text {
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
}

.legal-text h2 {
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: 1px solid #eee;
}

.legal-text h3 {
    margin-top: 1.5rem;
}

.legal-text ul {
    margin: 1rem 0;
    padding-left: 2rem;
}

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

/* Apartment Catalog */
.apartment-filters {
    background: #f8f9fa;
    padding: 2rem 0;
}

.filter-group h3 {
    margin-bottom: 1rem;
}

.filters {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.filters select {
    padding: 0.5rem;
    border: 2px solid #e9ecef;
    border-radius: 5px;
    font-size: 1rem;
}

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

.apartment-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.apartment-card:hover {
    transform: translateY(-5px);
}

.apartment-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

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

.apartment-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: #172f8f;
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
}

.apartment-info {
    padding: 1.5rem;
}

.apartment-location {
    color: #666;
    margin-bottom: 1rem;
}

.apartment-details {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.detail-item {
    background: #f8f9fa;
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.8rem;
    color: #666;
}

.apartment-features h4 {
    margin-bottom: 0.5rem;
    color: #172f8f;
}

.apartment-features ul {
    list-style: none;
    margin-bottom: 1rem;
}

.apartment-features li {
    padding: 0.25rem 0;
    font-size: 0.9rem;
}

.apartment-features li::before {
    content: '✓';
    color: #28a745;
    font-weight: bold;
    margin-right: 0.5rem;
}

.apartment-price {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 1rem 0;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 5px;
}

.price {
    font-size: 1.5rem;
    font-weight: bold;
    color: #172f8f;
}

.price-per-sqm {
    color: #666;
    font-size: 0.9rem;
}

.apartment-actions {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.apartment-actions .btn-primary,
.apartment-actions .btn-secondary {
    flex: 1;
    text-align: center;
    padding: 0.75rem;
    font-size: 0.9rem;
}

/* Buying Guide */
.guide-navigation {
    background: #f8f9fa;
    padding: 2rem 0;
}

.guide-nav ul {
    display: flex;
    justify-content: center;
    gap: 2rem;
    list-style: none;
    flex-wrap: wrap;
}

.guide-link {
    padding: 0.5rem 1rem;
    background: white;
    border: 2px solid #e9ecef;
    border-radius: 5px;
    text-decoration: none;
    color: #44464d;
    transition: all 0.3s ease;
}

.guide-link:hover,
.guide-link.active {
    background: #172f8f;
    color: white;
    border-color: #172f8f;
}

.guide-section {
    padding: 3rem 0;
    border-bottom: 1px solid #eee;
}

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

.guide-content.reverse {
    grid-template-columns: 1fr 1fr;
}

.guide-content.reverse .guide-image {
    order: 2;
}

.guide-content.reverse .guide-text {
    order: 1;
}

.guide-image {
    width: 100%;
    height: 300px;
}

.guide-text h2 {
    margin-bottom: 1rem;
}

.guide-text h3 {
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
    color: #172f8f;
}

.guide-text ul {
    margin: 0.5rem 0 1rem;
    padding-left: 1.5rem;
}

.guide-text li {
    margin-bottom: 0.5rem;
}

.cost-example {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 5px;
    margin-top: 1rem;
}

.warning-box {
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    padding: 1.5rem;
    border-radius: 5px;
    margin-top: 1rem;
}

.warning-box h4 {
    color: #856404;
    margin-bottom: 1rem;
}

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

.specialist-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.specialist-photo {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.specialist-info {
    padding: 1.5rem;
}

.specialist-role {
    color: #172f8f;
    font-weight: 600;
    margin-bottom: 1rem;
}

.specialist-details h4 {
    margin-top: 1rem;
    margin-bottom: 0.5rem;
    color: #44464d;
    font-size: 1rem;
}

.specialist-details ul {
    margin-bottom: 1rem;
    padding-left: 1.5rem;
}

.specialist-details li {
    margin-bottom: 0.25rem;
    font-size: 0.9rem;
}

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

.principle-item {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.principle-item:hover {
    transform: translateY(-5px);
}

.principle-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 1rem;
}

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

.quality-stats {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 10px;
}

.stat-item {
    text-align: center;
    margin-bottom: 1.5rem;
}

.stat-item h4 {
    font-size: 2rem;
    color: #172f8f;
    margin-bottom: 0.5rem;
}

.stat-item p {
    color: #666;
    margin: 0;
}

/* Contact Page */
.contact-methods {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.contact-method {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.contact-method-icon {
    width: 50px;
    height: 50px;
    margin-bottom: 1rem;
}

.contact-method h3 {
    color: #172f8f;
    margin-bottom: 1rem;
}

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

.team-contact-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.team-contact-photo {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.team-contact-info {
    padding: 1.5rem;
    text-align: center;
}

.team-speciality {
    color: #666;
    font-style: italic;
    margin-bottom: 1rem;
}

.team-contact-details {
    text-align: left;
    margin: 1rem 0;
}

.team-contact-details p {
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

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

.social-link {
    display: flex;
    align-items: center;
    padding: 1.5rem;
    background: white;
    border-radius: 10px;
    text-decoration: none;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.social-link:hover {
    transform: translateY(-3px);
}

.social-icon {
    font-size: 2rem;
    margin-right: 1rem;
}

.social-info h3 {
    margin-bottom: 0.5rem;
    color: #172f8f;
}

.social-info p {
    margin: 0;
    color: #666;
    font-size: 0.9rem;
}

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

.faq-item {
    background: white;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.faq-item h3 {
    color: #172f8f;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.faq-item p {
    margin: 0;
    color: #666;
    font-size: 0.9rem;
}

/* Thanks Page */
.thanks-page {
    padding: 8rem 0 4rem;
    min-height: 80vh;
    display: flex;
    align-items: center;
}

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

.thanks-icon {
    margin-bottom: 2rem;
}

.thanks-message {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 3rem;
}

.thanks-details {
    margin-bottom: 3rem;
}

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

.step {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 10px;
}

.step-number {
    width: 40px;
    height: 40px;
    background: #172f8f;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    flex-shrink: 0;
}

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

.step-content h3 {
    margin-bottom: 0.5rem;
    color: #172f8f;
}

.step-content p {
    margin: 0;
    font-size: 0.9rem;
    color: #666;
}

.contact-emergency {
    background: #fff3cd;
    padding: 2rem;
    border-radius: 10px;
    margin-bottom: 3rem;
}

.emergency-contacts {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 1rem;
}

.emergency-contact {
    text-align: center;
}

.emergency-contact a {
    color: #172f8f;
    font-weight: 600;
}

.thanks-actions,
.social-follow {
    margin-bottom: 3rem;
}

.action-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 1rem;
    flex-wrap: wrap;
}

.social-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 1rem;
}

.social-btn {
    padding: 0.75rem 1.5rem;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: transform 0.3s ease;
}

.social-btn:hover {
    transform: translateY(-2px);
}

.social-btn.facebook {
    background: #1877f2;
    color: white;
}

.social-btn.instagram {
    background: #e4405f;
    color: white;
}

.social-btn.linkedin {
    background: #0a66c2;
    color: white;
}

.testimonials-preview {
    background: #f8f9fa;
    padding: 3rem 0;
}

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

.testimonial-item {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Cookie Content */
.cookie-table {
    background: #f8f9fa;
    padding: 1rem;
    border-radius: 5px;
    margin: 1rem 0;
}

.cookie-table h4 {
    color: #172f8f;
    margin-bottom: 0.5rem;
}

.cookie-table ul {
    margin: 0;
}

.cookie-controls {
    background: #e7f3ff;
    padding: 2rem;
    border-radius: 10px;
    margin: 2rem 0;
}

.cookie-controls h3 {
    color: #172f8f;
    margin-bottom: 1rem;
}

.summary-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.summary-item {
    background: white;
    padding: 1.5rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.summary-item h3 {
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.summary-item p {
    margin: 0;
    font-size: 0.9rem;
    color: #666;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, #172f8f, #44464d);
    color: white;
    text-align: center;
    padding: 4rem 0;
}

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

.cta-content p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: rgba(255, 255, 255, 0.98);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        backdrop-filter: blur(10px);
        padding: 2rem 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-toggle {
        display: flex;
    }

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

    .nav-toggle.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .nav-toggle.active .bar:nth-child(3) {
        transform: translateY(-10px) rotate(-45deg);
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .company-grid,
    .contact-grid,
    .service-content,
    .guide-content {
        grid-template-columns: 1fr !important;
        gap: 2rem;
    }

    .guide-content.reverse .guide-image {
        order: 1;
    }

    .guide-content.reverse .guide-text {
        order: 2;
    }

    .tab-buttons {
        flex-wrap: wrap;
        gap: 0.5rem;
    }

    .tab-btn {
        padding: 0.75rem 1rem;
        font-size: 0.9rem;
    }

    .cookie-content {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    .cookie-buttons {
        justify-content: center;
        flex-wrap: wrap;
    }

    .filters {
        flex-direction: column;
        align-items: stretch;
    }

    .filters select {
        width: 100%;
    }

    .apartment-actions {
        flex-direction: column;
    }

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

    .emergency-contacts {
        flex-direction: column;
        gap: 1rem;
    }

    .action-buttons,
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .guide-nav ul {
        flex-direction: column;
        gap: 1rem;
    }

    .quality-content {
        grid-template-columns: 1fr;
    }

    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    .section-header {
        margin-bottom: 2rem;
    }

    section {
        padding: 3rem 0;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .hero-content h1 {
        font-size: 1.8rem;
    }

    .achievements-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .achievement-item h3 {
        font-size: 2rem;
    }

    .page-header {
        padding: 6rem 0 3rem;
    }

    .page-header h1 {
        font-size: 2rem;
    }

    .btn-primary,
    .btn-secondary {
        padding: 10px 16px;
        font-size: 0.9rem;
    }

    .next-steps {
        grid-template-columns: 1fr;
    }

    .step {
        text-align: center;
        flex-direction: column;
        align-items: center;
    }

    .step-content {
        text-align: center;
    }
    body {
        word-break: break-word;
    }
    [class*="-grid"], .contact-methods {
        grid-template-columns: 1fr;
    }
}

/* Print Styles */
@media print {
    .navbar,
    .cookie-banner,
    .cookie-modal,
    .cta-section,
    footer {
        display: none;
    }

    body {
        font-size: 12pt;
        line-height: 1.5;
    }

    .page-header {
        background: none;
        color: #333;
        padding: 2rem 0;
    }

    .page-header h1 {
        color: #333;
    }
}
