/* =============================================================================
   IMMOBILI.LARGOARGENTINA.COM - Light Editorial Theme
   Mobile-first: base = mobile, @media min-width per tablet/desktop
   ============================================================================= */

/* Tipografia editoriale: Fraunces (display), Source Serif 4 (body), JetBrains Mono (caption) */
@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,300..600;1,9..144,300..500&family=Source+Serif+4:ital,opsz,wght@0,8..60,300..600;1,8..60,300..500&family=JetBrains+Mono:wght@300;400;500&display=swap');

/* ---------- Variables — Light editorial palette (paper / sage / brass / ink) ---------- */
/* I nomi --black/--dark/--dark-surface sono volutamente preservati per non rompere le ~2400
   righe di CSS esistente: cambiamo solo i VALORI, semantica invertita (chiaro su scuro → scuro su chiaro). */
:root {
    /* Accent — brass scuro per contrasto deciso su paper crema chiaro.
       (Su hero con foto scura passiamo a brass-pale tramite override locale.) */
    --gold:       #8a6f0a;   /* oro antico scuro — leggibile su paper */
    --gold-light: #c9a567;   /* oro mezzo per hover / accent secondari */
    --gold-dark:  #5e4a10;   /* oro molto scuro per emphasis e gradient */

    /* Backgrounds — paper/cream (sostituiscono black/dark/dark-surface) */
    --black:        #f3ecd9;   /* paper — body background */
    --dark:         #ede5cb;   /* paper-deep — sezioni alternate */
    --dark-surface: #faf4e0;   /* cream — card surface */
    --dark-card:    rgba(29,22,16,0.03);
    --dark-border:  rgba(29,22,16,0.16);

    /* Glass — versione inchiostro tenue su crema */
    --glass:        rgba(29,22,16,0.04);
    --glass-border: rgba(29,22,16,0.14);
    --glass-hover:  rgba(29,22,16,0.07);

    /* Light variants (già esistenti, allineati) */
    --light-bg:      #f8f5ef;
    --light-surface: #f0ebe0;
    --light-card:    rgba(255,255,255,0.7);
    --light-border:  rgba(0,0,0,0.06);

    /* Text — inchiostro su crema (sostituiscono text-light/muted) */
    --text-light:      #1d1610;   /* ink — body text */
    --text-muted:      #6b6157;   /* ink-mute — secondary text */
    --text-dark:       #1a1a1a;
    --text-dark-muted: #666;

    /* Nuove variabili editoriali per accenti specifici */
    --ink:       #1d1610;
    --ink-mute:  #6b6157;
    --sage:      #475a3f;
    --sage-deep: #2f3f29;
    --sage-pale: #aabea1;
    --brass:     #b08c5a;
    --brass-pale:#d4b78a;
    --cream:     #faf4e0;
    --paper:     #f3ecd9;

    /* Tipografia editoriale (Fraunces + Source Serif 4 dal tour) */
    --font-display: 'Fraunces', 'Playfair Display', Georgia, serif;
    --font-body:    'Source Serif 4', 'Inter', -apple-system, Georgia, serif;
    --font-sans:    'Inter', -apple-system, sans-serif;
    --font-mono:    'JetBrains Mono', ui-monospace, monospace;

    --ease: cubic-bezier(0.4, 0, 0.2, 1);
    --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    --radius: 16px;
    --radius-sm: 10px;
    --radius-lg: 24px;
    --safe-bottom: env(safe-area-inset-bottom, 0px);
    --glow-gold: 0 0 40px rgba(176,140,90,0.18);
}

/* ---------- Reset & Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }

body {
    margin: 0;
    font-family: var(--font-body);
    color: var(--text-light);
    background: var(--black);
    -webkit-font-smoothing: antialiased;
    -webkit-tap-highlight-color: transparent;
    overflow-x: hidden;
}

img { max-width: 100%; height: auto; }
a { color: var(--gold); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--gold-light); }
::selection { background: var(--gold); color: var(--black); }
.text-gold { color: var(--gold) !important; }
.text-dark-muted { color: var(--text-dark-muted) !important; }

/* ---------- Hero Section ---------- */
.hero-section {
    position: relative;
    min-height: 100svh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--black);
    overflow: hidden;
    padding: 1rem;
}

/* Gradient mesh background */
.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 50% at 20% 40%, rgba(201,168,76,0.08) 0%, transparent 70%),
        radial-gradient(ellipse 60% 80% at 80% 60%, rgba(201,168,76,0.05) 0%, transparent 60%),
        radial-gradient(ellipse 50% 50% at 50% 100%, rgba(201,168,76,0.04) 0%, transparent 50%);
    pointer-events: none;
}

/* Subtle grid pattern */
.hero-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(201,168,76,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(201,168,76,0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    -webkit-mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, black 30%, transparent 70%);
    mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, black 30%, transparent 70%);
    pointer-events: none;
}

/* Floating accent ring */
.hero-section::after {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    border: 1px solid rgba(201,168,76,0.06);
    border-radius: 50%;
    bottom: -120px;
    left: -100px;
    pointer-events: none;
    animation: floatRing 25s ease-in-out infinite;
}

@keyframes floatRing {
    0%, 100% { transform: scale(1) rotate(0deg); }
    50% { transform: scale(1.15) rotate(15deg); }
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 1rem 0.5rem;
    max-width: 800px;
    width: 100%;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    border-radius: 50px;
    padding: 8px 18px;
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 2rem;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.2rem, 8vw, 4.5rem);
    font-weight: 700;
    line-height: 1.05;
    margin: 0 0 1rem;
    letter-spacing: -0.02em;
    /* Hero ha foto di sfondo scura: testo crema per leggibilità (override del body text scuro) */
    color: var(--cream);
    animation: fadeInUp 0.8s ease-out 0.3s both;
}

.title-line { display: block; }
.title-accent { color: var(--gold); }

.hero-subtitle {
    font-size: clamp(0.85rem, 2.5vw, 1.2rem);
    font-weight: 300;
    color: rgba(250,244,224,0.78);
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 2rem;
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

.hero-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease-out 0.5s both;
}

.hero-stat { text-align: center; }

.stat-value {
    display: block;
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 5vw, 2.8rem);
    font-weight: 700;
    color: var(--gold);
    line-height: 1;
}

.stat-label {
    font-size: 0.6rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: rgba(250,244,224,0.72);
    margin-top: 4px;
    display: block;
}

.hero-stat-divider {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, transparent, rgba(201,168,76,0.3), transparent);
}

.hero-cta {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    padding: 0 1rem;
    animation: fadeInUp 0.8s ease-out 0.6s both;
}

.hero-scroll-indicator {
    position: absolute;
    bottom: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: rgba(250,244,224,0.6);
    font-size: 0.55rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    animation: pulse 2.5s ease-in-out infinite;
}

.scroll-line {
    width: 1px;
    height: 35px;
    background: linear-gradient(to bottom, var(--gold), transparent);
}

/* ---------- Buttons ---------- */
.btn-luxury {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 30px;
    border: none;
    border-radius: 50px;
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all var(--transition);
    text-decoration: none;
    min-height: 48px;
    -webkit-appearance: none;
    position: relative;
    overflow: hidden;
}

.btn-luxury-primary {
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    color: var(--black);
    box-shadow: 0 4px 20px rgba(201,168,76,0.2);
}

.btn-luxury-primary:hover {
    color: var(--black);
    transform: translateY(-2px);
    box-shadow: 0 8px 35px rgba(201,168,76,0.35);
}

.btn-luxury-primary:active {
    transform: translateY(0) scale(0.98);
    box-shadow: 0 2px 10px rgba(201,168,76,0.2);
    transition-duration: 0.1s;
}

.btn-luxury-outline {
    background: var(--glass);
    border: 1px solid var(--glass-border);
    color: var(--text-light);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
}

.btn-luxury-outline:hover {
    background: var(--glass-hover);
    border-color: rgba(176,140,90,0.45);
    color: var(--gold);
}

/* Hero ha foto/overlay scuro: il bottone outline deve avere testo+bordi crema
   per leggibilità (sovrascrive il default inchiostro scuro del light theme) */
.hero-section .btn-luxury-outline,
.hero-photo-bg .btn-luxury-outline {
    background: rgba(250,244,224,0.08);
    border-color: rgba(250,244,224,0.28);
    color: var(--cream);
}
.hero-section .btn-luxury-outline:hover,
.hero-photo-bg .btn-luxury-outline:hover {
    background: rgba(250,244,224,0.18);
    border-color: rgba(212,183,138,0.55);
    color: var(--brass-pale);
}

/* Hero ha foto/overlay scuro: il default --gold (oro scuro per paper) sarebbe
   illeggibile qui. Override locale a brass-pale (oro chiaro luminoso) per
   badge, accent del titolo, stat-value e brand icon. */
.hero-section .hero-badge,
.hero-section .title-accent,
.hero-section .stat-value,
.hero-section .hero-stat-divider,
.hero-section .scroll-line {
    color: var(--brass-pale);
}
.hero-section .hero-badge { color: var(--brass-pale); }
.hero-section .title-accent { color: var(--brass-pale); }
.hero-section .stat-value { color: var(--brass-pale); }
.hero-section .hero-stat-divider {
    background: linear-gradient(to bottom, transparent, rgba(212,183,138,0.45), transparent);
}
.hero-section .scroll-line {
    background: linear-gradient(to bottom, var(--brass-pale), transparent);
}

.btn-luxury-sm {
    padding: 10px 22px;
    font-size: 0.7rem;
    min-height: 44px;
}

.btn-luxury-lg {
    padding: 16px 36px;
    font-size: 0.85rem;
}

/* ---------- Navbar ---------- */
.immo-navbar {
    position: fixed;
    top: -80px;
    left: 0;
    right: 0;
    z-index: 1000;
    /* Paper traslucido + blur per light theme */
    background: rgba(243,236,217,0.92);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--dark-border);
    box-shadow: 0 1px 0 rgba(255,250,235,0.5) inset, 0 8px 28px -20px rgba(29,22,16,0.25);
    padding: 10px 0;
    transition: top 0.4s ease;
}

.immo-navbar.visible { top: 0; }

.immo-navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.immo-brand {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-light);
    font-size: 0.85rem;
    text-decoration: none;
    white-space: nowrap;
}

.immo-brand:hover { color: var(--gold); }
.immo-brand i { color: var(--gold); font-size: 1.1rem; }

.immo-nav-links { display: none; }

/* ---------- Mobile Bottom Nav ---------- */
.mobile-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 999;
    background: rgba(6,6,6,0.9);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    border-top: 1px solid var(--dark-border);
    padding: 6px 0 calc(6px + var(--safe-bottom));
    display: flex;
    justify-content: space-around;
    align-items: center;
}

.mobile-bottom-nav a {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    color: var(--text-muted);
    font-size: 0.55rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-decoration: none;
    padding: 6px 12px;
    min-width: 60px;
    transition: color var(--transition);
}

.mobile-bottom-nav a i { font-size: 1.2rem; }
.mobile-bottom-nav a:hover,
.mobile-bottom-nav a.active { color: var(--gold); }

/* ---------- Sections ---------- */
.section-dark {
    background: var(--dark);
    padding: 3rem 0;
    position: relative;
}

.section-light {
    background: var(--light-bg);
    padding: 3rem 0;
    color: var(--text-dark);
    position: relative;
}

.section-gold {
    background: var(--light-surface);
    padding: 3rem 0;
    color: var(--text-dark);
    position: relative;
}

.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 2rem;
    padding: 0 1rem;
}

.section-tag {
    display: inline-block;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 0.75rem;
}

.tag-dark { color: var(--gold-dark); }
.tag-gold { color: var(--gold-dark); }

.section-title {
    font-family: var(--font-display);
    font-size: clamp(1.4rem, 5vw, 2rem);
    font-weight: 700;
    margin: 0 0 0.8rem;
    line-height: 1.15;
    letter-spacing: -0.01em;
}

.title-dark { color: var(--text-dark); }

.section-description {
    font-size: 0.9rem;
    line-height: 1.8;
    color: var(--text-muted);
    margin: 0;
}

.section-divider {
    width: 50px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    margin: 1rem auto 0;
}

/* ---------- Glass Cards (Feature) ---------- */
.feature-card {
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius);
    padding: 1.5rem;
    height: 100%;
    transition: all var(--transition);
    position: relative;
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
}

.feature-card:hover {
    background: var(--glass-hover);
    border-color: rgba(201,168,76,0.25);
    box-shadow: var(--glow-gold);
    transform: translateY(-2px);
}

.feature-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(201,168,76,0.12), rgba(201,168,76,0.04));
    border: 1px solid rgba(201,168,76,0.15);
    border-radius: var(--radius-sm);
    margin-bottom: 1rem;
    font-size: 1.1rem;
    color: var(--gold);
}

.feature-card h3 {
    font-family: var(--font-display);
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-light);
}

.feature-card p {
    font-size: 0.8rem;
    line-height: 1.6;
    color: var(--text-muted);
    margin: 0;
}

/* ---------- Position Section ---------- */
.position-highlights {
    margin-top: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.pos-item {
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
    padding: 1rem;
    background: var(--light-card);
    border: 1px solid var(--light-border);
    border-radius: var(--radius-sm);
    transition: all var(--transition);
}

.pos-item:hover {
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
}

.pos-item i {
    font-size: 1.2rem;
    color: var(--gold);
    margin-top: 2px;
    flex-shrink: 0;
}

.pos-item strong {
    display: block;
    font-size: 0.85rem;
    color: var(--text-dark);
    margin-bottom: 2px;
}

.pos-item span {
    font-size: 0.8rem;
    color: var(--text-dark-muted);
}

/* ---------- Map ---------- */
.map-container {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 12px 40px rgba(0,0,0,0.12);
    border: 1px solid var(--light-border);
}

.map-container iframe {
    width: 100%;
    height: 280px;
    border: 0;
}

/* ---------- Highlight Cards ---------- */
.highlight-card {
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius);
    padding: 1.5rem;
    height: 100%;
    transition: all var(--transition);
    position: relative;
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
}

.highlight-card:hover {
    background: var(--glass-hover);
    border-color: rgba(201,168,76,0.2);
    box-shadow: var(--glow-gold);
}

.highlight-number {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 700;
    /* Brass scuro semi-trasparente: decorativo ma leggibile su paper crema */
    color: rgba(138,111,67,0.55);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.highlight-card h3 {
    font-family: var(--font-display);
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--gold);
    margin-bottom: 0.6rem;
}

.highlight-card p {
    font-size: 0.82rem;
    line-height: 1.7;
    color: var(--text-muted);
    margin: 0;
}

/* ---------- Distribution Teaser ---------- */
.distribution-teaser {
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius);
    padding: 1.5rem;
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
}

.level-bars {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.level-bar {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4px;
}

.level-name {
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--text-muted);
}

.bar-track {
    height: 6px;
    background: rgba(29,22,16,0.06);
    border-radius: 3px;
    overflow: hidden;
}

.bar-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--gold-dark), var(--gold));
    border-radius: 3px;
    transition: width 1.5s var(--ease);
}

.level-area {
    font-family: var(--font-display);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--gold);
}

.locked-content {
    padding: 1.5rem;
    text-align: center;
}

.locked-content i {
    font-size: 2rem;
    color: var(--gold);
    margin-bottom: 0.8rem;
    display: block;
}

.locked-content p {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
}

/* ---------- Form Styles ---------- */
/* ---------- Access Benefits (left column) ---------- */
.access-benefits {
    position: relative;
}

.benefits-intro {
    font-size: 0.85rem;
    color: var(--text-dark-muted);
    margin-bottom: 1.25rem;
    font-weight: 500;
}

.benefit-item {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.benefit-item:last-of-type {
    border-bottom: none;
}

.benefit-icon {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 0.9rem;
}

.benefit-item strong {
    display: block;
    font-size: 0.82rem;
    color: var(--text-dark);
    font-weight: 600;
    margin-bottom: 1px;
}

.benefit-item span {
    font-size: 0.75rem;
    color: var(--text-dark-muted);
    line-height: 1.4;
}

.benefits-footer {
    margin-top: 1.25rem;
    padding: 0.75rem 1rem;
    background: rgba(201,168,76,0.08);
    border-radius: var(--radius-sm);
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--gold-dark);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.benefits-footer i {
    font-size: 1rem;
}

/* ---------- Access Form ---------- */
.access-form {
    position: relative;
    padding: 1.5rem;
    background: white;
    border-radius: var(--radius);
    box-shadow: 0 8px 40px rgba(0,0,0,0.06);
    border: 1px solid rgba(201,168,76,0.1);
    overflow: hidden;
}

.form-floating-luxury {
    position: relative;
    margin-bottom: 0;
}

.form-floating-luxury input,
.form-floating-luxury select,
.form-floating-luxury textarea {
    width: 100%;
    padding: 14px 14px 8px;
    background: var(--light-bg);
    border: 1.5px solid rgba(0,0,0,0.08);
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: 16px;
    color: var(--text-dark);
    transition: border-color var(--transition), box-shadow var(--transition);
    outline: none;
    -webkit-appearance: none;
    appearance: none;
}

.form-floating-luxury select {
    padding-top: 20px;
}

.form-floating-luxury textarea {
    min-height: 90px;
    resize: vertical;
}

.form-floating-luxury input:focus,
.form-floating-luxury select:focus,
.form-floating-luxury textarea:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(201,168,76,0.08);
    background: white;
}

.form-floating-luxury label {
    position: absolute;
    top: 50%;
    left: 14px;
    transform: translateY(-50%);
    font-size: 0.82rem;
    color: var(--text-dark-muted);
    pointer-events: none;
    transition: all var(--transition);
}

.form-floating-luxury textarea ~ label {
    top: 14px;
    transform: none;
}

.form-floating-luxury input:focus ~ label,
.form-floating-luxury input:not(:placeholder-shown) ~ label,
.form-floating-luxury select:focus ~ label,
.form-floating-luxury select:valid ~ label,
.form-floating-luxury textarea:focus ~ label,
.form-floating-luxury textarea:not(:placeholder-shown) ~ label,
.form-floating-luxury input:valid:required ~ label {
    top: 4px;
    transform: none;
    font-size: 0.6rem;
    font-weight: 600;
    color: var(--gold-dark);
    letter-spacing: 0.5px;
}

/* Select always shows text, so label always floats up */
.form-floating-luxury select ~ label {
    top: 4px;
    transform: none;
    font-size: 0.6rem;
    font-weight: 600;
    color: var(--gold-dark);
    letter-spacing: 0.5px;
}

.form-floating-luxury select option[value=""] { color: #999; }

/* Consent checkbox */
.consent-check {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
    padding: 0.8rem;
    background: var(--light-bg);
    border-radius: var(--radius-sm);
    border: 1px solid rgba(0,0,0,0.05);
    transition: border-color var(--transition);
}

.consent-check:hover { border-color: rgba(201,168,76,0.2); }

.consent-check input { display: none; }

.checkmark-luxury {
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    border: 2px solid #ccc;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition);
    margin-top: 1px;
}

.consent-check input:checked ~ .checkmark-luxury {
    background: var(--gold);
    border-color: var(--gold);
}

.consent-check input:checked ~ .checkmark-luxury::after {
    content: '\2713';
    color: white;
    font-size: 12px;
    font-weight: 700;
}

.consent-text {
    font-size: 0.78rem;
    color: var(--text-dark-muted);
    line-height: 1.5;
}

/* Form success */
.form-success {
    text-align: center;
    padding: 2rem 1rem;
    margin-top: 1.5rem;
}

.form-success i {
    font-size: 3rem;
    color: #4CAF50;
    margin-bottom: 0.8rem;
    display: block;
}

.form-success h3 {
    font-family: var(--font-display);
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.form-success p {
    color: var(--text-dark-muted);
    max-width: 500px;
    margin: 0 auto;
    font-size: 0.9rem;
}

/* ---------- Premium Access Section ---------- */
.section-gold-premium {
    background: linear-gradient(175deg, #f5f0e3 0%, var(--light-surface) 40%, #ece5d3 100%);
    position: relative;
}

.section-gold-premium::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 20% 0%, rgba(201,168,76,0.08) 0%, transparent 60%);
    pointer-events: none;
}

.access-benefits-card {
    background: white;
    border-radius: var(--radius);
    padding: 1.5rem;
    box-shadow: 0 4px 24px rgba(0,0,0,0.04);
    border: 1px solid rgba(201,168,76,0.12);
    border-top: 3px solid var(--gold);
}

.benefits-title {
    font-family: var(--font-display);
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text-dark);
    margin: 0 0 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid rgba(0,0,0,0.06);
}

.access-form-premium {
    border-top: 3px solid var(--gold);
    box-shadow: 0 12px 48px rgba(0,0,0,0.08);
}

.form-section-label {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--gold-dark);
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.form-section-label i {
    font-size: 0.8rem;
}

.form-trust-signal {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    margin-top: 0.75rem;
    font-size: 0.7rem;
    color: var(--text-dark-muted);
}

.form-trust-signal i {
    color: var(--gold-dark);
    font-size: 0.8rem;
}

/* Premium success state */
.form-success-premium .form-success-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 1rem;
    background: linear-gradient(135deg, rgba(76,175,80,0.1), rgba(76,175,80,0.05));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.form-success-premium .form-success-icon i {
    font-size: 2rem;
    margin: 0;
}

.success-next-steps {
    margin-top: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    max-width: 340px;
    margin-left: auto;
    margin-right: auto;
}

.next-step {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.82rem;
    color: var(--text-dark-muted);
}

.next-step i {
    color: var(--gold-dark);
    font-size: 1.1rem;
    flex-shrink: 0;
}

/* ---------- Key Facts Strip ---------- */
.key-facts-strip {
    background: var(--dark-surface);
    border-bottom: 1px solid var(--dark-border);
    padding: 0.8rem 0;
}

.key-facts-inner {
    display: flex;
    align-items: center;
    gap: 1rem;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 0 0.5rem;
}

.key-facts-inner::-webkit-scrollbar { display: none; }

.key-fact {
    display: flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
    font-size: 0.7rem;
    font-weight: 500;
    color: var(--text-muted);
    letter-spacing: 0.5px;
}

.key-fact i {
    color: var(--gold);
    font-size: 0.8rem;
}

.key-fact-divider {
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: rgba(201,168,76,0.3);
    flex-shrink: 0;
}

/* ---------- Walking Distances ---------- */
.walking-distances {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.wd-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.8rem;
    background: var(--light-card);
    border: 1px solid var(--light-border);
    border-radius: 50px;
    transition: all var(--transition);
}

.wd-item:hover {
    border-color: var(--gold);
    box-shadow: 0 2px 10px rgba(201,168,76,0.1);
}

.wd-time {
    font-family: var(--font-display);
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--gold-dark);
    line-height: 1;
}

.wd-place {
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--text-dark);
}

/* ---------- Navbar Active State ---------- */
.immo-nav-links a.active {
    color: var(--gold) !important;
}

/* ---------- Login Help ---------- */
.login-help {
    text-align: center;
    margin-top: 1.25rem;
    padding-top: 1rem;
    border-top: 1px solid var(--dark-border);
}

.login-help p {
    font-size: 0.78rem;
    color: var(--text-muted);
    margin: 0;
}

.login-help a {
    font-weight: 600;
}

/* ---------- Back to Top ---------- */
.back-to-top {
    position: fixed;
    bottom: calc(4.5rem + var(--safe-bottom));
    right: 1rem;
    z-index: 998;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid var(--glass-border);
    background: rgba(6,6,6,0.85);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    color: var(--gold);
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: translateY(10px);
    transition: all var(--transition);
    pointer-events: none;
}

.back-to-top.visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.back-to-top:hover {
    background: var(--gold);
    color: var(--black);
    border-color: var(--gold);
}

/* ---------- Section Edge Glow ---------- */
.section-dark + .section-light::before,
.section-light + .section-dark::before,
.section-dark + .section-gold::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 10%, rgba(201,168,76,0.2) 50%, transparent 90%);
}

/* ---------- Login Card ---------- */
.login-card {
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius);
    padding: 1.5rem;
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
}

.login-header {
    text-align: center;
    margin-bottom: 1.5rem;
}

.login-header i {
    font-size: 2rem;
    color: var(--gold);
    margin-bottom: 0.8rem;
    display: block;
}

.login-header h3 {
    font-family: var(--font-display);
    font-size: 1.2rem;
    margin-bottom: 0.3rem;
}

.login-header p {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin: 0;
}

.login-form .form-floating-luxury input {
    background: rgba(29,22,16,0.04);
    border-color: var(--glass-border);
    color: var(--text-light);
}

.login-form .form-floating-luxury input:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(201,168,76,0.08);
    background: rgba(29,22,16,0.06);
}

.login-form .form-floating-luxury label {
    color: var(--text-muted);
}

.login-error {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 1rem;
    padding: 12px 16px;
    background: rgba(220,53,69,0.08);
    border: 1px solid rgba(220,53,69,0.2);
    border-radius: var(--radius-sm);
    color: #ff6b6b;
    font-size: 0.85rem;
}

.login-error i { font-size: 1.1rem; flex-shrink: 0; }

/* ---------- Footer ---------- */
.immo-footer {
    background: var(--black);
    border-top: 1px solid var(--dark-border);
    padding: 2rem 0;
}

.has-bottom-nav .immo-footer {
    padding-bottom: calc(4.5rem + var(--safe-bottom));
}

.immo-footer .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.footer-brand {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: var(--gold);
    font-weight: 500;
    margin-bottom: 0.5rem;
    font-size: 0.85rem;
}

.footer-brand i { font-size: 1rem; }

.footer-disclaimer {
    font-size: 0.72rem;
    color: var(--text-muted);
    line-height: 1.6;
    max-width: 500px;
    text-align: center;
    margin: 0 auto;
}

.footer-contacts { text-align: center; margin-bottom: 0.3rem; }

.footer-contacts a {
    color: var(--gold);
    font-size: 0.8rem;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.footer-copy {
    font-size: 0.65rem;
    color: var(--text-muted);
    margin-top: 0.3rem;
    text-align: center;
}

/* ---------- Reserved Area ---------- */
.reserved-header {
    background: var(--dark);
    border-bottom: 1px solid var(--gold);
    padding: 0.8rem 0;
}

.reserved-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: rgba(76,175,80,0.08);
    border: 1px solid rgba(76,175,80,0.25);
    color: #4CAF50;
    padding: 4px 10px;
    border-radius: 50px;
    font-size: 0.62rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.reserved-content { padding: 1.5rem 0; }

.info-section {
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius);
    padding: 1.5rem;
    margin-bottom: 1rem;
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
}

.info-section h2 {
    font-family: var(--font-display);
    font-size: 1.1rem;
    color: var(--gold);
    margin-bottom: 1rem;
    padding-bottom: 0.6rem;
    border-bottom: 1px solid var(--dark-border);
    display: flex;
    align-items: center;
    gap: 8px;
}

.info-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.6rem;
}

.info-item {
    padding: 0.75rem;
    background: rgba(29,22,16,0.02);
    border-left: 2px solid var(--gold);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.info-item strong {
    display: block;
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--gold);
    margin-bottom: 3px;
}

.info-item span {
    font-size: 0.88rem;
    color: var(--text-light);
}

.floor-card {
    background: rgba(201,168,76,0.04);
    border: 1px solid rgba(201,168,76,0.12);
    border-radius: var(--radius);
    padding: 1.2rem;
    text-align: center;
}

.floor-card h4 {
    font-family: var(--font-display);
    font-size: 0.95rem;
    color: var(--gold);
    margin-bottom: 0.2rem;
}

.floor-card .floor-area {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-light);
}

.floor-card .floor-use {
    font-size: 0.78rem;
    color: var(--text-muted);
}

.confidential-notice {
    background: rgba(220,53,69,0.04);
    border: 1px solid rgba(220,53,69,0.15);
    border-radius: var(--radius-sm);
    padding: 1rem;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-top: 1.5rem;
}

.confidential-notice i {
    font-size: 1.2rem;
    color: #ff6b6b;
    flex-shrink: 0;
    margin-top: 2px;
}

.confidential-notice p {
    font-size: 0.78rem;
    color: var(--text-muted);
    margin: 0;
    line-height: 1.5;
}

/* ---------- Resource Cards (Reserved Area) ---------- */
.resource-card {
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius);
    padding: 1rem;
    margin-bottom: 0.6rem;
    transition: all var(--transition);
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
}

.resource-card:hover {
    background: var(--glass-hover);
    border-color: rgba(201,168,76,0.25);
}

.resource-card-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(201,168,76,0.12), rgba(201,168,76,0.04));
    border: 1px solid rgba(201,168,76,0.15);
    border-radius: var(--radius-sm);
    flex-shrink: 0;
    font-size: 1rem;
    color: var(--gold);
}

.resource-card-body { flex: 1; min-width: 0; }

.resource-card-title {
    font-family: var(--font-display);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-light);
    margin-bottom: 0.2rem;
}

.resource-card-type {
    font-size: 0.62rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--gold);
    margin-bottom: 0.3rem;
    font-weight: 600;
}

.resource-card-desc {
    font-size: 0.78rem;
    color: var(--text-muted);
    line-height: 1.5;
    margin: 0;
}

.resource-locked {
    opacity: 0.35;
    pointer-events: none;
}

.resource-locked .resource-card-icon {
    background: rgba(29,22,16,0.03);
    border-color: var(--dark-border);
    color: var(--text-muted);
}

.resource-lock-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.65rem;
    color: var(--text-muted);
    margin-top: 0.4rem;
}

.resource-new-badge {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    background: rgba(76,175,80,0.1);
    border: 1px solid rgba(76,175,80,0.25);
    color: #4CAF50;
    padding: 2px 8px;
    border-radius: 50px;
    font-size: 0.58rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 0.4rem;
}

/* ---------- Portal Homepage ---------- */
.hero-portal { min-height: 70svh; }

.hero-portal .hero-subtitle {
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

/* Hero with background photo */
.hero-section.hero-photo-bg {
    background-color: var(--black);
    background-image:
        linear-gradient(to bottom, rgba(10,10,10,0.78) 0%, rgba(10,10,10,0.62) 35%, rgba(10,10,10,0.92) 100%),
        url('../img/hero-largo-argentina.jpg');
    background-size: cover;
    background-position: center 35%;
    background-repeat: no-repeat;
}
.hero-section.hero-photo-bg .hero-overlay {
    background:
        radial-gradient(ellipse 80% 50% at 20% 40%, rgba(201,168,76,0.10) 0%, transparent 70%),
        radial-gradient(ellipse 60% 80% at 80% 60%, rgba(201,168,76,0.06) 0%, transparent 60%);
}

/* ---------- Property Cards ---------- */
.property-card {
    background: var(--dark-card);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
}

.property-card:hover {
    border-color: rgba(201,168,76,0.3);
    box-shadow: var(--glow-gold);
}

.property-card-visual {
    position: relative;
    height: 220px;
    background: linear-gradient(160deg, var(--dark) 0%, #e8dcb8 40%, var(--dark-surface) 100%);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.property-card-visual::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 25% 70%, rgba(201,168,76,0.1) 0%, transparent 50%),
        radial-gradient(circle at 75% 20%, rgba(201,168,76,0.06) 0%, transparent 40%);
}

.property-card-visual::after {
    content: '';
    position: absolute;
    width: 220px;
    height: 220px;
    border: 1px solid rgba(201,168,76,0.06);
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: floatRing 20s ease-in-out infinite;
}

/* Property card con foto reale: nasconde decorazioni placeholder e applica
   gradient leggibilità + altezza maggiore + crossfade hover immagine secondaria */
.property-card-has-photo .property-card-visual {
    height: 320px;
    background-size: cover;
    background-position: center;
}
.property-card-has-photo .property-card-visual::before {
    background: linear-gradient(180deg,
        rgba(29,22,16,0.05) 0%,
        rgba(29,22,16,0.15) 60%,
        rgba(29,22,16,0.55) 100%);
    z-index: 2;
}
.property-card-has-photo .property-card-visual::after {
    display: none;
}
.property-card-hover-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.9s ease;
    z-index: 1;
}
.property-card-has-photo:hover .property-card-hover-img {
    opacity: 1;
}

.property-card-visual i {
    position: relative;
    z-index: 1;
    font-size: 3rem;
    color: rgba(201,168,76,0.2);
}

.section-light .property-card {
    background: white;
    border-color: rgba(0,0,0,0.06);
    box-shadow: 0 4px 24px rgba(0,0,0,0.05);
}

.section-light .property-card:hover {
    border-color: var(--gold);
    box-shadow: 0 16px 50px rgba(0,0,0,0.1), 0 0 0 1px rgba(201,168,76,0.15);
    transform: translateY(-4px);
}

.section-light .property-card-visual {
    background: linear-gradient(160deg, #e5dcc8 0%, #f0e8d6 40%, #e2d9c5 100%);
    height: 220px;
}

.section-light .property-card-visual::before {
    background:
        radial-gradient(circle at 25% 70%, rgba(160,124,46,0.08) 0%, transparent 50%),
        radial-gradient(circle at 75% 20%, rgba(160,124,46,0.05) 0%, transparent 40%);
}

.section-light .property-card-visual::after {
    border-color: rgba(160,124,46,0.08);
}

.section-light .property-card-visual i {
    color: rgba(160,124,46,0.18);
}

.property-card-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    background: rgba(76,175,80,0.12);
    border: 1px solid rgba(76,175,80,0.3);
    color: #4CAF50;
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 0.6rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    z-index: 2;
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
}

.property-type-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    background: rgba(201,168,76,0.12);
    border: 1px solid rgba(201,168,76,0.25);
    color: var(--gold);
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 0.6rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    z-index: 2;
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
}

.property-card-body {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.property-card-title {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-light);
    margin-bottom: 0.4rem;
}

.section-light .property-card-title { color: var(--text-dark); }

.property-card-location {
    font-size: 0.78rem;
    color: var(--gold);
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
    gap: 4px;
}

.property-card-stats {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 0.8rem;
    padding-bottom: 0.8rem;
    border-bottom: 1px solid var(--dark-border);
}

.section-light .property-card-stats { border-bottom-color: rgba(0,0,0,0.06); }

.property-card-stats span {
    font-size: 0.72rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 4px;
    font-weight: 500;
}

.section-light .property-card-stats span { color: var(--text-dark-muted); }

.property-card-stats i {
    color: var(--gold);
    font-size: 0.85rem;
}

.property-card-desc {
    font-size: 0.82rem;
    line-height: 1.7;
    color: var(--text-muted);
    flex: 1;
    margin-bottom: 0.3rem;
}

.section-light .property-card-desc { color: var(--text-dark-muted); }

.property-card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin-top: 0.5rem;
}

.property-tag {
    background: rgba(160,124,46,0.12);
    border: 1px solid rgba(160,124,46,0.30);
    color: var(--gold-dark);
    padding: 5px 12px;
    border-radius: 50px;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.3px;
}

.section-light .property-tag {
    background: rgba(160,124,46,0.12);
    border-color: rgba(160,124,46,0.30);
    color: var(--gold-dark);
}

/* ---------- Process Steps ---------- */
.process-steps {
    display: flex;
    flex-direction: column;
    gap: 0;
    position: relative;
    padding: 0.5rem 0;
}

.process-step {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    position: relative;
    padding-bottom: 1.5rem;
}

.process-step:last-child { padding-bottom: 0; }

.process-step-number {
    width: 42px;
    height: 42px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    color: var(--black);
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1rem;
    border-radius: 50%;
    position: relative;
    z-index: 1;
    box-shadow: 0 4px 15px rgba(201,168,76,0.25);
}

.process-step:not(:last-child)::before {
    content: '';
    position: absolute;
    left: 20px;
    top: 42px;
    bottom: 0;
    width: 1px;
    background: linear-gradient(to bottom, rgba(201,168,76,0.3), rgba(201,168,76,0.05));
}

.process-step-content h4 {
    font-family: var(--font-display);
    font-size: 1rem;
    color: var(--text-light);
    margin: 0.2rem 0 0.3rem;
    line-height: 1.3;
}

.process-step-content p {
    font-size: 0.82rem;
    color: var(--text-muted);
    margin: 0;
    line-height: 1.6;
}

/* ---------- Empty State ---------- */
.empty-resources {
    text-align: center;
    padding: 2rem 1rem;
    color: var(--text-muted);
}

.empty-resources i {
    font-size: 2.5rem;
    display: block;
    margin-bottom: 0.8rem;
    opacity: 0.3;
}

.empty-resources p { font-size: 0.9rem; margin: 0; }

/* ---------- Admin Styles ---------- */
/* ---------- Admin Panel ---------- */
.admin-container {
    max-width: 100%;
    margin: 0 auto;
    padding: 1rem;
}

.admin-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.5rem;
    padding: 1.1rem 1.4rem;
    background: #ffffff;
    border: 1px solid #d8cfb6;
    border-radius: 0.75rem;
    box-shadow: 0 1px 0 rgba(255,255,255,0.6) inset, 0 6px 18px -12px rgba(29,22,16,0.22);
    gap: 0.5rem;
}

.admin-header h1 {
    font-family: var(--font-display);
    font-size: 1.35rem;
    color: #1d1610;
    margin: 0;
    letter-spacing: -0.01em;
    font-weight: 600;
}

.admin-header h1 i {
    color: #8a6f0a;
}

.admin-header p {
    font-size: 0.78rem;
    color: #5a4e3e;
    margin: 0.2rem 0 0;
}

.admin-tabs {
    display: flex;
    gap: 0.25rem;
    margin-bottom: 1.25rem;
    overflow-x: auto;
    background: #ffffff;
    border-radius: 0.6rem;
    padding: 0.3rem;
    border: 1px solid #d8cfb6;
    box-shadow: 0 1px 0 rgba(255,255,255,0.6) inset, 0 4px 12px -10px rgba(29,22,16,0.18);
}

.admin-tab {
    padding: 10px 18px;
    background: transparent;
    border: none;
    color: #5a4e3e;
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    border-radius: 0.4rem;
    transition: all var(--transition);
    min-height: 42px;
    display: flex;
    align-items: center;
    gap: 7px;
}

.admin-tab:hover {
    background: #f5efdb;
    color: #1d1610;
}

.admin-tab.active {
    background: #1d1610;
    color: #faf4e0;
    font-weight: 600;
}
.admin-tab.active i { color: #c9a567; }

.admin-tab .badge {
    background: rgba(184,134,11,0.18);
    color: #8a6f0a;
    border-radius: 50px;
    padding: 2px 8px;
    font-size: 0.68rem;
    min-width: 1.3rem;
    flex-shrink: 0;
    text-align: center;
    line-height: 1.3;
    font-weight: 700;
}

.admin-tab.active .badge {
    background: rgba(184,134,11,0.28);
}

.request-card {
    background: #ffffff;
    border: 1px solid #d8cfb6;
    border-radius: 0.75rem;
    padding: 1.1rem 1.4rem;
    margin-bottom: 0.65rem;
    transition: all 0.25s var(--ease);
    box-shadow: 0 1px 0 rgba(255,255,255,0.6) inset, 0 6px 18px -14px rgba(29,22,16,0.22);
    color: #1d1610;
}

.request-card:hover {
    border-color: #8a6f0a;
    box-shadow: 0 1px 0 rgba(255,255,255,0.6) inset, 0 8px 22px -14px rgba(138,111,10,0.35);
}

.request-card .req-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 0.75rem;
    gap: 10px;
}

.request-card .req-name {
    font-family: var(--font-display);
    font-size: 1.05rem;
    font-weight: 700;
    color: #1d1610;
    line-height: 1.3;
}

.request-card .req-company {
    font-size: 0.82rem;
    color: #5e4a10;
    font-weight: 500;
    margin-top: 2px;
}

.status-badge {
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 0.62rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    white-space: nowrap;
    flex-shrink: 0;
}

.status-pending  { background: rgba(184,134,11,0.14); color: #8a6f0a; border: 1px solid rgba(184,134,11,0.32); }
.status-approved { background: rgba(46,125,50,0.12);  color: #2e7d32; border: 1px solid rgba(46,125,50,0.28); }
.status-rejected { background: rgba(198,40,40,0.10);  color: #c62828; border: 1px solid rgba(198,40,40,0.28); }

.req-details {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
    font-size: 0.85rem;
    color: #2c2418;
}

.req-details span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.req-details i { color: #8a6f0a; font-size: 0.85rem; flex-shrink: 0; }

.req-note {
    margin-top: 0.9rem;
    padding: 0.75rem 0.9rem;
    background: #faf4e0;
    border-radius: 0.5rem;
    border-left: 3px solid #8a6f0a;
}

.req-note textarea {
    width: 100%;
    background: transparent;
    border: none;
    color: #1d1610;
    font-family: var(--font-body);
    font-size: 0.85rem;
    resize: vertical;
    min-height: 36px;
    outline: none;
    line-height: 1.55;
}

.req-note textarea::placeholder { color: #8c8377; opacity: 1; }

.req-actions {
    display: flex;
    gap: 0.5rem;
    margin-top: 0.8rem;
    padding-top: 0.8rem;
    border-top: 1px solid rgba(29,22,16,0.05);
    flex-wrap: wrap;
    align-items: center;
}

.btn-approve,
.btn-reject {
    padding: 7px 16px;
    border-radius: 0.4rem;
    font-size: 0.75rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s var(--ease);
    display: inline-flex;
    align-items: center;
    gap: 5px;
    min-height: 36px;
    border: 1px solid;
}

.btn-approve {
    background: rgba(46,125,50,0.12);
    border-color: rgba(46,125,50,0.35);
    color: #2e7d32;
}

.btn-approve:hover {
    background: rgba(46,125,50,0.22);
    border-color: rgba(46,125,50,0.55);
    transform: translateY(-1px);
}

.btn-reject {
    background: rgba(198,40,40,0.10);
    border-color: rgba(198,40,40,0.32);
    color: #c62828;
}

.btn-reject:hover {
    background: rgba(198,40,40,0.18);
    border-color: rgba(198,40,40,0.5);
    transform: translateY(-1px);
}

.resource-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.6rem 0.8rem;
    background: var(--dark-surface);
    border-radius: var(--radius-sm);
    margin-bottom: 0.4rem;
    gap: 0.8rem;
}

.resource-toggle-info { flex: 1; min-width: 0; }

.resource-toggle-title {
    font-size: 0.8rem;
    color: var(--text-light);
    font-weight: 500;
}

.resource-toggle-type {
    font-size: 0.62rem;
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.toggle-switch {
    position: relative;
    width: 44px;
    height: 24px;
    flex-shrink: 0;
}

.toggle-switch input { opacity: 0; width: 0; height: 0; position: absolute; }

.toggle-slider {
    position: absolute;
    cursor: pointer;
    inset: 0;
    background: rgba(29,22,16,0.1);
    border-radius: 24px;
    transition: var(--transition);
}

.toggle-slider::before {
    content: '';
    position: absolute;
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background: white;
    border-radius: 50%;
    transition: var(--transition);
}

.toggle-switch input:checked + .toggle-slider {
    background: var(--gold);
}

.toggle-switch input:checked + .toggle-slider::before {
    transform: translateX(20px);
}

/* ---------- 404 Page ---------- */
.page-404 {
    min-height: 100svh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--dark);
    text-align: center;
    padding: 2rem;
}

.page-404 i { font-size: 3rem; color: var(--gold); margin-bottom: 0.8rem; display: block; }
.page-404 h1 { font-family: var(--font-display); font-size: 1.5rem; margin-bottom: 0.5rem; }
.page-404 p { color: var(--text-muted); margin-bottom: 1.5rem; }

/* ---------- Animations ---------- */
@keyframes fadeIn {
    from { opacity: 0; transform: translateX(20px); }
    to { opacity: 1; transform: translateX(0); }
}

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

@keyframes pulse {
    0%, 100% { opacity: 0.4; }
    50% { opacity: 1; }
}

.reveal {
    opacity: 0;
    transform: translateY(15px);
    transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}

.reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered reveal */
.reveal-stagger > *:nth-child(1) { transition-delay: 0s; }
.reveal-stagger > *:nth-child(2) { transition-delay: 0.08s; }
.reveal-stagger > *:nth-child(3) { transition-delay: 0.16s; }
.reveal-stagger > *:nth-child(4) { transition-delay: 0.24s; }
.reveal-stagger > *:nth-child(5) { transition-delay: 0.32s; }
.reveal-stagger > *:nth-child(6) { transition-delay: 0.40s; }

/* =========================================================================
   RESPONSIVE: Small mobile fixes (< 400px)
   ========================================================================= */
@media (max-width: 399px) {
    .feature-card { padding: 1rem; }
    .feature-card h3 { font-size: 0.85rem; }
    .feature-card p { font-size: 0.75rem; }
    .feature-icon { width: 38px; height: 38px; font-size: 1rem; margin-bottom: 0.75rem; }

    .wd-item { padding: 0.4rem 0.6rem; }
    .wd-time { font-size: 0.8rem; }
    .wd-place { font-size: 0.7rem; }

    .highlight-card { padding: 1.2rem; }
    .highlight-card h3 { font-size: 0.95rem; }
    .highlight-card p { font-size: 0.78rem; }

    .pos-item { padding: 0.75rem; gap: 0.6rem; }
    .pos-item i { font-size: 1rem; }
    .pos-item strong { font-size: 0.8rem; }
    .pos-item span { font-size: 0.75rem; }

    .benefit-icon { width: 32px; height: 32px; font-size: 0.8rem; }
    .benefit-item strong { font-size: 0.78rem; }
    .benefit-item span { font-size: 0.7rem; }

    .consent-text { font-size: 0.72rem; }
}

/* =========================================================================
   RESPONSIVE: Tablet (>= 768px)
   ========================================================================= */
@media (min-width: 768px) {
    .hero-content { padding: 2rem; }
    .hero-badge { padding: 10px 22px; font-size: 0.7rem; }
    .hero-cta { flex-direction: row; justify-content: center; padding: 0; }
    .hero-stats { gap: 2.5rem; }

    .section-dark, .section-light, .section-gold { padding: 5rem 0; }
    .section-title { font-size: clamp(1.6rem, 4vw, 2.2rem); }
    .section-header { margin-bottom: 2.5rem; }

    .mobile-bottom-nav { display: none; }
    .has-bottom-nav .immo-footer { padding-bottom: 2rem; }

    .back-to-top { bottom: 2rem; right: 2rem; }

    .key-fact { font-size: 0.75rem; }
    .key-facts-inner { gap: 1.5rem; justify-content: center; padding: 0; }

    .immo-nav-links {
        display: flex;
        gap: 2rem;
    }

    .immo-nav-links a {
        color: var(--text-muted);
        font-size: 0.75rem;
        font-weight: 500;
        letter-spacing: 1.5px;
        text-transform: uppercase;
        text-decoration: none;
        transition: color var(--transition);
    }

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

    .feature-card { padding: 1.8rem; }
    .highlight-card { padding: 2rem; }
    .distribution-teaser { padding: 2rem; }
    .login-card { padding: 2.5rem; }
    .info-section { padding: 2rem; }
    .access-form { padding: 2rem; }

    .level-bar {
        display: grid;
        grid-template-columns: 120px 1fr 80px;
        align-items: center;
        gap: 1rem;
    }

    .level-area { text-align: right; }
    .info-grid { grid-template-columns: repeat(2, 1fr); }

    .footer-brand,
    .footer-disclaimer,
    .footer-contacts,
    .footer-copy { text-align: left; justify-content: flex-start; margin: 0; }

    .admin-container { max-width: 1060px; margin: 0 auto; padding: 2rem 2rem; }

    .req-details {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
        gap: 0.4rem 1rem;
    }
    .map-container iframe { height: 400px; }
    .resource-card { padding: 1.2rem; }
    .reserved-content { padding: 3rem 0; }

    /* Horizontal process steps on tablet+ */
    .process-steps {
        flex-direction: row;
        gap: 0;
        align-items: flex-start;
    }

    .process-step {
        flex: 1;
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding-bottom: 0;
    }

    .process-step:not(:last-child)::before {
        left: calc(50% + 24px);
        top: 20px;
        bottom: auto;
        width: auto;
        right: calc(-50% + 24px);
        height: 1px;
        background: linear-gradient(to right, rgba(201,168,76,0.3), rgba(201,168,76,0.05));
    }

    .process-step-content h4 { margin-top: 0.6rem; }
}

/* =========================================================================
   RESPONSIVE: Desktop (>= 1024px)
   ========================================================================= */
@media (min-width: 1024px) {
    .section-dark, .section-light, .section-gold { padding: 6rem 0; }
    .section-title { font-size: clamp(2rem, 3vw, 2.6rem); }

    .feature-card:hover { transform: translateY(-4px); }
    .highlight-card:hover { transform: translateY(-4px); }
    .property-card:hover { transform: translateY(-6px); }

    .info-grid { grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 1rem; }
    .info-section { padding: 2.5rem; }

    .highlight-number { font-size: 3rem; }
    .access-benefits { position: sticky; top: 6rem; }
}

/* =========================================================================
   RESPONSIVE: Print
   ========================================================================= */
@media print {
    .immo-navbar,
    .mobile-bottom-nav,
    .hero-scroll-indicator,
    .btn-luxury,
    .back-to-top,
    .key-facts-strip,
    .req-actions,
    .access-form,
    .login-card,
    .immo-footer { display: none !important; }

    body { background: white; color: black; }
    .section-dark, .section-light, .section-gold { background: white; padding: 1rem 0; color: black; }
    .info-section, .info-section-title, .info-section-subtitle { color: black !important; }
    .info-grid-item-title, .info-grid-item-value { color: #333 !important; }
    .floor-card { background: #f5f5f5 !important; border-color: #ccc !important; }
    .floor-card-title, .floor-card-area, .floor-card-desc { color: black !important; }
    .resource-card { border-color: #ccc !important; background: #f9f9f9 !important; }
    .resource-card-title { color: black !important; }
    * { box-shadow: none !important; text-shadow: none !important; }
}

/* =========================================================================
   ACCESSIBILITY: Focus, Reduced Motion
   ========================================================================= */

/* Focus-visible: gold ring consistent with theme */
:focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: 2px;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: 2px;
}

/* Reduced motion: disable all transitions and animations */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    .reveal { opacity: 1 !important; transform: none !important; }
    .bar-fill { transition: none !important; }
}

/* =========================================================================
   FORM VALIDATION: Inline feedback styles
   ========================================================================= */

.field-feedback {
    font-size: 0.75rem;
    color: #dc3545;
    margin-top: 0.25rem;
    display: none;
}

.form-floating-luxury input.is-valid,
.form-floating-luxury select.is-valid,
.form-floating-luxury textarea.is-valid {
    border-color: rgba(25, 135, 84, 0.5);
}

.form-floating-luxury input.is-invalid,
.form-floating-luxury select.is-invalid,
.form-floating-luxury textarea.is-invalid,
.was-validated .form-floating-luxury input:invalid,
.was-validated .form-floating-luxury select:invalid,
.was-validated .form-floating-luxury textarea:invalid {
    border-color: rgba(220, 53, 69, 0.5);
}

.char-counter {
    font-size: 0.7rem;
    color: var(--text-muted);
    text-align: right;
    margin-top: 0.2rem;
}

/* =========================================================================
   RESPONSIVE: Tablet gap (400px - 768px)
   ========================================================================= */
@media (min-width: 400px) and (max-width: 767px) {
    .hero-stats { gap: 1.5rem; }
    .hero-stats .stat-number { font-size: 1.8rem; }
    .hero-stats .stat-label { font-size: 0.65rem; }

    .key-facts-strip { padding: 0.8rem; gap: 0.6rem; }
    .key-fact { font-size: 0.75rem; padding: 0.35rem 0.6rem; }

    .info-grid { grid-template-columns: 1fr 1fr; }

    .floor-cards-row { flex-direction: column; gap: 1rem; }

    .access-form { padding: 1.25rem; }
    .access-form .col-sm-6 { flex: 0 0 100%; max-width: 100%; }

    .process-steps { flex-direction: column; gap: 1.5rem; }
    .process-step { max-width: 100%; }

    .property-card { padding: 1.25rem; }
}
