/* ========================================
   VIKING HOUSE - Zakątek Bliż
   ======================================== */

html {
    scroll-behavior: smooth;
}

:root {
    --color-dark: #2B2B2B;
    --color-text: #15141D;
    --color-text-light: rgba(30, 29, 27, 0.8);
    --color-bg: #E8E7E2;
    --color-white: #FFFFFF;
    --font-primary: 'Plus Jakarta Sans', sans-serif;
    --font-heading: 'Red Hat Display', sans-serif;
    --color-accent: #b69b86;
    --color-light: #E8E7E2;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-primary);
    color: var(--color-text);
    background: var(--color-white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

/* ========================================
   HEADER
   ======================================== */

.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transform: translateY(0);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
                box-shadow 0.35s ease,
                background 0.35s ease;
}

.header.scrolled {
    box-shadow: 0 1px 20px rgba(0, 0, 0, 0.06);
}

.header.hidden {
    transform: translateY(-100%);
}

.header-inner {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1440px;
    margin: 0 auto;
    padding: 28px 38px 0;
    transition: padding 0.3s ease;
}

.header.scrolled .header-inner {
    padding-top: 16px;
    padding-bottom: 12px;
}

/* Logo - absolute center */
.logo {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    gap: 1px;
    padding-top: 6px;
    z-index: 2;
}

.logo-icon {
    width: 120px;
    height: auto;
    margin-bottom: 2px;
}

.logo-text-top {
    font-family: var(--font-primary);
    font-size: 16px;
    font-weight: 500;
    letter-spacing: 3.5px;
    color: var(--color-dark);
    text-transform: lowercase;
    line-height: 1.1;
}

.logo-text-bottom {
    font-family: var(--font-primary);
    font-size: 9px;
    font-weight: 400;
    letter-spacing: 4px;
    color: var(--color-dark);
    text-transform: lowercase;
    line-height: 1.2;
}

/* Navigation */
.nav-menu {
    display: flex;
    gap: 32px;
    align-items: center;
    z-index: 1;
}

.nav-link {
    font-family: var(--font-primary);
    font-size: 14px;
    font-weight: 400;
    line-height: 1.4;
    letter-spacing: -0.28px;
    color: var(--color-text-light);
    text-decoration: none;
    white-space: nowrap;
    transition: color 0.2s ease;
}

.nav-link:hover {
    color: var(--color-text);
}

.nav-link.active {
    font-weight: 700;
    color: var(--color-text);
}

/* Header action buttons */
.header-actions {
    display: flex;
    gap: 18px;
    align-items: center;
    z-index: 1;
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 28px;
    border: 1px solid var(--color-dark);
    border-radius: 22px;
    font-family: var(--font-primary);
    font-size: 14px;
    font-weight: 400;
    line-height: 1.5;
    color: var(--color-dark);
    text-decoration: none;
    white-space: nowrap;
    background: transparent;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.btn-outline:hover {
    background-color: var(--color-dark);
    color: var(--color-white);
}

/* Spacer for fixed header */
.header-spacer {
    height: 90px;
}

/* Hamburger - hidden on desktop */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    width: 30px;
    height: 30px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 20;
}

.hamburger span {
    display: block;
    height: 1.5px;
    background-color: var(--color-dark);
    transition: transform 0.3s ease, opacity 0.3s ease, width 0.3s ease;
}

.hamburger span:nth-child(1) {
    width: 100%;
}

.hamburger span:nth-child(2) {
    width: 70%;
    margin-left: auto;
}

.hamburger span:nth-child(3) {
    width: 100%;
}

.hamburger.active span:nth-child(1) {
    width: 100%;
    transform: translateY(7.5px) rotate(45deg);
}

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

.hamburger.active span:nth-child(3) {
    width: 100%;
    transform: translateY(-7.5px) rotate(-45deg);
}

/* ========================================
   DRAWER (mobile side menu)
   ======================================== */

.drawer-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0);
    z-index: 1100;
    pointer-events: none;
    transition: background 0.4s ease;
}

.drawer-overlay.open {
    background: rgba(0, 0, 0, 0.3);
    pointer-events: auto;
    backdrop-filter: blur(2px);
}

.drawer {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: 340px;
    max-width: 85vw;
    background: var(--color-white);
    z-index: 1200;
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    box-shadow: -8px 0 40px rgba(0, 0, 0, 0);
}

.drawer.open {
    transform: translateX(0);
    box-shadow: -8px 0 40px rgba(0, 0, 0, 0.1);
}

/* Drawer header */
.drawer-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    padding: 32px 32px 0;
}

.drawer-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    gap: 1px;
}

.drawer-logo .logo-icon {
    width: 48px;
}

.drawer-logo .logo-text-top {
    font-size: 14px;
    letter-spacing: 3px;
}

.drawer-logo .logo-text-bottom {
    font-size: 8px;
    letter-spacing: 3.5px;
}

.drawer-close {
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    opacity: 0.5;
    transition: opacity 0.2s ease;
}

.drawer-close:hover {
    opacity: 1;
}

/* Drawer nav */
.drawer-nav {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0 32px;
    gap: 4px;
}

.drawer-link {
    display: flex;
    align-items: center;
    gap: 16px;
    text-decoration: none;
    padding: 16px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    transition: padding-left 0.3s ease;
}

.drawer-link:last-child {
    border-bottom: none;
}

.drawer-link:hover {
    padding-left: 8px;
}

.drawer-link-number {
    font-family: var(--font-primary);
    font-size: 11px;
    font-weight: 400;
    color: rgba(43, 43, 43, 0.3);
    letter-spacing: 1px;
    min-width: 24px;
}

.drawer-link-text {
    font-family: var(--font-primary);
    font-size: 20px;
    font-weight: 400;
    color: var(--color-dark);
    letter-spacing: -0.3px;
    transition: font-weight 0.2s ease;
}

.drawer-link.active .drawer-link-text {
    font-weight: 700;
}

.drawer-link.active .drawer-link-number {
    color: var(--color-dark);
}

/* Drawer footer */
.drawer-footer {
    padding: 24px 32px 40px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.drawer-phone {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    font-family: var(--font-primary);
    font-size: 15px;
    font-weight: 400;
    color: var(--color-dark);
    letter-spacing: 0.5px;
    padding: 14px 20px;
    background: rgba(0, 0, 0, 0.03);
    border-radius: 12px;
    transition: background 0.2s ease;
}

.drawer-phone:hover {
    background: rgba(0, 0, 0, 0.06);
}

.drawer-phone svg {
    flex-shrink: 0;
}

.drawer-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    background: var(--color-dark);
    border-radius: 22px;
    font-family: var(--font-primary);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1px;
    color: var(--color-white);
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.drawer-cta:hover {
    opacity: 0.85;
}

/* ========================================
   HERO
   ======================================== */

/* --- Hero entrance animations --- */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp {
    from { opacity: 0; transform: translateY(40px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes slideRight {
    from { opacity: 0; transform: translateX(-30px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes slideInFromRight {
    from { opacity: 0; transform: translateX(60px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes scaleIn {
    from { opacity: 0; transform: translateX(-50%) scaleX(0); }
    to { opacity: 1; transform: translateX(-50%) scaleX(1); }
}

@keyframes slowZoom {
    0% { transform: scale(1); }
    50% { transform: scale(1.08); }
    100% { transform: scale(1); }
}

.hero {
    position: relative;
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 32px;
}

/* Background with overlay */
.hero-bg {
    position: absolute;
    top: 0;
    left: 32px;
    right: 32px;
    bottom: 0;
    border-radius: 15px;
    overflow: hidden;
    animation: fadeIn 1s ease-out both;
}

.hero-bg-img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    animation: slowZoom 20s ease-in-out infinite;
}

.hero-bg-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(43, 43, 43, 0) 64%, rgb(43, 43, 43) 100%),
        linear-gradient(90deg, rgba(43, 43, 43, 0.6) 0%, rgba(43, 43, 43, 0.6) 100%);
}

/* Content layout - absolute positioning for precise Figma match */
.hero-content {
    position: relative;
    z-index: 2;
    height: 780px;
}

/* Title block - top left */
.hero-title {
    position: absolute;
    top: 70px;
    left: 84px;
    display: flex;
    flex-direction: column;
}

.hero-title-light {
    font-family: var(--font-heading);
    font-size: 96px;
    font-weight: 400;
    line-height: 1.05;
    color: var(--color-light);
    white-space: nowrap;
    animation: slideUp 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0.3s both;
}

.hero-title-light:nth-child(2) {
    padding-left: 80px;
    animation-delay: 0.5s;
}

.hero-title-accent {
    font-family: var(--font-heading);
    font-size: 75px;
    font-weight: 400;
    line-height: 1.1;
    color: var(--color-accent);
    white-space: nowrap;
    margin-top: 8px;
    animation: slideRight 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0.7s both;
}

/* CTA button - positioned below title */
.hero-btn {
    position: absolute;
    top: 420px;
    left: 84px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 28px;
    border: 1px solid var(--color-light);
    border-radius: 22px;
    font-family: var(--font-primary);
    font-size: 14px;
    font-weight: 400;
    line-height: 1.5;
    color: var(--color-light);
    text-decoration: none;
    white-space: nowrap;
    background: transparent;
    transition: background-color 0.2s ease, color 0.2s ease;
    animation: slideUp 0.7s cubic-bezier(0.22, 1, 0.36, 1) 1s both;
}

.hero-btn:hover {
    background: var(--color-light);
    color: var(--color-dark);
}

/* Description - positioned lower, bottom-left area */
.hero-desc {
    position: absolute;
    bottom: 77px;
    left: 84px;
    animation: slideUp 0.7s cubic-bezier(0.22, 1, 0.36, 1) 1.2s both;
    font-family: var(--font-primary);
    font-size: 16px;
    font-weight: 300;
    line-height: 25px;
    color: var(--color-light);
    max-width: 286px;
}

/* Hero house image - anchored to bottom right */
.hero-image {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 74%;
    animation: slideInFromRight 1s cubic-bezier(0.22, 1, 0.36, 1) 0.6s both;
}

.hero-house-img {
    display: block;
    width: 100%;
    height: auto;
    border-bottom-left-radius: 15px;
    border-bottom-right-radius: 15px;
}

/* Triangle at top of hero - notch under logo */
.hero-triangle-top {
    display: block;
    width: 140px;
    height: auto;
    animation: scaleIn 0.6s cubic-bezier(0.22, 1, 0.36, 1) 0.2s both;
    position: absolute;
    top: -1px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 5;
}

/* Triangle at bottom of hero */
.hero-triangle {
    display: block;
    width: 227px;
    height: auto;
    position: absolute;
    bottom: -1px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 5;
    animation: scaleIn 0.6s cubic-bezier(0.22, 1, 0.36, 1) 1.4s both;
}

/* ========================================
   FEATURES ICONS
   ======================================== */

.features {
    max-width: 1440px;
    margin: 0 auto;
    padding: 80px 80px 60px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 48px 32px;
}

.feature-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 16px;
    opacity: 0;
    transform: translateY(20px);
    animation: slideUp 0.6s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.feature-item:nth-child(1) { animation-delay: 0.1s; }
.feature-item:nth-child(2) { animation-delay: 0.2s; }
.feature-item:nth-child(3) { animation-delay: 0.3s; }
.feature-item:nth-child(4) { animation-delay: 0.4s; }
.feature-item:nth-child(5) { animation-delay: 0.5s; }
.feature-item:nth-child(6) { animation-delay: 0.6s; }
.feature-item:nth-child(7) { animation-delay: 0.7s; }
.feature-item:nth-child(8) { animation-delay: 0.8s; }

.feature-icon {
    width: 125px;
    height: 125px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

/* Alternating: 1st and 3rd in each row get bg */
.feature-item:nth-child(4n+1) .feature-icon,
.feature-item:nth-child(4n+3) .feature-icon {
    background: var(--color-bg);
}

.feature-icon svg {
    width: 72px;
    height: 72px;
}

.feature-item:hover .feature-icon {
    transform: scale(1.08);
}

.feature-label {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 400;
    color: var(--color-dark);
    line-height: 1.3;
}

/* ========================================
   WHY SECTION - DLACZEGO ZAKATEK BLIZ
   ======================================== */

.why-section {
    max-width: 1440px;
    margin: 0 auto;
    padding: 40px 80px 100px;
}

.why-subtitle {
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 400;
    color: var(--color-text-light);
    letter-spacing: 2px;
    margin-bottom: 24px;
}

.why-content {
    display: flex;
    gap: 60px;
    align-items: stretch;
}

.why-image {
    flex: 0 0 33%;
    border-radius: 15px;
    overflow: hidden;
}

.why-img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.why-right {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.why-titles {
    display: flex;
    flex-direction: column;
    font-family: var(--font-heading);
    font-size: 55px;
    font-weight: 400;
    line-height: 1.1;
    color: var(--color-dark);
    margin-bottom: 48px;
}

.why-list {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.why-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.why-item-icon {
    flex-shrink: 0;
    width: 84px;
    height: 84px;
    border-radius: 50%;
    border: 1px solid rgba(43, 43, 43, 0.2);
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
}

.why-item-icon svg {
    width: 44px;
    height: 44px;
}

.why-item-text strong {
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 500;
    color: var(--color-dark);
    display: block;
    margin-bottom: 4px;
}

.why-item-text p {
    font-family: var(--font-primary);
    font-size: 15px;
    font-weight: 300;
    line-height: 1.6;
    color: var(--color-text-light);
}

/* ========================================
   GALLERY SECTION
   ======================================== */

.gallery-section {
    max-width: 1440px;
    margin: 0 auto;
    padding: 60px 80px 100px;
}

.gallery-subtitle {
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 400;
    color: var(--color-text-light);
    letter-spacing: 2px;
    margin-bottom: 32px;
}

.gallery-title {
    font-family: var(--font-heading);
    font-size: 55px;
    font-weight: 400;
    line-height: 1.12;
    color: var(--color-dark);
    margin-bottom: 24px;
}

.gallery-body {
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

.gallery-left {
    flex: 0 0 284px;
    display: flex;
    flex-direction: column;
}

.gallery-desc {
    font-family: var(--font-primary);
    font-size: 16px;
    font-weight: 300;
    line-height: 1.6;
    color: var(--color-text-light);
    margin-bottom: 32px;
}

.gallery-btn {
    align-self: flex-start;
}

.gallery-right {
    flex: 1;
    min-width: 0;
}

.gallery-carousel {
    overflow: hidden;
}

.gallery-track {
    display: flex;
    gap: 20px;
    will-change: transform;
}

.gallery-slide {
    flex: 0 0 calc(50% - 10px);
    border-radius: 10px;
    overflow: hidden;
    height: 440px;
}

.gallery-slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gallery-nav {
    display: flex;
    gap: 25px;
    justify-content: flex-end;
    margin-top: 24px;
}

.gallery-nav-btn {
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    transition: opacity 0.2s ease;
}

.gallery-nav-btn:hover {
    opacity: 0.6;
}

/* ========================================
   FLOOR PLAN SECTION
   ======================================== */

.floorplan-section {
    max-width: 1440px;
    margin: 0 auto;
    padding: 80px 80px 100px;
    overflow-x: hidden;
}

.floorplan-subtitle {
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 400;
    color: var(--color-text-light);
    letter-spacing: 2px;
    text-align: center;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.floorplan-title {
    font-family: var(--font-heading);
    font-size: 55px;
    font-weight: 400;
    line-height: 1.12;
    color: var(--color-dark);
    text-align: center;
    text-transform: uppercase;
    margin-bottom: 60px;
}

.floorplan-content {
    display: grid;
    grid-template-columns: 200px 1fr 260px;
    gap: 0 24px;
    align-items: start;
}

.floorplan-rooms {
    display: flex;
    flex-direction: column;
    gap: 32px;
    padding-top: 20px;
}

.floorplan-floor-label {
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 500;
    color: var(--color-dark);
    letter-spacing: 1px;
    margin-bottom: 12px;
}

.floorplan-room-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.floorplan-room-list li {
    font-family: var(--font-primary);
    font-size: 14px;
    font-weight: 300;
    line-height: 1.4;
    color: var(--color-text-light);
    padding-left: 28px;
    position: relative;
}

.floorplan-room-list li::before {
    content: '';
    position: absolute;
    left: 2px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-left: 7px solid var(--color-dark);
    border-top: 5px solid transparent;
    border-bottom: 5px solid transparent;
}

.floorplan-image {
    position: relative;
    display: flex;
    justify-content: center;
}

.floorplan-image-inner {
    position: relative;
    width: 100%;
    padding-top: 20px;
    padding-bottom: 20px;
}

.floorplan-image-inner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(calc(-50% + 20px));
    width: 35%;
    height: 100%;
    background: #E1E0D9;
    border-radius: 15px;
    z-index: 0;
}

.floorplan-image-inner img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: contain;
    position: relative;
    z-index: 1;
}

.floorplan-info {
    padding-top: 20px;
}

.floorplan-desc {
    font-family: var(--font-primary);
    font-size: 18px;
    font-weight: 300;
    line-height: 25px;
    color: var(--color-text-light);
    margin-bottom: 24px;
}

.floorplan-area {
    font-family: var(--font-primary);
    font-size: 18px;
    font-weight: 300;
    line-height: 25px;
    color: var(--color-text-light);
    margin-bottom: 32px;
}

.floorplan-area strong {
    font-weight: 800;
}

.floorplan-btn {
    display: inline-flex;
}

/* ========================================
   LOCATION SECTION
   ======================================== */

.location-section {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 32px 100px;
}

.location-bg {
    background: var(--color-dark);
    border-radius: 15px;
    padding: 80px 110px 0;
    overflow: hidden;
}

.location-top {
    display: flex;
    gap: 60px;
    align-items: center;
    margin-bottom: 80px;
}

.location-top-left {
    flex: 0 0 40%;
}

.location-header {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-bottom: 24px;
}

.location-subtitle {
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 400;
    color: rgba(232, 231, 226, 0.7);
    letter-spacing: 2px;
}

.btn-outline-light {
    border-color: var(--color-light);
    color: var(--color-light);
}

.btn-outline-light:hover {
    background: var(--color-light);
    color: var(--color-dark);
}

.location-map {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
}

.location-map::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(102, 102, 102, 0.1) 30%, rgba(0, 0, 0, 0.7) 100%);
    pointer-events: none;
    border-radius: 10px;
}

.location-map img {
    display: block;
    width: 100%;
    height: 323px;
    object-fit: cover;
}

.location-address {
    display: flex;
    flex-direction: column;
    gap: 5px;
    margin-top: 16px;
}

.location-address-street {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 400;
    color: var(--color-light);
}

.location-address-city {
    font-family: var(--font-primary);
    font-size: 18px;
    font-weight: 300;
    line-height: 25px;
    color: rgba(232, 231, 226, 0.85);
}

.location-top-right {
    flex: 1;
}

.location-title {
    font-family: var(--font-heading);
    font-size: 55px;
    font-weight: 400;
    line-height: 1.12;
    color: var(--color-light);
    margin-bottom: 24px;
}

.location-desc {
    font-family: var(--font-primary);
    font-size: 16px;
    font-weight: 300;
    line-height: 25px;
    color: rgba(232, 231, 226, 0.85);
    max-width: 453px;
}

.location-bottom {
    display: flex;
    gap: 60px;
    align-items: stretch;
}

.location-stats {
    flex: 0 0 40%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px 40px;
    padding-bottom: 80px;
    align-content: start;
}

.location-stat-value {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin-bottom: 12px;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 64px;
    font-weight: 400;
    line-height: 1;
    color: var(--color-accent);
}

.stat-unit {
    font-family: var(--font-heading);
    font-size: 32px;
    font-weight: 400;
    color: rgba(232, 231, 226, 0.5);
}

.location-stat-desc {
    font-family: var(--font-primary);
    font-size: 14px;
    font-weight: 300;
    line-height: 25px;
    color: rgba(232, 231, 226, 0.85);
}

.location-image {
    flex: 1;
    border-radius: 10px 10px 0 0;
    overflow: hidden;
}

.location-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ========================================
   CONSTRUCTION PROGRESS SECTION
   ======================================== */

.progress-section {
    max-width: 1440px;
    margin: 0 auto;
    padding: 80px 80px 100px;
}

.progress-subtitle {
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 400;
    color: var(--color-text-light);
    letter-spacing: 2px;
    text-align: center;
    margin-bottom: 8px;
}

.progress-title {
    font-family: var(--font-heading);
    font-size: 55px;
    font-weight: 400;
    line-height: 1.12;
    color: var(--color-dark);
    text-align: center;
    margin-bottom: 48px;
}

.progress-content {
    display: flex;
    gap: 32px;
    margin-bottom: 40px;
}

.progress-columns {
    display: flex;
    gap: 32px;
    align-items: stretch;
}

.progress-left {
    flex: 0 0 40%;
    background: #E1E0D9;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.progress-image-tall {
    overflow: hidden;
    flex: 1;
}

.progress-image-tall img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
}

.progress-left-text {
    padding: 32px 40px 40px;
    margin-top: auto;
}

.progress-right {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.progress-image-wide {
    border-radius: 10px;
    overflow: hidden;
    height: 400px;
}

.progress-image-wide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.progress-right-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.progress-nav {
    display: flex;
    gap: 25px;
}

.progress-desc {
    font-family: var(--font-primary);
    font-size: 16px;
    font-weight: 300;
    line-height: 25px;
    color: var(--color-text-light);
    margin-bottom: 24px;
}

.progress-desc strong {
    font-weight: 600;
}

.progress-btn {
    display: inline-flex;
}

.progress-stage {
    display: flex;
    align-items: center;
    gap: 16px;
}

.progress-stage-label {
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 500;
    color: var(--color-dark);
    letter-spacing: 1px;
    white-space: nowrap;
}

.progress-stage-badge {
    display: inline-flex;
    align-items: center;
    padding: 8px 20px;
    background: rgba(113, 158, 62, 0.18);
    color: rgba(43, 111, 43, 0.85);
    border-radius: 20px;
    font-family: var(--font-primary);
    font-size: 14px;
    font-weight: 500;
    white-space: nowrap;
}

.progress-stage-desc {
    font-family: var(--font-primary);
    font-size: 16px;
    font-weight: 300;
    line-height: 25px;
    color: var(--color-text-light);
}

/* ========================================
   STANDARD SECTION
   ======================================== */

.standard-section {
    max-width: 1440px;
    margin: 0 auto;
    padding: 80px 80px 100px;
}

.standard-columns {
    display: flex;
    gap: 60px;
    align-items: flex-start;
}

.standard-left {
    flex: 0 0 280px;
    position: sticky;
    top: 120px;
}

.standard-subtitle {
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 400;
    color: var(--color-text-light);
    letter-spacing: 2px;
    margin-bottom: 8px;
}

.standard-title {
    font-family: var(--font-heading);
    font-size: 55px;
    font-weight: 400;
    line-height: 1.12;
    color: var(--color-dark);
    margin-bottom: 24px;
}

.standard-desc {
    font-family: var(--font-primary);
    font-size: 16px;
    font-weight: 300;
    line-height: 25px;
    color: var(--color-text-light);
}

.standard-right {
    flex: 1;
}

.standard-accordion {
    display: flex;
    flex-direction: column;
}

.accordion-item {
    border-bottom: 1px solid var(--color-dark);
}

.accordion-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 28px 0;
    background: none;
    border: none;
    cursor: pointer;
    gap: 24px;
}

.accordion-header-left {
    display: flex;
    align-items: baseline;
    gap: 20px;
}

.accordion-number {
    font-family: var(--font-primary);
    font-size: 14px;
    font-weight: 400;
    color: var(--color-text-light);
    flex-shrink: 0;
}

.accordion-title {
    font-family: var(--font-heading);
    font-size: 35px;
    font-weight: 400;
    line-height: 1.2;
    color: var(--color-dark);
    text-align: left;
    text-transform: uppercase;
}

.accordion-toggle {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1px solid var(--color-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-dark);
    transition: background 0.2s ease, color 0.2s ease;
}

.accordion-item.active .accordion-toggle {
    background: var(--color-dark);
    color: var(--color-white);
}

.accordion-icon-minus {
    display: none;
}

.accordion-icon-plus {
    display: block;
}

.accordion-item.active .accordion-icon-minus {
    display: block;
}

.accordion-item.active .accordion-icon-plus {
    display: none;
}

.accordion-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
    padding: 0 0 0 34px;
}

.accordion-item.active .accordion-body {
    max-height: 600px;
    padding: 0 0 28px 34px;
}

.accordion-body p {
    font-family: var(--font-primary);
    font-size: 16px;
    font-weight: 300;
    line-height: 25px;
    color: var(--color-text-light);
    text-align: justify;
}

.accordion-body p + p {
    margin-top: 16px;
}

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

/* Tablet large - hide LISTA MIESZKAN button */
@media (max-width: 1200px) {
    .header-inner {
        padding: 24px 32px 0;
    }

    .nav-menu {
        gap: 20px;
    }

    .nav-link {
        font-size: 13px;
    }

    .header-actions .btn-outline:first-child {
        display: none;
    }
}

/* ==============================
   APARTMENTS SECTION
   ============================== */

.apartments-section {
    padding: 80px 60px 100px;
    text-align: center;
}

.apartments-subtitle {
    font-family: var(--font-body);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--color-dark);
    margin: 0 0 16px;
}

.apartments-title {
    font-family: var(--font-heading);
    font-size: 55px;
    font-weight: 700;
    line-height: 1.05;
    text-transform: uppercase;
    color: var(--color-dark);
    margin: 0 0 60px;
}

.apartments-map {
    margin-bottom: 60px;
}

.apartments-map-placeholder {
    background: #f0efe9;
    border-radius: 10px;
    padding: 80px 40px;
    color: #999;
    font-size: 14px;
    border: 2px dashed #ccc;
}

.apartments-table-wrap {
    width: 100%;
}

.apartments-table-scroll {
    overflow: visible;
}

@media (max-width: 1199px) {
    .apartments-table-scroll {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
}

.apartments-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
    font-size: 14px;
    min-width: 1100px;
}

.apartments-table thead th {
    font-family: var(--font-body);
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--color-dark);
    padding: 16px 12px;
    border-bottom: 1px solid var(--color-dark);
    white-space: nowrap;
    position: relative;
}

.apartments-table tbody td {
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 400;
    color: var(--color-dark);
    padding: 14px 12px;
    white-space: nowrap;
}

.apartments-table tbody tr:nth-child(even) {
    background: #E1E0D9;
    border-radius: 6px;
}

.apartments-table tbody tr:nth-child(even) td:first-child {
    border-radius: 6px 0 0 6px;
}

.apartments-table tbody tr:nth-child(even) td:last-child {
    border-radius: 0 6px 6px 0;
}

.apartments-table tbody tr.row-sold td {
    opacity: 0.5;
}

.apartments-table tbody tr.row-sold .badge-sold {
    opacity: 1;
    display: inline-block;
    padding: 6px 16px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    background: var(--color-dark);
    color: var(--color-white);
    border-radius: 20px;
}

.btn-table {
    font-size: 11px;
    padding: 8px 20px;
    letter-spacing: 1px;
}

/* Tooltip on info icon */
.th-info {
    display: inline-flex;
    align-items: center;
    margin-left: 4px;
    cursor: pointer;
    color: var(--color-dark);
    opacity: 0.5;
    position: relative;
    vertical-align: middle;
}

.th-info:hover {
    opacity: 1;
}

.th-info::after {
    content: attr(data-tooltip);
    position: absolute;
    top: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%);
    background: #E8E7E2;
    color: var(--color-dark);
    font-size: 12px;
    font-weight: 400;
    text-transform: none;
    letter-spacing: 0;
    line-height: 1.5;
    padding: 12px 16px;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    white-space: normal;
    width: 220px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s, visibility 0.2s;
    z-index: 10;
    pointer-events: none;
}

.th-info:hover::after {
    opacity: 1;
    visibility: visible;
}

/* Tooltip active state (tap on desktop) */
.th-info.tooltip-active::after {
    opacity: 1 !important;
    visibility: visible !important;
}

/* On mobile, hide CSS ::after tooltip - JS floating tooltip is used instead */
@media (max-width: 1199px) {
    .th-info::after {
        display: none !important;
    }
}

/* History popover table - add padding so price isn't glued to edge */
.history-popover-table td,
.history-popover-table th {
    padding-right: 12px !important;
}

/* ==============================
   DEVELOPER SECTION
   ============================== */

.developer-section {
    padding: 80px 0 80px 0;
    overflow: hidden;
}

.developer-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    padding: 0 60px;
    margin-bottom: 48px;
}

.developer-header-left {
    max-width: 760px;
}

.developer-subtitle {
    font-family: var(--font-body);
    font-size: 20px;
    font-weight: 400;
    color: var(--color-dark);
    margin: 0 0 12px;
}

.developer-title {
    font-family: var(--font-heading);
    font-size: 55px;
    font-weight: 400;
    line-height: 1.12;
    text-transform: uppercase;
    color: var(--color-dark);
    margin: 0;
}

.developer-header-right {
    display: flex;
    align-items: center;
    gap: 24px;
    flex-shrink: 0;
}

.developer-nav {
    display: flex;
    gap: 12px;
}

.developer-gallery {
    display: flex;
    gap: 32px;
    align-items: stretch;
    margin-bottom: 60px;
}

.developer-image-main {
    flex: 0 0 62%;
    border-radius: 0 15px 15px 0;
    overflow: hidden;
    min-height: 500px;
}

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

.developer-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding-right: 60px;
    padding-top: 20px;
}

.developer-desc {
    font-family: var(--font-body);
    font-size: 18px;
    font-weight: 300;
    line-height: 1.5;
    color: rgba(43, 43, 43, 0.85);
    margin: 0 0 24px;
    max-width: 340px;
}

.developer-info .btn-outline {
    align-self: flex-start;
    margin-bottom: 32px;
}

.developer-image-small {
    border-radius: 15px;
    overflow: hidden;
    flex: 1;
    min-height: 200px;
}

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

.developer-stats {
    display: flex;
    gap: 40px;
    padding: 0 60px;
}

.developer-stat {
    flex: 1;
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.developer-stat-icon {
    flex-shrink: 0;
    width: 84px;
    height: 84px;
    border-radius: 50%;
    border: 1px solid var(--color-dark);
    display: flex;
    align-items: center;
    justify-content: center;
}

.developer-stat-icon svg {
    width: 40px;
    height: 40px;
}

.developer-stat-text h4 {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 400;
    color: var(--color-dark);
    margin: 8px 0 8px;
}

.developer-stat-text p {
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 300;
    line-height: 1.3;
    color: rgba(43, 43, 43, 0.85);
    margin: 0;
}

/* ==============================
   CONTACT CTA SECTION
   ============================== */

.contact-section {
    padding: 0 60px;
    position: relative;
}

.contact-3d {
    position: relative;
    z-index: 2;
    text-align: center;
    margin-bottom: -180px;
}

.contact-3d img {
    width: 560px;
    height: auto;
    display: inline-block;
}

.contact-bg {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    min-height: 540px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-bg-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.contact-overlay {
    position: absolute;
    inset: 0;
    background: rgba(43, 43, 43, 0.85);
    border-radius: 15px;
}

.contact-content {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 260px 60px 60px;
    width: 100%;
    box-sizing: border-box;
}

.contact-subtitle {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 400;
    color: #E8E7E2;
    margin: 0 0 16px;
}

.contact-title {
    font-family: var(--font-heading);
    font-size: 55px;
    font-weight: 400;
    line-height: 1.12;
    text-transform: uppercase;
    color: #E8E7E2;
    margin: 0 0 24px;
    max-width: 812px;
    margin-left: auto;
    margin-right: auto;
}

.contact-body {
    display: flex;
    gap: 60px;
    text-align: left;
    max-width: 960px;
    margin: 0 auto;
}

.contact-info {
    flex: 0 0 320px;
}

.contact-info-text {
    font-family: var(--font-body);
    font-size: 16px;
    font-weight: 300;
    line-height: 1.6;
    color: #E8E7E2;
    margin: 0 0 32px;
}

.contact-info-item {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    font-family: var(--font-body);
    font-size: 15px;
    font-weight: 300;
    color: #E8E7E2;
}

.contact-info-item a {
    color: #E8E7E2;
    text-decoration: none;
}

.contact-info-item a:hover {
    text-decoration: underline;
}

.contact-info-item svg {
    flex-shrink: 0;
    opacity: 0.7;
}

.contact-form {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.form-row {
    display: flex;
    gap: 16px;
}

.form-row input {
    flex: 1;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 14px 18px;
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 300;
    color: #E8E7E2;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(232, 231, 226, 0.25);
    border-radius: 8px;
    outline: none;
    transition: border-color 0.3s;
    box-sizing: border-box;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: rgba(232, 231, 226, 0.5);
}

.contact-form select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%23E8E7E2' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
    cursor: pointer;
}

.contact-form select option {
    background: var(--color-dark);
    color: #E8E7E2;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    border-color: rgba(232, 231, 226, 0.6);
}

.contact-form textarea {
    resize: vertical;
    min-height: 100px;
}

.form-consent {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-family: var(--font-body);
    font-size: 12px;
    font-weight: 300;
    color: rgba(232, 231, 226, 0.6);
    line-height: 1.5;
    cursor: pointer;
}

.form-consent input[type="checkbox"] {
    width: auto;
    flex-shrink: 0;
    margin-top: 2px;
    accent-color: #E8E7E2;
}

.contact-submit {
    align-self: flex-start;
    margin-top: 4px;
}

.contact-btn {
    color: #E8E7E2;
    border-color: #E8E7E2;
}

.contact-btn:hover {
    background: #E8E7E2;
    color: var(--color-dark);
}

/* ==============================
   CF7 FORM OVERRIDES (dark bg)
   ============================== */

.contact-form .wpcf7 {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.contact-form .wpcf7-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.contact-form .wpcf7-form > p {
    display: contents;
}

.contact-form .wpcf7-form > br {
    display: none;
}

.contact-form .wpcf7 .form-row {
    display: flex;
    gap: 16px;
}

.contact-form .wpcf7 .form-row .wpcf7-form-control-wrap {
    flex: 1;
}

.contact-form .wpcf7 input[type="text"],
.contact-form .wpcf7 input[type="email"],
.contact-form .wpcf7 input[type="tel"],
.contact-form .wpcf7 select,
.contact-form .wpcf7 textarea {
    width: 100%;
    padding: 14px 18px;
    font-family: var(--font-primary);
    font-size: 14px;
    font-weight: 300;
    color: #E8E7E2;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(232, 231, 226, 0.25);
    border-radius: 8px;
    outline: none;
    transition: border-color 0.3s;
    box-sizing: border-box;
}

.contact-form .wpcf7 input::placeholder,
.contact-form .wpcf7 textarea::placeholder {
    color: rgba(232, 231, 226, 0.5);
}

.contact-form .wpcf7 select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%23E8E7E2' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
    cursor: pointer;
}

.contact-form .wpcf7 select option {
    background: var(--color-dark);
    color: #E8E7E2;
}

.contact-form .wpcf7 input:focus,
.contact-form .wpcf7 select:focus,
.contact-form .wpcf7 textarea:focus {
    border-color: rgba(232, 231, 226, 0.6);
}

.contact-form .wpcf7 textarea {
    resize: vertical;
    min-height: 100px;
}

.contact-form .wpcf7 .consent-row {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 12px;
    font-weight: 300;
    color: rgba(232, 231, 226, 0.6);
    line-height: 1.5;
}

.contact-form .wpcf7 .consent-row .wpcf7-list-item {
    margin: 0;
}

.contact-form .wpcf7 .consent-row .wpcf7-list-item label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
}

.contact-form .wpcf7 .consent-row input[type="checkbox"] {
    width: auto;
    flex-shrink: 0;
    margin-top: 2px;
    accent-color: #E8E7E2;
}

.contact-form .wpcf7 input[type="submit"] {
    align-self: flex-start;
    width: auto;
    padding: 14px 36px;
    font-family: var(--font-primary);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #E8E7E2;
    background: transparent;
    border: 1px solid #E8E7E2;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s;
}

.contact-form .wpcf7 input[type="submit"]:hover {
    background: #E8E7E2;
    color: var(--color-dark);
}

.contact-form .wpcf7-response-output {
    color: #E8E7E2;
    border-color: rgba(232, 231, 226, 0.3) !important;
    font-size: 13px;
}

.contact-form .wpcf7-not-valid-tip {
    color: #ff8a8a;
    font-size: 12px;
}

.contact-form .wpcf7 input[type="submit"]:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.contact-form .consent-hint {
    color: #ff8a8a;
    font-size: 12px;
    margin-top: -4px;
    display: none;
}

.contact-form .consent-hint.visible {
    display: block;
}

/* ==============================
   FOOTER
   ============================== */

.footer {
    margin-top: 80px;
    padding-bottom: 40px;
}

.footer-main {
    margin: 0 60px;
}

.footer-cutout {
    position: relative;
    line-height: 0;
}

.footer-cutout svg {
    width: 100%;
    height: auto;
    display: block;
}

.footer-logo {
    position: absolute;
    top: 35%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 2;
}

.footer-bg {
    background: #E1E0D9;
    padding: 40px 80px 48px;
    margin-bottom: 0;
}

.footer-logo .logo-icon {
    width: 110px;
    display: block;
    margin: 0 auto 6px;
}

.footer-logo .logo-text-top {
    display: block;
    font-family: var(--font-body);
    font-size: 26px;
    font-weight: 300;
    letter-spacing: 7px;
    color: var(--color-dark);
    text-align: center;
}

.footer-logo .logo-text-bottom {
    display: block;
    font-family: var(--font-body);
    font-size: 12px;
    font-weight: 300;
    letter-spacing: 6.5px;
    color: var(--color-dark);
    text-align: center;
}

.footer-columns {
    display: flex;
    gap: 60px;
    margin-bottom: 48px;
}

.footer-col {
    flex: 1;
}

.footer-col-title {
    font-family: var(--font-body);
    font-size: 18px;
    font-weight: 300;
    color: var(--color-dark);
    text-transform: uppercase;
    margin: 0 0 20px;
}

.footer-col-text {
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 300;
    line-height: 1.8;
    color: rgba(43, 43, 43, 0.85);
    margin: 0 0 12px;
}

.footer-col-text strong {
    font-weight: 800;
}

.footer-col-text a {
    color: rgba(43, 43, 43, 0.85);
    text-decoration: none;
}

.footer-col-text a:hover {
    text-decoration: underline;
}

.footer-social {
    display: flex;
    gap: 12px;
    margin-top: 12px;
}

.footer-social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #2B2B2B;
    transition: opacity 0.3s;
}

.footer-social-link:hover {
    opacity: 0.7;
}

.footer-social-link svg {
    width: 18px;
    height: 18px;
}

.footer-nav {
    display: flex;
    flex-direction: column;
    gap: 15px;
    list-style: none;
    padding: 0;
}

.footer-nav li {
    list-style: none;
}

.footer-nav a {
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 300;
    color: rgba(43, 43, 43, 0.85);
    text-decoration: none;
}

.footer-nav a:hover {
    text-decoration: underline;
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 80px;
    background: #fff;
    border-radius: 0 0 15px 15px;
    font-family: var(--font-body);
    font-size: 12px;
    font-weight: 300;
    color: rgba(43, 43, 43, 0.5);
}

.footer-bottom-link {
    color: rgba(43, 43, 43, 0.5);
    text-decoration: underline;
}

.footer-bottom-link:hover {
    color: var(--color-dark);
}

.footer-copyright {
    color: rgba(43, 43, 43, 0.5);
}

.footer-credit {
    color: rgba(43, 43, 43, 0.5);
}

.footer-credit {
    display: flex;
    align-items: center;
    gap: 6px;
}

.footer-credit a {
    color: rgba(43, 43, 43, 0.5);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
}

.footer-credit a:hover {
    color: var(--color-dark);
}

.smart-logo {
    height: 18px;
    width: auto;
    vertical-align: middle;
}

/* Tablet / mobile - hamburger + drawer */
@media (max-width: 960px) {
    .header-inner {
        padding: 20px 24px 0;
    }

    .hamburger {
        display: flex;
        margin-left: auto;
    }

    .header-actions {
        display: none;
    }

    .nav-menu {
        display: none;
    }

    .logo-icon {
        width: 48px;
    }

    .logo-text-top {
        font-size: 14px;
        letter-spacing: 3px;
    }

    .logo-text-bottom {
        font-size: 8px;
        letter-spacing: 3.5px;
    }

    /* Hero responsive - tablet */
    .hero {
        padding: 0 20px;
    }

    .hero-bg {
        left: 20px;
        right: 20px;
    }

    .hero-content {
        height: 640px;
    }

    .hero-title {
        top: 50px;
        left: 40px;
    }

    /* Hero - switch to flex flow on tablet/mobile */
    .hero-content {
        position: relative;
        height: auto;
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 50px 40px 0;
    }

    .hero-title {
        position: static;
        align-items: center;
        margin-bottom: 16px;
    }

    .hero-title-light {
        font-size: clamp(42px, 8vw, 64px);
        white-space: normal;
    }

    .hero-title-light:nth-child(2) {
        padding-left: clamp(20px, 4vw, 50px);
    }

    .hero-title-accent {
        font-size: clamp(32px, 6vw, 50px);
        white-space: normal;
    }

    .hero-title-light:nth-child(2) {
        padding-left: 0;
    }

    .hero-btn {
        position: static;
        align-self: center;
        margin-bottom: 24px;
    }

    .hero-desc {
        position: static;
        max-width: 280px;
        margin-bottom: 24px;
    }

    .hero-image {
        position: static;
        width: 105%;
        margin-top: auto;
        align-self: flex-end;
        margin-right: -40px;
    }

    .hero-house-img {
        border-radius: 0;
        border-bottom-right-radius: 15px;
    }

    .hero-triangle,
    .hero-triangle-top {
        width: 120px;
    }

    .hero-bg-overlay {
        background:
            linear-gradient(180deg, rgba(43, 43, 43, 0.65) 0%, rgba(43, 43, 43, 0) 50%, rgb(43, 43, 43) 100%),
            linear-gradient(90deg, rgba(43, 43, 43, 0.5) 0%, rgba(43, 43, 43, 0.5) 100%);
    }

    /* Features - tablet/mobile */
    .features {
        padding: 60px 24px 40px;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 36px 24px;
    }

    .feature-label {
        font-size: 16px;
    }

    /* Checkerboard bg pattern for 2-column grid */
    .feature-item:nth-child(4n+1) .feature-icon,
    .feature-item:nth-child(4n+3) .feature-icon {
        background: transparent;
    }

    .feature-item:nth-child(1) .feature-icon,
    .feature-item:nth-child(4) .feature-icon,
    .feature-item:nth-child(5) .feature-icon,
    .feature-item:nth-child(8) .feature-icon {
        background: var(--color-bg);
    }

    /* Gallery - tablet/mobile */
    .gallery-section {
        padding: 40px 24px 60px;
    }

    .gallery-title {
        font-size: 38px;
    }

    .gallery-body {
        flex-direction: column;
        gap: 32px;
    }

    .gallery-left {
        flex: none;
    }

    .gallery-slide {
        height: 320px;
    }

    /* Floor plan - tablet/mobile */
    .floorplan-section {
        padding: 48px 24px 60px;
    }

    .floorplan-title {
        font-size: 38px;
        margin-bottom: 40px;
    }

    .floorplan-content {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .floorplan-rooms {
        flex: none;
        flex-direction: row;
        gap: 48px;
        padding-top: 0;
        order: 2;
    }

    .floorplan-image {
        order: 1;
        width: calc(100% + 48px);
        margin-left: -24px;
        margin-right: -24px;
        margin-bottom: 32px;
    }

    .floorplan-image-inner::before {
        transform: translateX(-50%);
    }

    .floorplan-image-inner img {
        max-width: 100%;
        margin: 0 auto;
    }

    .floorplan-info {
        flex: none;
        order: 3;
        text-align: center;
    }

    .floorplan-btn {
        margin: 0 auto;
    }

    /* Location - tablet/mobile */
    .location-section {
        padding: 0 16px 60px;
    }

    .location-bg {
        padding: 48px 24px 0;
    }

    .location-top {
        flex-direction: column;
        gap: 32px;
        margin-bottom: 48px;
    }

    .location-top-left {
        flex: none;
    }

    .location-title {
        font-size: 38px;
        text-align: center;
    }

    .location-desc {
        text-align: center;
    }

    .location-address {
        text-align: center;
    }

    .location-bottom {
        flex-direction: column;
    }

    .location-stats {
        flex: none;
        padding-bottom: 48px;
    }

    .location-image {
        margin: 0 -24px;
    }

    .location-image img {
        max-height: 400px;
    }

    /* Progress section - tablet/mobile */
    .progress-section {
        padding: 48px 24px 60px;
    }

    .progress-title {
        font-size: 38px;
        margin-bottom: 32px;
    }

    .progress-columns {
        flex-direction: column;
        gap: 24px;
    }

    .progress-left {
        flex: none;
    }

    .progress-image-wide {
        height: 300px;
    }

    .progress-stage {
        flex-wrap: wrap;
    }

    .progress-right-bar {
        flex-wrap: wrap;
        gap: 16px;
        justify-content: center;
    }

    .progress-left-text {
        text-align: center;
        margin-top: 0;
    }

    .progress-btn {
        margin: 0 auto;
    }

    .progress-stage-desc {
        text-align: center;
    }

    /* Standard section - tablet/mobile */
    .standard-section {
        padding: 48px 24px 60px;
    }

    .standard-columns {
        flex-direction: column;
        gap: 36px;
    }

    .standard-left {
        flex: none;
        position: static;
    }

    .standard-title {
        font-size: 38px;
    }

    .accordion-title {
        font-size: 24px;
    }

    .apartments-section {
        padding: 48px 24px 60px;
    }

    .apartments-title {
        font-size: 38px;
        margin-bottom: 40px;
    }

    .developer-section {
        padding: 48px 0 60px;
    }

    .developer-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 24px;
        padding: 0 24px;
    }

    .developer-title {
        font-size: 38px;
    }

    .developer-gallery {
        flex-direction: column;
        gap: 24px;
    }

    .developer-image-main {
        flex: none;
        min-height: 350px;
        border-radius: 0;
    }

    .developer-info {
        padding: 0 24px;
    }

    .developer-desc {
        max-width: 100%;
    }

    .developer-image-small {
        min-height: 240px;
    }

    .developer-stats {
        flex-direction: column;
        gap: 32px;
        padding: 0 24px;
    }

    .contact-section {
        padding: 0 24px;
    }

    .contact-3d img {
        width: 280px;
    }

    .contact-3d {
        margin-bottom: -60px;
    }

    .contact-bg {
        min-height: auto;
    }

    .contact-title {
        font-size: 38px;
    }

    .contact-content {
        padding: 100px 24px 48px;
    }

    .contact-body {
        flex-direction: column;
        gap: 32px;
    }

    .contact-info {
        flex: none;
        text-align: center;
    }

    .contact-info-item {
        justify-content: center;
    }

    .contact-submit {
        align-self: center;
    }

    .form-row {
        flex-direction: column;
    }

    .footer {
        margin-top: 60px;
    }

    .footer-main {
        margin: 0 24px;
    }

    .footer-logo {
        top: -10%;
    }

    .footer-logo .logo-icon {
        width: 40px;
    }

    .footer-logo .logo-text-top {
        font-size: 16px;
        letter-spacing: 4px;
    }

    .footer-logo .logo-text-bottom {
        font-size: 7px;
        letter-spacing: 3.5px;
    }

    .footer-bg {
        padding: 40px 32px 32px;
    }

    .footer-columns {
        flex-direction: column;
        gap: 32px;
        text-align: center;
    }

    .footer-nav {
        align-items: center;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }

    .contact-section {
        padding: 0 24px;
    }

    .contact-3d img {
        width: 380px;
    }

    .contact-3d {
        margin-bottom: -100px;
    }

    .contact-bg {
        min-height: 440px;
    }

    .contact-title {
        font-size: 38px;
    }

    .contact-content {
        padding: 140px 24px 48px;
    }

    /* Why section - tablet/mobile */
    .why-section {
        padding: 32px 24px 60px;
    }

    .why-content {
        flex-direction: column;
        gap: 36px;
    }

    .why-image {
        flex: none;
        max-height: 400px;
    }

    .why-titles {
        font-size: 38px;
        margin-bottom: 32px;
    }
}

@media (max-width: 480px) {
    .header-inner {
        padding: 16px 20px 0;
    }

    .logo-icon {
        width: 40px;
    }

    .logo-text-top {
        font-size: 12px;
        letter-spacing: 2.5px;
    }

    .logo-text-bottom {
        font-size: 7px;
        letter-spacing: 3px;
    }

    .drawer {
        width: 100%;
        max-width: 100vw;
    }

    .drawer-link-text {
        font-size: 18px;
    }

    /* Hero responsive - mobile */
    .hero {
        padding: 0 12px;
    }

    .hero-bg {
        left: 12px;
        right: 12px;
    }

    .hero-content {
        padding: 36px 20px 0;
    }

    .hero-title-light {
        font-size: 38px;
    }

    .hero-title-light:nth-child(2) {
        padding-left: 20px;
    }

    .hero-title-accent {
        font-size: 28px;
    }

    .hero-btn {
        font-size: 12px;
        padding: 6px 20px;
    }

    .hero-desc {
        font-size: 12px;
        line-height: 18px;
        max-width: 200px;
    }

    .hero-triangle,
    .hero-triangle-top {
        width: 100px;
    }

    .features {
        padding: 48px 16px 32px;
    }

    .features-grid {
        gap: 28px 16px;
    }

    .feature-icon {
        width: 64px;
        height: 64px;
    }

    .feature-icon svg {
        width: 36px;
        height: 36px;
    }

    .feature-label {
        font-size: 14px;
    }

    .gallery-section {
        padding: 32px 16px 48px;
    }

    .gallery-title {
        font-size: 30px;
    }

    .gallery-desc {
        font-size: 14px;
    }

    .gallery-slide {
        flex: 0 0 100%;
        height: 260px;
    }

    .floorplan-section {
        padding: 36px 16px 48px;
    }

    .floorplan-title {
        font-size: 28px;
        margin-bottom: 32px;
    }

    .floorplan-rooms {
        flex-direction: column;
        gap: 24px;
    }

    .floorplan-desc {
        font-size: 15px;
    }

    .floorplan-area {
        font-size: 15px;
    }

    .why-section {
        padding: 24px 16px 48px;
    }

    .why-titles {
        font-size: 30px;
        margin-bottom: 24px;
    }

    .why-item-text strong {
        font-size: 15px;
    }

    .why-item-text p {
        font-size: 13px;
    }

    .progress-section {
        padding: 36px 16px 48px;
    }

    .progress-title {
        font-size: 28px;
    }

    .progress-left-text {
        padding: 24px 20px 32px;
    }

    .progress-image-tall {
        min-height: 240px;
    }

    .progress-left-text {
        padding: 24px 20px 32px;
        margin-top: 0;
    }

    .standard-section {
        padding: 36px 16px 48px;
    }

    .standard-title {
        font-size: 30px;
    }

    .accordion-title {
        font-size: 20px;
    }

    .accordion-header {
        padding: 20px 0;
    }

    .apartments-section {
        padding: 36px 16px 48px;
    }

    .apartments-title {
        font-size: 30px;
        margin-bottom: 32px;
    }

    .developer-header {
        padding: 0 16px;
    }

    .developer-title {
        font-size: 30px;
    }

    .developer-info {
        padding: 0 16px;
    }

    .developer-stats {
        padding: 0 16px;
    }

    .developer-stat-icon {
        width: 64px;
        height: 64px;
    }

    .developer-stat-icon svg {
        width: 30px;
        height: 30px;
    }

    .contact-section {
        padding: 0 16px;
    }

    .contact-3d img {
        width: 220px;
    }

    .contact-3d {
        margin-bottom: -50px;
    }

    .contact-title {
        font-size: 28px;
    }

    .contact-desc {
        font-size: 15px;
    }

    .contact-bg {
        min-height: auto;
    }

    .contact-content {
        padding: 80px 16px 40px;
    }

    .contact-info-text {
        font-size: 14px;
    }

    .footer {
        margin-top: 48px;
    }

    .footer-main {
        margin: 0 16px;
    }

    .footer-logo .logo-icon {
        width: 32px;
    }

    .footer-logo .logo-text-top {
        font-size: 13px;
        letter-spacing: 3px;
    }

    .footer-logo .logo-text-bottom {
        font-size: 6px;
        letter-spacing: 2.5px;
    }

    .footer-bg {
        padding: 32px 20px 28px;
    }

    .footer-col-title {
        font-size: 16px;
    }

    .location-bg {
        padding: 36px 16px 0;
    }

    .location-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }

    .location-title {
        font-size: 30px;
    }

    .location-stats {
        gap: 32px 24px;
    }

    .stat-number {
        font-size: 48px;
    }

    .stat-unit {
        font-size: 24px;
    }

    .location-image {
        margin: 0 -16px;
    }
}

/* Floating phone button */
.floating-phone {
    display: none;
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 56px;
    height: 56px;
    background: var(--color-dark);
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
    z-index: 1000;
    text-decoration: none;
}

.floating-phone::before,
.floating-phone::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 2px solid var(--color-dark);
    transform: translate(-50%, -50%) scale(1);
    opacity: 0;
    animation: phone-ripple 3s ease-out infinite;
}

.floating-phone::after {
    animation-delay: 1s;
}

@keyframes phone-ripple {
    0% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.4;
    }
    100% {
        transform: translate(-50%, -50%) scale(1.6);
        opacity: 0;
    }
}

.floating-phone svg {
    display: block;
    position: relative;
    z-index: 1;
}

@media (max-width: 960px) {
    .floating-phone {
        display: flex;
    }
}

/* ==============================
   PAGE TEMPLATE (polityka prywatnosci etc.)
   ============================== */

.page-content {
    padding: 80px 40px 120px;
    max-width: 860px;
    margin: 0 auto;
}

.page-title {
    font-family: var(--font-heading);
    font-size: 36px;
    font-weight: 700;
    color: var(--color-dark);
    margin-bottom: 48px;
    line-height: 1.2;
}

.page-body {
    font-family: var(--font-primary);
    font-size: 15px;
    line-height: 1.8;
    color: var(--color-text-light);
}

.page-body h2 {
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 700;
    color: var(--color-dark);
    margin: 48px 0 16px;
}

.page-body h3 {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 700;
    color: var(--color-dark);
    margin: 32px 0 12px;
}

.page-body p {
    margin-bottom: 16px;
}

.page-body ul,
.page-body ol {
    margin: 0 0 16px 24px;
}

.page-body li {
    margin-bottom: 8px;
}

.page-body a {
    color: var(--color-dark);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.page-body a:hover {
    opacity: 0.7;
}

.page-body strong {
    color: var(--color-dark);
    font-weight: 600;
}

@media (max-width: 767px) {
    .page-content {
        padding: 40px 20px 80px;
    }

    .page-title {
        font-size: 28px;
        margin-bottom: 32px;
    }

    .page-body {
        font-size: 14px;
    }
}
