@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;0,800;1,400;1,500&family=Inter:wght@200;300;400;500;600;700&family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;0,700;1,400&display=swap');

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

:root {
    --black: #0A0A0A;
    --black-light: #111111;
    --black-card: #161616;
    --black-elevated: #1A1A1A;
    --gold: #C9A96E;
    --gold-bright: #D4AF37;
    --gold-light: rgba(201,169,110,0.12);
    --gold-glow: rgba(201,169,110,0.06);
    --cream: #F5F0E8;
    --cream-muted: #E8E0D4;
    --white: #FAFAF7;
    --text: #E8E4DD;
    --text-muted: #999590;
    --text-dim: #666360;
    --border: rgba(201,169,110,0.12);
    --border-subtle: rgba(255,255,255,0.06);
    --glass: rgba(22,22,22,0.75);
    --glass-light: rgba(255,255,255,0.03);
    --font-display: 'Playfair Display', Georgia, 'Times New Roman', serif;
    --font-body: 'Inter', 'Helvetica Neue', Arial, sans-serif;
    --font-accent: 'Cormorant Garamond', Georgia, serif;
    --max-width: 1200px;
    --section-padding: 140px 0;
    --transition: cubic-bezier(0.16, 1, 0.3, 1);
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    overflow-x: clip;
    scrollbar-width: thin;
    scrollbar-color: var(--gold) var(--black);
}

html::-webkit-scrollbar { width: 6px; }
html::-webkit-scrollbar-track { background: var(--black); }
html::-webkit-scrollbar-thumb { background: var(--gold); border-radius: 3px; }

body {
    font-family: var(--font-body);
    color: var(--text);
    background: var(--black);
    line-height: 1.7;
    font-weight: 300;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: clip;
    max-width: 100vw;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; transition: color 0.3s ease; }

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 48px;
}

h1, h2, h3, h4 {
    font-family: var(--font-display);
    font-weight: 500;
    line-height: 1.15;
    color: var(--cream);
}

.section-label {
    font-family: var(--font-body);
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 16px;
}

.section-label::before {
    content: '';
    width: 40px;
    height: 1px;
    background: var(--gold);
}

.section-heading {
    font-size: clamp(2.4rem, 5vw, 4rem);
    margin-bottom: 28px;
    max-width: 800px;
    letter-spacing: -0.02em;
}

.section-subtext {
    font-size: 1.05rem;
    color: var(--text-muted);
    max-width: 600px;
    line-height: 1.9;
    font-weight: 300;
}

/* ===== GRAIN OVERLAY ===== */
body::after {
    content: '';
    position: fixed;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.03'/%3E%3C/svg%3E");
    pointer-events: none;
    z-index: 9999;
    opacity: 0.4;
}

/* ===== ANIMATIONS ===== */
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(40px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

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

@keyframes goldShimmer {
    0% { background-position: -200% center; }
    100% { background-position: 200% center; }
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

@keyframes pulse-gold {
    0%, 100% { box-shadow: 0 0 0 0 rgba(201,169,110,0.2); }
    50% { box-shadow: 0 0 40px 10px rgba(201,169,110,0.1); }
}

@keyframes reveal {
    from { clip-path: inset(0 100% 0 0); }
    to { clip-path: inset(0 0 0 0); }
}

.anim {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.9s var(--transition), transform 0.9s var(--transition);
}
.anim.visible {
    opacity: 1;
    transform: translateY(0);
}
.anim-delay-1 { transition-delay: 0.1s; }
.anim-delay-2 { transition-delay: 0.2s; }
.anim-delay-3 { transition-delay: 0.3s; }
.anim-delay-4 { transition-delay: 0.4s; }

/* ===== NAVIGATION ===== */
.nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 10050;
    padding: 28px 0;
    transition: all 0.5s var(--transition);
}

.nav.scrolled {
    background: rgba(10,10,10,0.92);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    padding: 16px 0;
    border-bottom: 1px solid var(--border);
}

.nav-inner {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 16px;
}

.nav-logo {
    font-family: var(--font-display);
    font-size: 1.2rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--cream);
    font-weight: 500;
    flex-shrink: 0;
}

.nav-logo .gold { color: var(--gold); }

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
    font-size: 0.8rem;
    font-weight: 400;
    letter-spacing: 0.5px;
    margin-left: auto;
}

.nav-link {
    color: var(--text-muted);
    position: relative;
    padding: 4px 0;
    transition: color 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    left: 0; bottom: 0;
    width: 0;
    height: 1px;
    background: var(--gold);
    transition: width 0.4s var(--transition);
}

.nav-link:hover { color: var(--cream); }
.nav-link:hover::after { width: 100%; }

.nav-cta {
    padding: 10px 28px;
    border: 1px solid var(--gold);
    font-family: var(--font-body);
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--gold);
    background: transparent;
    cursor: pointer;
    transition: all 0.4s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.nav-cta:hover {
    background: var(--gold);
    color: var(--black);
}

.lang-switch {
    padding: 6px 14px;
    border: 1px solid rgba(255,255,255,0.15);
    background: transparent;
    color: var(--text-muted);
    font-family: var(--font-body);
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
}

.lang-switch:hover {
    border-color: var(--gold);
    color: var(--gold);
}

/* ===== HERO ===== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transition: transform 10s linear;
}

.hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(170deg,
        rgba(10,10,10,0.85) 0%,
        rgba(10,10,10,0.65) 40%,
        rgba(10,10,10,0.80) 100%);
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 300px;
    background: linear-gradient(to top, var(--black), transparent);
    pointer-events: none;
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    padding: 160px 0 140px;
    max-width: 800px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 40px;
    padding: 12px 0;
    border-bottom: 1px solid rgba(201,169,110,0.25);
    animation: fadeUp 1s var(--transition) 0.2s both;
}

.hero-badge .dot {
    width: 6px;
    height: 6px;
    background: var(--gold);
    border-radius: 50%;
    animation: pulse-gold 2s ease infinite;
}

.hero h1 {
    font-size: clamp(2rem, 4vw, 3.2rem);
    color: var(--cream);
    font-weight: 500;
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -0.01em;
    animation: fadeUp 1s var(--transition) 0.4s both;
}

.hero h1 em {
    font-style: italic;
    color: var(--gold);
}

.hero-sub {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 40px;
    max-width: 640px;
    font-weight: 300;
    animation: fadeUp 1s var(--transition) 0.6s both;
}

.hero-actions {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    animation: fadeUp 1s var(--transition) 0.8s both;
}

.hero-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 32px;
    margin-top: 48px;
    padding-top: 32px;
    border-top: 1px solid var(--border);
    animation: fadeUp 1s var(--transition) 1s both;
}

.hero-trust-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.75rem;
    color: var(--text-dim);
    font-weight: 400;
    letter-spacing: 0.5px;
}

.hero-trust-item i {
    color: var(--gold);
    font-size: 0.85rem;
}

/* ===== BUTTONS ===== */
.btn-gold {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    font-family: var(--font-body);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--black);
    background: linear-gradient(135deg, var(--gold), #D4B44E, var(--gold));
    padding: 18px 44px;
    border: none;
    cursor: pointer;
    transition: all 0.4s var(--transition);
    position: relative;
    overflow: hidden;
}

.btn-gold::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.25), transparent);
    background-size: 200% 100%;
    animation: goldShimmer 3s ease infinite;
}

.btn-gold span, .btn-gold i { position: relative; z-index: 1; }

.btn-gold:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(201,169,110,0.35);
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    font-family: var(--font-body);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--gold);
    background: transparent;
    border: 1px solid var(--gold);
    padding: 18px 44px;
    cursor: pointer;
    transition: all 0.4s var(--transition);
}

.btn-outline:hover {
    background: var(--gold);
    color: var(--black);
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(201,169,110,0.2);
}

/* ===== TRUST BAR ===== */
.trust-bar {
    background: var(--black-light);
    padding: 40px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.trust-items {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 48px;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--text-dim);
}

.trust-item i {
    color: var(--gold);
    font-size: 0.9rem;
}

/* ===== GLASS CARDS ===== */
.glass-card {
    background: var(--glass);
    backdrop-filter: blur(20px) saturate(150%);
    -webkit-backdrop-filter: blur(20px) saturate(150%);
    border: 1px solid var(--border);
    padding: 48px 40px;
    position: relative;
    transition: all 0.5s var(--transition);
}

.glass-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.glass-card:hover::before { opacity: 1; }

.glass-card:hover {
    border-color: rgba(201,169,110,0.25);
    transform: translateY(-6px);
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

/* ===== DARK CARDS ===== */
.dark-card {
    background: var(--black-card);
    border: 1px solid var(--border-subtle);
    padding: 44px 36px;
    position: relative;
    transition: all 0.5s var(--transition);
}

.dark-card:hover {
    border-color: var(--border);
    transform: translateY(-4px);
    box-shadow: 0 16px 48px rgba(0,0,0,0.4);
}

/* ===== STATS ===== */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
}

.stat-item {
    padding: 48px 36px;
    border-right: 1px solid var(--border);
    text-align: center;
}

.stat-item:last-child { border-right: none; }

.stat-value {
    font-family: var(--font-display);
    font-size: 3.5rem;
    font-weight: 500;
    color: var(--gold);
    line-height: 1;
    margin-bottom: 12px;
    letter-spacing: -0.02em;
}

.stat-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    line-height: 1.6;
    font-weight: 300;
}

/* ===== SECTION BACKGROUNDS ===== */
.section-dark { background: var(--black); }
.section-darker { background: var(--black-light); }
.section-card { background: var(--black-card); }
.section-gradient {
    background: linear-gradient(180deg, var(--black) 0%, var(--black-light) 100%);
}

/* ===== DIVIDERS ===== */
.gold-line {
    width: 48px;
    height: 1px;
    background: var(--gold);
    margin-bottom: 24px;
}

.section-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border), transparent);
}

/* ===== FORMS ===== */
.form-card {
    background: var(--black-card);
    border: 1px solid var(--border);
    padding: 52px 44px;
    position: relative;
}

.form-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.form-card h3 {
    font-size: 1.6rem;
    margin-bottom: 8px;
}

.form-subtitle {
    font-size: 0.85rem;
    color: var(--text-dim);
    margin-bottom: 32px;
}

.form-success {
    display: none;
    text-align: center;
    padding: 40px 20px;
}

.form-success i {
    font-size: 2.5rem;
    color: var(--gold);
    margin-bottom: 16px;
}

.form-success h4 {
    font-size: 1.3rem;
    margin-bottom: 8px;
}

.form-success p {
    font-size: 0.9rem;
    color: var(--text-muted);
}

form.is-submitted > .form-success {
    display: block !important;
}

form.is-submitted > *:not(.form-success) {
    display: none !important;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.form-group input {
    width: 100%;
    padding: 16px 18px;
    border: 1px solid var(--border);
    background: rgba(255,255,255,0.03);
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 300;
    color: var(--cream);
    transition: border-color 0.3s ease, background 0.3s ease;
    outline: none;
}

.form-group input::placeholder {
    color: var(--text-dim);
}

.form-group input:focus {
    border-color: var(--gold);
    background: rgba(201,169,110,0.04);
}

/* International phone field */
.phone-field {
    display: grid;
    grid-template-columns: minmax(132px, 158px) 1fr;
    gap: 10px;
    align-items: stretch;
}
.phone-dial-wrap {
    position: relative;
    display: flex;
    align-items: center;
    border: 1px solid var(--border);
    background: rgba(255,255,255,0.03);
    min-height: 54px;
    transition: border-color 0.3s ease, background 0.3s ease;
}
.phone-dial-wrap:focus-within {
    border-color: var(--gold);
    background: rgba(201,169,110,0.04);
}
.phone-flag {
    width: 20px;
    height: 15px;
    object-fit: cover;
    margin-left: 12px;
    flex-shrink: 0;
    border-radius: 2px;
    box-shadow: 0 0 0 1px rgba(255,255,255,0.08);
}
.phone-dial {
    flex: 1;
    min-width: 0;
    width: 100%;
    border: 0 !important;
    background: transparent !important;
    color: var(--cream);
    font-family: var(--font-body);
    font-size: 0.82rem;
    font-weight: 400;
    padding: 14px 28px 14px 8px;
    outline: none;
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath fill='%23C9A96E' d='M0 0l5 6 5-6z'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: right 10px center !important;
}
.phone-dial option {
    color: #111;
    background: #fff;
}
.phone-field .phone-local {
    width: 100%;
    min-width: 0;
}
@media (max-width: 520px) {
    .phone-field {
        grid-template-columns: 1fr;
    }
}

.form-submit { width: 100%; margin-top: 12px; }

.form-disclaimer {
    font-size: 0.7rem;
    color: var(--text-dim);
    margin-top: 18px;
    line-height: 1.7;
}

.form-disclaimer a {
    color: var(--gold);
    text-decoration: underline;
    text-underline-offset: 2px;
}

/* ===== PROPERTY CARDS ===== */
.properties-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.property-card {
    background: var(--black-card);
    border: 1px solid var(--border-subtle);
    transition: all 0.5s var(--transition);
    overflow: hidden;
}

.property-card:hover {
    border-color: var(--border);
    transform: translateY(-6px);
    box-shadow: 0 24px 60px rgba(0,0,0,0.4);
}

.property-image {
    position: relative;
    height: 280px;
    overflow: hidden;
}

.property-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s var(--transition);
}

.property-card:hover .property-image img {
    transform: scale(1.08);
}

.property-tag {
    position: absolute;
    top: 20px;
    left: 20px;
    background: rgba(10,10,10,0.85);
    backdrop-filter: blur(10px);
    color: var(--gold);
    font-size: 0.62rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 8px 16px;
    border: 1px solid var(--border);
    z-index: 2;
}

.property-image-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background: linear-gradient(145deg, var(--black-card) 0%, var(--black-light) 50%, rgba(201,169,110,0.08) 100%);
}

.property-image-placeholder i {
    font-size: 3rem;
    color: rgba(201,169,110,0.4);
}

.property-image-placeholder .property-placeholder-label {
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--text-dim);
}

.property-details {
    padding: 28px;
}

.property-details h3 {
    font-size: 1.15rem;
    margin-bottom: 14px;
    line-height: 1.4;
}

.property-location,
.property-area {
    font-size: 0.82rem;
    color: var(--text-muted);
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    font-weight: 300;
}

.property-location i,
.property-area i {
    color: var(--gold);
    width: 18px;
    margin-right: 8px;
    font-size: 0.75rem;
}

.property-price {
    font-family: var(--font-display);
    font-size: 1.6rem;
    font-weight: 500;
    color: var(--gold);
    margin: 18px 0 14px;
    letter-spacing: -0.02em;
}

.property-description {
    font-size: 0.82rem;
    color: var(--text-dim);
    line-height: 1.8;
    margin-bottom: 24px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-weight: 300;
}

/* Gallery */
.property-image-gallery .gallery-main {
    position: relative;
    height: 280px;
    overflow: hidden;
}

.property-image-gallery .gallery-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.45s ease;
}

.property-image-gallery .gallery-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border: none;
    background: rgba(10,10,10,0.75);
    backdrop-filter: blur(8px);
    color: var(--gold);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3;
    opacity: 0;
    transition: opacity 0.3s, background 0.3s;
    border: 1px solid var(--border);
}

.property-card:hover .gallery-arrow { opacity: 1; }

.property-image-gallery .gallery-prev { left: 12px; }
.property-image-gallery .gallery-next { right: 12px; }

.property-image-gallery .gallery-thumbs {
    display: flex;
    gap: 4px;
    padding: 8px 12px;
    background: var(--black-light);
    border-top: 1px solid var(--border-subtle);
}

.property-image-gallery .gallery-thumb {
    flex: 1;
    height: 48px;
    border: 1px solid transparent;
    overflow: hidden;
    cursor: pointer;
    padding: 0;
    background: none;
    transition: border-color 0.3s ease, opacity 0.3s ease;
    opacity: 0.5;
}

.property-image-gallery .gallery-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.property-image-gallery .gallery-thumb:hover { opacity: 0.8; }

.property-image-gallery .gallery-thumb.active {
    border-color: var(--gold);
    opacity: 1;
}

/* ===== INQUIRY MODAL ===== */
.inquiry-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(10,10,10,0.85);
    backdrop-filter: blur(8px);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
    z-index: 1100;
}

.inquiry-modal {
    background: var(--black-card);
    border: 1px solid var(--border);
    max-width: 520px;
    width: 100%;
    padding: 44px 36px;
    position: relative;
}

.inquiry-modal::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.inquiry-modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    border: none;
    background: transparent;
    color: var(--text-dim);
    cursor: pointer;
    font-size: 1rem;
    transition: color 0.3s ease;
}

.inquiry-modal-close:hover { color: var(--gold); }

.inquiry-heading {
    font-family: var(--font-display);
    font-size: 1.5rem;
    margin-bottom: 6px;
}

.inquiry-sub {
    font-size: 0.85rem;
    color: var(--text-dim);
    margin-bottom: 20px;
}

.inquiry-offer {
    background: rgba(201,169,110,0.06);
    border-left: 2px solid var(--gold);
    padding: 14px 18px;
    margin-bottom: 24px;
}

.inquiry-offer-label {
    display: block;
    font-size: 0.62rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--text-dim);
    margin-bottom: 4px;
}

.inquiry-offer-name {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--cream);
}

/* ===== TABLE ===== */
.data-table-wrap { overflow-x: auto; }

.data-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.88rem;
    background: var(--black-card);
    border: 1px solid var(--border);
}

.data-table thead {
    background: linear-gradient(135deg, rgba(201,169,110,0.15), rgba(201,169,110,0.05));
}

.data-table th {
    padding: 18px 22px;
    text-align: left;
    font-family: var(--font-body);
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--gold);
    border-bottom: 1px solid var(--border);
}

.data-table td {
    padding: 16px 22px;
    border-bottom: 1px solid var(--border-subtle);
    vertical-align: top;
    color: var(--text-muted);
    font-weight: 300;
}

.data-table tbody tr { transition: background 0.3s ease; }

.data-table tbody tr:hover {
    background: rgba(201,169,110,0.04);
}

.data-table .loc-name {
    font-weight: 600;
    color: var(--cream);
}

.data-table .roi-value {
    font-weight: 600;
    color: var(--gold);
    font-family: var(--font-display);
    font-size: 1rem;
}

/* ===== FOOTER ===== */
.footer {
    background: var(--black);
    border-top: 1px solid var(--border);
    padding: 80px 0 48px;
    color: var(--text-dim);
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 48px;
    padding-bottom: 48px;
    border-bottom: 1px solid var(--border-subtle);
}

.footer-brand {
    font-family: var(--font-display);
    font-size: 1.3rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--cream);
    font-weight: 500;
}

.footer-brand .gold { color: var(--gold); }

.footer-desc {
    font-size: 0.85rem;
    color: var(--text-muted);
    max-width: 360px;
    margin-top: 12px;
    line-height: 1.8;
    font-weight: 300;
}

.footer-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
}

.footer-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.65rem;
    font-weight: 500;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--text-dim);
}

.footer-badge i { color: var(--gold); font-size: 0.75rem; }

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    flex-wrap: wrap;
    gap: 24px;
    font-size: 0.78rem;
    color: var(--text-dim);
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    align-items: center;
    font-size: 0.78rem;
}

.footer-links a {
    color: var(--text-dim);
    transition: color 0.3s ease;
}

.footer-links a:hover { color: var(--gold); }

.footer-links .dot { color: var(--border); }
/* ===== COOKIE BANNER ===== */
.cookie-banner {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 24px;
    z-index: 10000;
    display: none;
    pointer-events: none;
}

.cookie-banner-inner {
    pointer-events: auto;
    margin: 0 auto;
    max-width: var(--max-width);
    padding: 18px 24px;
    background: rgba(10,10,10,0.92);
    backdrop-filter: blur(22px) saturate(180%);
    -webkit-backdrop-filter: blur(22px) saturate(180%);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    gap: 24px;
}

.cookie-text {
    font-size: 0.8rem;
    color: var(--text-muted);
    line-height: 1.7;
    flex: 1;
}

.cookie-title {
    font-family: var(--font-display);
    font-size: 0.9rem;
    color: var(--cream);
    margin-bottom: 4px;
}

.cookie-copy {
    font-weight: 300;
}

.cookie-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.cookie-link {
    font-size: 0.75rem;
    color: var(--gold);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.cookie-link:hover {
    color: var(--gold-bright);
}

.cookie-btn {
    padding: 10px 26px;
    border-radius: 0;
    border: 1px solid var(--gold);
    background: transparent;
    color: var(--gold);
    font-family: var(--font-body);
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s var(--transition);
}

.cookie-btn-primary {
    border: none;
    background: linear-gradient(135deg, var(--gold), #D4B44E, var(--gold));
    color: var(--black);
}

.cookie-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 32px rgba(201,169,110,0.3);
}

@media (max-width: 768px) {
    .cookie-banner-inner {
        margin: 0 16px;
        flex-direction: column;
        align-items: flex-start;
    }
    .cookie-actions {
        width: 100%;
        justify-content: space-between;
    }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .container { padding: 0 32px; }
    :root { --section-padding: 100px 0; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .stat-item:nth-child(2) { border-right: none; }
    .stat-item:nth-child(1), .stat-item:nth-child(2) { border-bottom: 1px solid var(--border); }
    .properties-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    :root { --section-padding: 64px 0; }
    .container { padding: 0 20px; }
    .hero-content { padding: 120px 0 80px; }
    .hero h1 { font-size: clamp(1.9rem, 7.5vw, 2.6rem); line-height: 1.2; }
    .stats-grid { grid-template-columns: 1fr 1fr; }
    .stat-value { font-size: 2.4rem; }
    .properties-grid { grid-template-columns: 1fr; }
    .footer-top { flex-direction: column; }
    .footer-bottom { flex-direction: column; align-items: flex-start; }
    .glass-card { padding: 32px 24px; }
    .form-card { padding: 36px 28px; }
    .btn-gold, .btn-outline { padding: 16px 32px; font-size: 0.68rem; min-height: 52px; }
    .hero-actions .btn-gold,
    .hero-actions .btn-outline { width: 100%; justify-content: center; }
    .hero-trust { gap: 20px; }
    .trust-items { gap: 24px; }
    .trust-bar-grid,
    .trust-bar-grid-5 { grid-template-columns: repeat(2, 1fr); }
    .comparison-table-wrap {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    .comparison-table-wrap table { min-width: 640px; }
}

@media (max-width: 520px) {
    .nav-inner { gap: 12px; }
    .nav-logo { font-size: 0.95rem; letter-spacing: 1.5px; }
    .section-heading { font-size: 2rem; }
    .hero h1 { font-size: clamp(1.6rem, 7vw, 1.85rem); }
    .hero-sub { font-size: 0.9rem; max-width: 100%; }
    .hero-actions { flex-direction: column; }
    .stats-grid { grid-template-columns: 1fr; }
    .stat-item { border-right: none; border-bottom: 1px solid var(--border); }
    .stat-item:last-child { border-bottom: none; }
}

body.modal-open { overflow: hidden; }

/* ===== MARKET / TRUST EXTENSIONS ===== */
.trust-bar-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 24px;
    text-align: center;
}

.trust-bar-grid-5 {
    grid-template-columns: repeat(5, 1fr);
}
.trust-bar-grid-3 {
    grid-template-columns: repeat(3, 1fr);
}

.trust-bar .trust-item i {
    color: var(--gold);
    font-size: 1.5rem;
}

.trust-bar .trust-item p {
    font-size: 0.8rem;
    margin-top: 8px;
    color: var(--text-muted);
    font-weight: 300;
    line-height: 1.4;
    text-transform: none;
    letter-spacing: 0;
}

/* ===== MARKET CARDS ===== */
.markets-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    margin-top: 64px;
}

.market-card {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.market-card-header h3 {
    font-family: var(--font-display);
    font-size: 1.6rem;
    font-weight: 400;
    color: var(--cream);
    margin-bottom: 8px;
}

.market-card-sub {
    font-size: 0.85rem;
    color: var(--text-dim);
    font-weight: 300;
    margin-bottom: 20px;
}

.market-card-image {
    overflow: hidden;
    border-radius: 2px;
}

.market-card-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.market-card-image.market-flag-wrap {
    height: 160px;
    padding: 18px 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border);
}

.market-card-image.market-flag-wrap img.market-flag {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    border-radius: 3px;
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.35);
}

.market-card-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin: 20px 0;
}

.market-stat {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.market-stat-label {
    font-size: 0.7rem;
    color: var(--text-dim);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.market-stat-value {
    font-family: var(--font-display);
    font-size: 1.2rem;
    color: var(--gold);
}

.market-card-desc {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.7;
    flex-grow: 1;
    margin-bottom: 20px;
    font-weight: 300;
}

/* ===== COMPARISON TABLE ===== */
.comparison-table-wrap {
    margin-top: 64px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    mask-image: linear-gradient(90deg, #000 85%, transparent);
    -webkit-mask-image: linear-gradient(90deg, #000 85%, transparent);
}

.data-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.85rem;
}

.data-table th,
.data-table td {
    padding: 14px 16px;
    text-align: left;
    border-bottom: 1px solid var(--border);
    vertical-align: top;
}

.data-table th {
    font-family: var(--font-body);
    font-size: 0.7rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--gold);
    font-weight: 600;
    white-space: nowrap;
}

.data-table td:first-child {
    color: var(--cream);
    font-weight: 500;
    white-space: nowrap;
}

.data-table td {
    color: var(--text-muted);
    font-weight: 300;
}

.data-table tbody tr:hover td {
    background: rgba(201, 169, 110, 0.04);
}

/* ===== NAV DROPDOWN ===== */
.nav-dropdown {
    position: relative;
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--black-card);
    border: 1px solid var(--border);
    padding: 12px 0;
    min-width: 200px;
    z-index: 100;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
}

.dropdown-menu a {
    display: block;
    padding: 10px 20px;
    color: var(--text);
    font-size: 0.85rem;
    transition: background 0.3s ease, color 0.3s ease;
    text-decoration: none;
    white-space: nowrap;
}

.dropdown-menu a:hover {
    background: var(--gold-light);
    color: var(--gold);
}

.form-group select {
    width: 100%;
    padding: 14px 16px;
    background: var(--black);
    border: 1px solid var(--border);
    color: var(--cream);
    font-family: var(--font-body);
    font-size: 0.9rem;
    outline: none;
    transition: border-color 0.3s ease;
    appearance: auto;
}

.form-group select:focus {
    border-color: var(--gold);
}

.form-group select[multiple] {
    min-height: 120px;
}

.country-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 40px 0 8px;
}

.country-filter-btn {
    padding: 10px 18px;
    border: 1px solid var(--border);
    background: transparent;
    color: var(--text-muted);
    font-family: var(--font-body);
    font-size: 0.72rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.25s ease;
}

.country-filter-btn:hover,
.country-filter-btn.active {
    border-color: var(--gold);
    color: var(--gold);
    background: rgba(201, 169, 110, 0.08);
}

@media (max-width: 1280px) {
    .markets-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 1024px) {
    .markets-grid { grid-template-columns: repeat(2, 1fr); }
    .trust-bar-grid { grid-template-columns: repeat(2, 1fr); }
    .market-stats-grid { grid-template-columns: repeat(2, 1fr) !important; }
}

@media (max-width: 768px) {
    .markets-grid { grid-template-columns: 1fr; }
    .trust-bar-grid { grid-template-columns: repeat(2, 1fr); }
    .market-stats-grid { grid-template-columns: 1fr !important; }
    .comparison-table-wrap { font-size: 0.75rem; overflow-x: auto; -webkit-overflow-scrolling: touch; }
    .data-table th,
    .data-table td { padding: 10px 12px; }
    .btn-gold,
    .btn-outline,
    .nav-cta,
    .country-filter-btn {
        min-height: 44px;
    }
    .form-group input,
    .form-group select,
    .form-group textarea {
        min-height: 48px;
        font-size: 16px; /* prevent iOS zoom */
    }
    .footer-links a {
        display: inline-block;
        min-height: 44px;
        line-height: 44px;
        padding: 0 4px;
    }
}

@media (max-width: 520px) {
    .trust-bar-grid { grid-template-columns: 1fr; }
    .hero-trust { flex-direction: column; align-items: flex-start; }
}


/* ===== Investment scenarios ===== */
.scenarios-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 48px;
}
.scenario-card {
    border: 1px solid var(--border);
    background: var(--black-card);
    padding: 32px 28px;
    transition: border-color 0.3s ease, transform 0.3s ease;
}
.scenario-card:hover {
    border-color: var(--gold);
    transform: translateY(-4px);
}
.scenario-header {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 16px;
}
.scenario-pessimistic .scenario-header { color: #E85D4A; }
.scenario-realistic .scenario-header { color: var(--gold); }
.scenario-optimistic .scenario-header { color: #4ADE80; }
.scenario-card h3 {
    font-family: var(--font-display);
    font-size: 1.25rem;
    color: var(--cream);
    margin-bottom: 12px;
    font-weight: 500;
}
.scenario-desc {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 20px;
}
.scenario-table {
    width: 100%;
    font-size: 0.85rem;
    border-collapse: collapse;
    margin-bottom: 20px;
}
.scenario-table td {
    padding: 8px 0;
    border-bottom: 1px solid var(--border-subtle);
    color: var(--text-muted);
}
.scenario-table td:last-child {
    text-align: right;
    font-weight: 600;
    color: var(--cream);
}
.scenario-why {
    font-size: 0.82rem;
    color: var(--text-dim);
    font-style: italic;
    line-height: 1.6;
}
.scenario-note {
    font-size: 0.82rem;
    color: var(--text-dim);
    max-width: 860px;
    margin-top: 40px;
    line-height: 1.8;
}
.scenario-cta {
    margin-top: 32px;
}
@media (max-width: 1024px) {
    .scenarios-grid { grid-template-columns: 1fr; }
}

/* ===== CUSTOM PROJECTS PAGE ===== */
.audience-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 48px;
}
.audience-card i {
    font-size: 1.4rem;
    color: var(--gold);
    margin-bottom: 18px;
}
.audience-card h3 {
    font-size: 1.15rem;
    margin-bottom: 12px;
}
.audience-card p {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.7;
}
.process-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 16px;
    margin-top: 48px;
}
.process-step {
    position: relative;
    padding: 28px 20px;
    background: var(--black-card);
    border: 1px solid var(--border-subtle);
    text-align: center;
}
.process-step .step-num {
    font-size: 0.65rem;
    letter-spacing: 2px;
    color: var(--gold);
    margin-bottom: 12px;
    display: block;
}
.process-step i {
    font-size: 1.35rem;
    color: var(--gold);
    margin-bottom: 14px;
}
.process-step h3 {
    font-size: 0.95rem;
    margin-bottom: 10px;
}
.process-step p {
    font-size: 0.78rem;
    color: var(--text-muted);
    line-height: 1.65;
    margin-bottom: 14px;
}
.process-step .step-time {
    font-size: 0.68rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--text-dim);
}
.projects-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 36px;
    margin-top: 48px;
}
.project-card {
    background: var(--black-card);
    border: 1px solid var(--border-subtle);
    overflow: hidden;
}
.project-card-image {
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
}
.project-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.project-card-tag {
    position: absolute;
    top: 16px;
    left: 16px;
    padding: 6px 12px;
    font-size: 0.62rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    background: rgba(0,0,0,0.65);
    border: 1px solid var(--gold);
    color: var(--cream);
}
.project-card-body {
    padding: 28px 28px 32px;
}
.project-card-body h3 {
    font-size: 1.35rem;
    margin-bottom: 10px;
}
.project-card-body .project-desc {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 20px;
}
.project-specs {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.82rem;
    margin-bottom: 24px;
}
.project-specs td {
    padding: 8px 0;
    border-bottom: 1px solid var(--border-subtle);
    color: var(--text-muted);
    vertical-align: top;
}
.project-specs td:first-child {
    width: 42%;
    color: var(--text-dim);
}
.project-specs td:last-child {
    color: var(--cream);
    font-weight: 500;
}
.cost-compare {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
    margin-top: 48px;
}
.cost-panel {
    background: var(--black-card);
    border: 1px solid var(--border-subtle);
    padding: 32px 28px;
}
.cost-panel h3 {
    font-size: 1.3rem;
    margin-bottom: 20px;
    color: var(--gold);
}
.cost-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.85rem;
}
.cost-table td {
    padding: 10px 0;
    border-bottom: 1px solid var(--border-subtle);
    color: var(--text-muted);
}
.cost-table td:last-child {
    text-align: right;
    color: var(--cream);
    font-weight: 500;
}
.cost-bars {
    display: grid;
    gap: 14px;
    margin-top: 28px;
}
.cost-bar-row {
    display: grid;
    grid-template-columns: 90px 1fr 110px;
    gap: 12px;
    align-items: center;
    font-size: 0.78rem;
    color: var(--text-muted);
}
.cost-bar-track {
    height: 10px;
    background: rgba(255,255,255,0.06);
    border: 1px solid var(--border-subtle);
}
.cost-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--gold-dark, #8a6a2f), var(--gold));
}
.why-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 48px;
}
.why-card i {
    font-size: 1.35rem;
    color: var(--gold);
    margin-bottom: 16px;
}
.why-card h3 {
    font-size: 1.1rem;
    margin-bottom: 12px;
}
.why-card p {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.7;
}
.hero-trust-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 18px;
    margin-top: 28px;
}
.hero-trust-row span {
    font-size: 0.72rem;
    color: var(--text-muted);
    letter-spacing: 0.5px;
}
.hero-trust-row i {
    color: var(--gold);
    margin-right: 6px;
}
@media (max-width: 1100px) {
    .audience-grid,
    .why-grid { grid-template-columns: repeat(2, 1fr); }
    .process-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 768px) {
    .audience-grid,
    .why-grid,
    .projects-grid,
    .cost-compare,
    .process-grid { grid-template-columns: 1fr; }
    .cost-bar-row { grid-template-columns: 70px 1fr 90px; }
}

/* ============================================
   LANGUAGE VISIBILITY — sterowane przez <html data-lang="">
   Domyślnie: PL widoczne, EN ukryte (przed inicjalizacją JS)
   ============================================ */

.lang-en { display: none; }

html[data-lang="pl"] .lang-en { display: none !important; }
html[data-lang="pl"] .lang-pl { display: revert !important; }

html[data-lang="en"] .lang-pl { display: none !important; }
html[data-lang="en"] .lang-en { display: revert !important; }

/* Fallback dla elementów, które potrzebują konkretnego display */
html[data-lang="en"] div.lang-en,
html[data-lang="en"] p.lang-en,
html[data-lang="en"] section.lang-en,
html[data-lang="en"] article.lang-en,
html[data-lang="en"] ul.lang-en { display: block !important; }

html[data-lang="en"] span.lang-en { display: inline !important; }
html[data-lang="en"] li.lang-en { display: list-item !important; }

html[data-lang="pl"] div.lang-pl,
html[data-lang="pl"] p.lang-pl,
html[data-lang="pl"] section.lang-pl,
html[data-lang="pl"] article.lang-pl,
html[data-lang="pl"] ul.lang-pl { display: block !important; }

html[data-lang="pl"] span.lang-pl { display: inline !important; }
html[data-lang="pl"] li.lang-pl { display: list-item !important; }

/* Inline trust badge pod hero-social-proof */
.hero-model-note {
  margin-top: 24px;
  font-size: 0.78rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  opacity: 0.85;
}
.hero-trust-inline {
  display: flex;
  gap: 28px;
  margin-top: 20px;
  flex-wrap: wrap;
  font-size: 0.8rem;
  color: var(--text-dim);
  letter-spacing: 0.5px;
}
.hero-trust-inline span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.hero-trust-inline i {
  color: var(--gold);
  font-size: 0.85rem;
}
.highlight-box {
  margin: 40px 0 0;
  padding: 24px 28px;
  border-left: 2px solid var(--gold);
  background: var(--gold-glow);
  font-size: 0.95rem;
  color: var(--cream-muted);
  line-height: 1.8;
}
@media (max-width: 768px) {
  .hero-model-note { font-size: 0.7rem; letter-spacing: 1.5px; }
  .hero-trust-inline { gap: 16px; font-size: 0.75rem; }
}

/* ===== FOUNDER ===== */
.founder-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 48px;
    margin-top: 64px;
    align-items: start;
}
@media (min-width: 900px) {
    .founder-layout {
        grid-template-columns: 0.85fr 1.15fr;
        gap: 64px;
    }
}

.founder-photo {
    position: relative;
    border: 1px solid var(--border);
    overflow: hidden;
    background: var(--black-card);
}
.founder-photo img {
    width: 100%;
    height: auto;
    display: block;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    object-position: center top;
    filter: saturate(0.95) contrast(1.02);
    transition: transform 0.8s ease;
}
.founder-photo:hover img {
    transform: scale(1.02);
}
.founder-photo-caption {
    position: absolute;
    left: 0; right: 0; bottom: 0;
    padding: 32px 28px 24px;
    background: linear-gradient(to top, rgba(10,10,10,0.95) 0%, rgba(10,10,10,0.65) 55%, transparent 100%);
    color: var(--cream);
}
.founder-photo-caption > span {
    display: block;
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 500;
    margin-bottom: 4px;
    line-height: 1.2;
}
.founder-photo-caption small {
    font-size: 0.68rem;
    letter-spacing: 1.8px;
    text-transform: uppercase;
    color: var(--gold);
    font-weight: 500;
}

.founder-text .about-highlight {
    margin-bottom: 28px;
}

.founder-letter {
    padding-left: 24px;
    border-left: 2px solid var(--gold);
    margin-bottom: 32px;
}
.founder-letter p {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.9;
    margin-bottom: 16px;
}
.founder-letter p:last-child { margin-bottom: 0; }
.founder-letter strong {
    color: var(--cream);
    font-weight: 500;
}

.founder-signature {
    padding-top: 28px;
    border-top: 1px solid var(--border-subtle);
}
.founder-signature-name {
    font-family: var(--font-accent);
    font-style: italic;
    font-size: 1.7rem;
    color: var(--gold);
    line-height: 1.1;
    margin-bottom: 8px;
}
.founder-signature-role {
    font-size: 0.72rem;
    letter-spacing: 1.8px;
    text-transform: uppercase;
    color: var(--text-dim);
    margin-bottom: 20px;
}
.founder-signature-contact {
    display: flex;
    flex-wrap: wrap;
    gap: 20px 28px;
    font-size: 0.85rem;
}
.founder-signature-contact a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--text-muted);
    transition: color 0.3s ease;
    text-decoration: none;
}
.founder-signature-contact a:hover {
    color: var(--gold);
}
.founder-signature-contact i {
    color: var(--gold);
    font-size: 0.9rem;
}

/* ===== LIST OD ZAŁOŻYCIELA ===== */
.letter-body p {
    font-size: 1rem;
    color: var(--text-muted);
    line-height: 1.9;
    margin-bottom: 20px;
}
.letter-body ul.letter-principles {
    list-style: none;
    padding: 0;
    margin: 24px 0 28px;
    border-left: 2px solid var(--gold);
    padding-left: 24px;
}
.letter-body ul.letter-principles li {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.85;
    margin-bottom: 18px;
    position: relative;
}
.letter-body ul.letter-principles li:last-child { margin-bottom: 0; }
.letter-body ul.letter-principles strong {
    color: var(--cream);
    font-weight: 500;
}
.letter-signature {
    margin-top: 40px;
    padding-top: 24px;
    border-top: 1px solid var(--border-subtle);
    font-size: 0.85rem;
    color: var(--text-dim);
}
.letter-signature-name {
    font-family: var(--font-accent);
    font-style: italic;
    font-size: 1.9rem;
    color: var(--gold);
    margin: 14px 0 8px;
    line-height: 1;
}
.letter-signature-role {
    font-size: 0.72rem;
    letter-spacing: 1.8px;
    text-transform: uppercase;
    color: var(--text-dim);
    margin-bottom: 20px;
}
.letter-signature-contact {
    display: flex;
    flex-wrap: wrap;
    gap: 16px 24px;
    font-size: 0.82rem;
}
.letter-signature-contact a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.3s ease;
}
.letter-signature-contact a:hover { color: var(--gold); }
.letter-signature-contact i { color: var(--gold); }

/* ===== NASZE ZASADY ===== */
.principles-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    margin-top: 64px;
}
@media (min-width: 768px) {
    .principles-grid { grid-template-columns: repeat(2, 1fr); gap: 28px; }
}
.principle-num {
    font-family: var(--font-display);
    font-size: 2.2rem;
    color: var(--gold);
    line-height: 1;
    margin-bottom: 20px;
    opacity: 0.5;
}
.principles-grid h3 {
    font-size: 1.05rem;
    line-height: 1.5;
    margin-bottom: 14px;
    color: var(--cream);
}
.principles-grid p {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.8;
    margin: 0;
}

/* ===== FOOTER IDENTITY ===== */
.footer-identity {
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid var(--border-subtle);
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}
@media (min-width: 768px) {
    .footer-identity { grid-template-columns: repeat(2, 1fr); gap: 14px 32px; }
}
@media (min-width: 1100px) {
    .footer-identity { grid-template-columns: repeat(4, 1fr); }
}
.footer-identity-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.75rem;
    color: var(--text-dim);
    line-height: 1.5;
}
.footer-identity-item i {
    color: var(--gold);
    font-size: 0.8rem;
    flex-shrink: 0;
}
.footer-identity-item a {
    color: var(--text-dim);
    text-decoration: none;
    transition: color 0.3s ease;
}
.footer-identity-item a:hover {
    color: var(--gold);
}

/* ===== FORM GREETING ===== */
.founder-greeting {
    text-align: center;
    font-size: 0.82rem;
    color: var(--gold);
    margin-bottom: 12px;
    letter-spacing: 0.5px;
}
.founder-greeting strong {
    color: var(--cream);
    font-weight: 500;
}

/* ===== MOBILE ===== */
@media (max-width: 768px) {
    .founder-layout { gap: 32px; margin-top: 48px; }
    .founder-photo img {
        aspect-ratio: 3 / 4;
        object-fit: cover;
        object-position: center top;
    }
    .founder-photo-caption { padding: 20px 20px 16px; }
    .founder-photo-caption > span { font-size: 1.1rem; }
    .founder-signature-name { font-size: 1.5rem; }
    .letter-signature-name { font-size: 1.6rem; }
    .principles-grid { margin-top: 48px; }
}



/* UX-AUDIT-2026-10-01 */
@media (max-width: 400px) {
    .hero-social-proof { grid-template-columns: 1fr; gap: 12px; }
    .hsp-item strong { font-size: 1.25rem; }
}
@media (max-width: 520px) {
    .stats-grid { grid-template-columns: 1fr; }
}


/* SPRINT-3-5-2026-10-01 */
.hero-cta-micro {
    margin: 14px 0 0;
    font-size: 0.8rem;
    color: var(--text-muted);
    letter-spacing: 0.02em;
}
.form-checkbox {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    margin: 16px 0 20px;
    font-size: 0.82rem;
    color: var(--text-muted);
    line-height: 1.5;
    cursor: pointer;
}
.form-checkbox input {
    margin-top: 3px;
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    accent-color: var(--gold);
}
.form-checkbox a { color: var(--gold); }
.form-or {
    display: flex;
    align-items: center;
    gap: 16px;
    margin: 18px 0;
    color: var(--text-muted);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}
.form-or::before, .form-or::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--border);
}
.form-calendly {
    width: 100%;
    justify-content: center;
    margin-bottom: 8px;
}
.footer-social {
    display: flex;
    gap: 16px;
    align-items: center;
}
.footer-social a {
    color: var(--text-muted);
    font-size: 1.25rem;
    transition: color 0.3s ease;
}
.footer-social a:hover { color: var(--gold); }

/* ============================================
   MOBILE NAV — hamburger + always-visible lang
   ============================================ */
.nav-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
    margin-left: 16px;
    z-index: 1003;
}
.nav-burger {
    display: none;
    width: 44px;
    height: 44px;
    min-width: 44px;
    min-height: 44px;
    padding: 0;
    border: 1px solid var(--gold);
    background: rgba(10,10,10,0.75);
    color: var(--gold);
    font-size: 1.15rem;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    z-index: 1004;
    -webkit-tap-highlight-color: transparent;
}
.nav-burger i {
    pointer-events: none;
}
.nav-backdrop {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.55);
    z-index: 1001;
    border: none;
    padding: 0;
    cursor: pointer;
}
.nav.nav-open .nav-backdrop {
    display: block;
}
body.nav-menu-open {
    overflow: hidden;
}

@media (max-width: 1024px) {
    .nav {
        padding: 14px 0;
    }
    .nav.scrolled {
        padding: 12px 0;
    }
    .nav-burger {
        display: inline-flex !important;
        visibility: visible !important;
        opacity: 1 !important;
    }
    .nav-links {
        margin-left: 0;
    }
    .nav-actions {
        margin-left: auto;
        position: relative;
        z-index: 1004;
    }
    .nav-actions .lang-switch {
        display: inline-flex !important;
        align-items: center;
        justify-content: center;
        min-width: 44px;
        min-height: 44px;
        padding: 0 12px;
        font-size: 0.72rem;
        color: var(--cream);
        border-color: rgba(201,169,110,0.45);
        visibility: visible !important;
        opacity: 1 !important;
    }
    .nav-links {
        position: fixed;
        top: 0;
        right: 0;
        bottom: 0;
        width: min(320px, 88vw);
        max-width: none;
        margin: 0;
        padding: 88px 28px 40px;
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 4px;
        background: rgba(12,12,12,0.98);
        border-left: 1px solid var(--border);
        overflow-x: hidden;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        white-space: normal;
        flex-wrap: nowrap;
        transform: translate3d(100%, 0, 0);
        transition: transform 0.35s var(--transition), visibility 0.35s;
        z-index: 1002;
        font-size: 1rem;
        visibility: hidden;
        pointer-events: none;
    }
    .nav.nav-open .nav-links {
        transform: translate3d(0, 0, 0);
        visibility: visible;
        pointer-events: auto;
    }
    .nav-links > .nav-link,
    .nav-links > .nav-dropdown > .nav-link {
        display: flex;
        align-items: center;
        min-height: 48px;
        padding: 12px 0;
        font-size: 1rem;
        color: var(--cream);
        border-bottom: 1px solid var(--border-subtle);
    }
    .nav-links > .nav-link::after,
    .nav-links > .nav-dropdown > .nav-link::after {
        display: none;
    }
    .nav-dropdown {
        width: 100%;
    }
    .nav-dropdown .dropdown-menu {
        position: static;
        display: block !important;
        border: none;
        background: transparent;
        box-shadow: none;
        padding: 0 0 8px 12px;
        min-width: 0;
    }
    .nav-dropdown .dropdown-menu a {
        white-space: normal;
        min-height: 44px;
        display: flex;
        align-items: center;
        padding: 10px 0;
        color: var(--text-muted);
        font-size: 0.95rem;
    }
    .nav-cta {
        display: inline-flex !important;
        width: 100%;
        justify-content: center;
        margin-top: 20px;
        min-height: 48px;
        padding: 14px 20px;
        font-size: 0.72rem;
    }
}

@media (min-width: 1025px) {
    .nav-burger,
    .nav-backdrop {
        display: none !important;
    }
}

@media (max-width: 768px) {
    .trust-bar-grid-3 { grid-template-columns: 1fr; gap: 20px; }
    .process-grid { padding: 0 4px; }
    .process-card { padding: 32px 20px; }
}
@media (max-width: 900px) {
    .trust-bar-grid-3 { grid-template-columns: 1fr; }
}

/* ============================================
   GLOBAL READABILITY — mobile + desktop
   ============================================ */
p, li, .section-subtext {
    font-size: 1rem;
    line-height: 1.8;
}

@media (max-width: 768px) {
    p, li {
        font-size: 0.95rem;
        line-height: 1.75;
    }
    .section-subtext {
        font-size: 0.92rem;
        line-height: 1.75;
    }
    h1 { line-height: 1.2; }
    h2 { line-height: 1.25; }
    h3 { line-height: 1.35; }
}

@media (max-width: 400px) {
    p, li { font-size: 0.92rem; }
    .section-subtext { font-size: 0.88rem; }
}

/* ============================================
   TOUCH TARGETS — min 44px (bez niszczenia nav)
   ============================================ */
@media (max-width: 768px) {
    .btn-gold, .btn-outline, .lead-link,
    .footer-links a,
    .letter-signature-contact a,
    .founder-signature-contact a {
        min-height: 44px;
    }
    .faq-question {
        min-height: 56px;
        padding: 20px 0;
    }
}

/* ============================================
   LONG WORDS — bez dzielenia sylab (PL)
   ============================================ */
p, li, h1, h2, h3, h4, a, span {
    hyphens: none !important;
    -webkit-hyphens: none !important;
    -ms-hyphens: none !important;
}
.nowrap {
    white-space: nowrap;
}
.hero-content {
    max-width: 100%;
    overflow-x: clip;
}
.hero h1,
.hero-sub,
.section-heading {
    max-width: 100%;
    overflow-wrap: normal;
    word-break: normal;
}
/* Długie maile / URL */
.letter-signature-contact a,
.founder-signature-contact a,
.footer-identity-item a,
a[href^="mailto:"] {
    overflow-wrap: anywhere;
    word-break: break-word;
}

/* ============================================
   FORMULARZE — czytelne inputy na mobile
   ============================================ */
@media (max-width: 768px) {
    input, select, textarea, button {
        font-size: 16px !important; /* zapobiega zoomowaniu iOS */
    }
    .form-group label {
        font-size: 0.9rem;
        line-height: 1.5;
        margin-bottom: 8px;
        display: block;
    }
}


/* i18n-safe: monolingual pages — do not hide content */
html[data-lang="en"] .lang-en,
html[data-lang="pl"] .lang-pl {
  display: revert !important;
}
