﻿/* ============================================
   LakoHost вЂ” Modern Mobile-First Styles
   ============================================ */

/* ============================================
   COLOR VARIABLES вЂ” Light theme (default)
   ============================================ */
:root {
    --bg-primary: #EAF2EC;
    --bg-secondary: #ffffff;
    --color-lako: #4472C4;
    --color-host: #000000;
    --color-accent: #64BC8C;
    --color-yellow: #F4D03F;
    --text-dark: #2C3E2B;
    --text-light: #5A6B5A;
    --border-color: #D4E0D8;
    --shadow: 0 4px 12px rgba(0,0,0,0.08);
    --shadow-lg: 0 8px 30px rgba(0,0,0,0.12);
    --radius: 16px;
    --radius-sm: 10px;
    --max-width: 1200px;
}

/* Dark theme */
@media (prefers-color-scheme: dark) {
    :root {
        --bg-primary: #1a1a1a;
        --bg-secondary: #2C2C2C;
        --color-lako: #5B8CD4;
        --color-host: #E0E0E0;
        --color-accent: #7ED4A8;
        --color-yellow: #E5C43B;
        --text-dark: #ECECEC;
        --text-light: #B0B0B0;
        --border-color: #404040;
        --shadow: 0 4px 12px rgba(0,0,0,0.3);
        --shadow-lg: 0 8px 30px rgba(0,0,0,0.4);
    }
}

/* ============================================
   RESET & BASE
   ============================================ */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    line-height: 1.6;
    background-color: var(--bg-primary);
    color: var(--text-dark);
    min-height: 100vh;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
}

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

main {
    min-height: 60vh;
}

/* ============================================
   HEADER
   ============================================ */
.header {
    background: rgba(255,255,255,0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 1px 0 rgba(0,0,0,0.06);
    position: sticky;
    top: 0;
    z-index: 1000;
}

@media (prefers-color-scheme: dark) {
    .header {
        background: rgba(28,28,28,0.92);
    }
}

.header__container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 20px;
    max-width: var(--max-width);
    margin: 0 auto;
}

.logo-link {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.logo-icon {
    width: 36px;
    height: 36px;
    border-radius: 8px;
}

.logo-text {
    font-size: 1.4rem;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.logo-lako { color: var(--color-lako); }
.logo-host { color: var(--color-host); }

/* Desktop nav */
.nav--desktop { display: none; }

.nav__list {
    display: flex;
    list-style: none;
    gap: 8px;
    align-items: center;
}

.nav__link {
    display: flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
    color: var(--text-dark);
    padding: 8px 12px;
    border-radius: 8px;
    transition: all 0.2s;
    font-weight: 500;
    font-size: 0.9rem;
}

.nav__link:hover {
    background: var(--bg-primary);
    color: var(--color-lako);
}

.nav__icon {
    width: 20px;
    height: 20px;
}

.nav__link--viber {
    color: #7B519D;
}

.nav__link--viber:hover {
    background: #F3EEF8;
}

.nav__link--whatsapp {
    color: #25D366;
}

.nav__link--whatsapp:hover {
    background: #E8F8EF;
}

.nav__link--login {
    background: var(--color-lako);
    color: #fff !important;
    font-weight: 600;
    padding: 8px 18px;
}

.nav__link--login:hover {
    background: #365FAA;
}

/* Mobile header */
.header__mobile-icons {
    display: flex;
    align-items: center;
    gap: 12px;
}

.mobile-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    text-decoration: none;
    color: var(--text-dark);
    transition: background 0.2s;
}

.mobile-icon svg {
    width: 20px;
    height: 20px;
}

.mobile-icon:hover {
    background: var(--bg-primary);
}

.mobile-icon--viber {
    color: #7B519D;
}

.mobile-icon--whatsapp {
    color: #25D366;
}

.burger-menu {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
}

.burger-menu:hover {
    background: var(--bg-primary);
}

.burger-line {
    display: block;
    width: 20px;
    height: 2px;
    background: var(--text-dark);
    border-radius: 2px;
    transition: 0.3s;
}

.nav--mobile {
    display: none;
    position: absolute;
    top: 100%;
    left: auto;
    right: 0;
    width: max-content;
    min-width: 220px;
    background: var(--bg-secondary);
    box-shadow: var(--shadow-lg);
    padding: 16px 20px;
    border-radius: 0 0 var(--radius) var(--radius);
}

.nav--mobile.active {
    display: block;
}

.nav--mobile .nav__list {
    flex-direction: column;
    gap: 4px;
    align-items: stretch;
}

.nav--mobile .nav__link {
    padding: 12px 16px;
    font-size: 1rem;
    text-align: left;
    width: 100%;
    justify-content: flex-start;
}

@media (min-width: 768px) {
    .header__mobile-icons { display: none; }
    .nav--desktop { display: block; }
    .logo-text { font-size: 1.5rem; }
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    padding: 32px 0;
    position: relative;
    overflow: hidden;
}

.hero__grid {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.hero__left {
    display: flex;
    flex-direction: column;
    gap: 24px;
    width: 100%;
}

.hero__brand {
    text-align: center;
}

.hero__title {
    font-size: 2.6rem;
    font-weight: 800;
    letter-spacing: -1px;
    margin-bottom: 8px;
    opacity: 0;
    transition: opacity 0.8s ease;
}

.hero__title.animate { opacity: 1; }

.hero__tagline {
    font-size: 1.1rem;
    color: var(--color-accent);
    font-weight: 500;
    opacity: 0;
    transition: opacity 0.8s ease 0.2s;
}

.hero__tagline.animate { opacity: 1; }

/* Benefits grid */
.benefits-grid {
    display: grid;
    gap: 12px;
}

.benefits-grid--hero {
    grid-template-columns: 1fr;
}

.benefit-card {
    display: flex;
    align-items: center;
    gap: 14px;
    background: var(--bg-secondary);
    padding: 18px 18px;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow);
    border-left: 3px solid var(--color-lako);
    font-size: 0.95rem;
    font-weight: 500;
    opacity: 0;
    transform: translateX(60px);
    transition: all 0.5s ease-out;
}

.benefit-card.animate {
    opacity: 1;
    transform: translateX(0);
}

.benefit-card__icon {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
    color: var(--color-lako);
}

/* Hero CTA under cards */
.hero__cta {
    display: flex;
    justify-content: flex-start;
    gap: 12px;
    flex-wrap: wrap;
}

.btn--demo {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, var(--color-lako), #365FAA);
    color: #fff;
    padding: 12px 24px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 4px 15px rgba(68,114,196,0.35);
}

.btn--demo:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(68,114,196,0.45);
}

.btn--discount {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--color-accent);
    color: #fff;
    padding: 12px 24px;
    border-radius: 50px;
    cursor: pointer;
    font-weight: 700;
    font-size: 1rem;
    border: none;
    box-shadow: 0 4px 15px rgba(100,188,140,0.35);
    transition: transform 0.2s, box-shadow 0.2s;
}

.btn--discount:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(100,188,140,0.5);
}

.btn--property {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, var(--color-accent), #4DA876);
    color: #fff;
    padding: 12px 24px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 4px 15px rgba(100,188,140,0.35);
}

.btn--property:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(100,188,140,0.5);
}

.benefit-card--pricing {
    border-left-color: var(--color-accent);
    max-width: 100%;
}

.benefit-card--pricing strong {
    color: var(--color-lako);
}

@media (min-width: 992px) {
    .benefit-card--pricing {
        max-width: calc(50% - 6px);
    }
}

.btn-icon {
    width: 20px;
    height: 20px;
}

/* Hero carousel */
.hero__carousel {
    width: 100%;
    position: relative;
}

.hero__carousel-bg {
    display: none;
}

.hero__carousel .carousel {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    background: var(--bg-secondary);
    width: 75%;
    max-width: 280px;
    aspect-ratio: 9/16;
    margin: 0 auto;
}

.hero__carousel .carousel__container {
    display: flex;
    transition: transform 0.5s ease;
    height: 100%;
    touch-action: pan-y;
}

.hero__carousel .carousel__slide {
    flex: 0 0 100%;
    min-width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-secondary);
    padding: 6px;
}

.hero__carousel .carousel__slide img {
    max-width: 100%;
    max-height: 100%;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
}

/* Carousel shared */
.carousel {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.carousel__container {
    display: flex;
    transition: transform 0.5s ease;
}

.carousel__slide {
    flex: 0 0 100%;
    min-width: 100%;
}

.carousel__btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.9);
    border: 1px solid var(--border-color);
    color: var(--text-dark);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.25s, background 0.2s;
    box-shadow: var(--shadow);
    z-index: 2;
}

.carousel__btn svg {
    width: 20px;
    height: 20px;
}

@media (hover: hover) {
    .carousel:hover .carousel__btn,
    .carousel:focus-within .carousel__btn {
        opacity: 1;
    }
}

@media (hover: none) {
    .carousel__btn {
        opacity: 0.5;
    }
}

.carousel__btn:hover {
    background: #fff;
}

.carousel__btn--prev { left: 10px; }
.carousel__btn--next { right: 10px; }

.carousel__dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    padding: 12px;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
}

.carousel__dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(0,0,0,0.2);
    cursor: pointer;
    transition: all 0.3s;
}

.carousel__dot.active {
    background: var(--color-lako);
    width: 24px;
    border-radius: 4px;
}

@media (prefers-color-scheme: dark) {
    .carousel__btn {
        background: rgba(60,60,60,0.9);
    }

    .carousel__btn:hover {
        background: #3C3C3C;
    }

    .carousel__dot {
        background: rgba(255,255,255,0.25);
    }
}

/* Scroll hint */
.hero__scroll-hint {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-top: 28px;
    font-size: 0.85rem;
    color: var(--text-light);
    animation: bounce 2s infinite;
}

.hero__scroll-hint svg {
    width: 18px;
    height: 18px;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); opacity: 0.6; }
    50% { transform: translateY(8px); opacity: 1; }
}

/* Desktop: 2-column hero — cards 2/3, carousel 1/3 */
@media (min-width: 992px) {
    .hero {
        padding: 48px 0 56px;
    }

    .hero__grid {
        display: grid;
        grid-template-columns: 2fr 1fr;
        align-items: start;
        gap: 48px;
    }

    .hero__brand {
        text-align: left;
    }

    .hero__title {
        font-size: 3rem;
    }

    .hero__tagline {
        font-size: 1.2rem;
    }

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

    .hero__carousel {
        display: flex;
        align-items: flex-start;
        justify-content: flex-end;
        padding-top: 8px;
        padding-right: 16px;
    }

    .hero__carousel .carousel {
        aspect-ratio: 9/16;
        max-width: 320px;
        width: 100%;
    }

    .hero__carousel .carousel__container {
        height: 100%;
    }

    .hero__scroll-hint { display: none; }
}

@media (max-width: 767px) {
    .hero__scroll-hint { display: flex; }
}

/* ============================================
   FEATURES SECTION
   ============================================ */
.features {
    padding: 48px 0;
    background: var(--bg-secondary);
}

.section-title {
    text-align: center;
    font-size: 1.7rem;
    font-weight: 700;
    margin-bottom: 32px;
    color: var(--color-lako);
    letter-spacing: -0.5px;
}

.features__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
}

.feature-item {
    display: flex;
    gap: 16px;
    padding: 20px 18px;
    border-radius: var(--radius-sm);
    background: var(--bg-primary);
    border-left: 4px solid var(--color-lako);
    box-shadow: var(--shadow);
    transition: transform 0.2s, box-shadow 0.2s;
}

.feature-item:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.feature-item__icon {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    background: var(--color-lako);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 2px;
}

.feature-item__icon svg {
    width: 22px;
    height: 22px;
}

.feature-item__body {
    flex: 1;
}

.feature-item__body h3 {
    color: var(--text-dark);
    margin-bottom: 6px;
    font-size: 1.05rem;
    font-weight: 700;
}

.feature-item__body p {
    color: var(--text-light);
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 4px;
}

.feature-item__note {
    display: inline-block;
    margin-top: 4px;
    font-size: 0.78rem;
    color: var(--text-light);
    font-style: italic;
    padding: 3px 10px;
    background: rgba(100,188,140,0.12);
    border-radius: 20px;
}

@media (min-width: 768px) {
    .features__grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .section-title { font-size: 2rem; }
}

/* PDF links under features */
.features__pdfs {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 24px;
    font-size: 0.9rem;
    color: var(--text-light);
}

.features__pdfs .pdf-link {
    color: var(--color-lako);
    text-decoration: none;
    font-weight: 600;
    padding: 6px 14px;
    border-radius: 20px;
    background: var(--bg-primary);
    transition: background 0.2s;
}

.features__pdfs .pdf-link:hover {
    background: var(--border-color);
}

/* ============================================
   TESTIMONIALS
   ============================================ */
.testimonials {
    padding: 48px 0;
}

.carousel--testimonials {
    background: transparent;
    box-shadow: none;
    touch-action: pan-y;
}

.carousel--testimonials .testimonial-card {
    flex: 0 0 100%;
    min-width: 100%;
    box-sizing: border-box;
    padding: 28px 12px;
}

.carousel--testimonials .carousel__container {
    touch-action: pan-y;
}

.testimonial-card {
    background: var(--bg-secondary);
    padding: 28px;
    border-radius: var(--radius);
    text-align: center;
    box-shadow: var(--shadow);
}

.testimonial-card {
    background: var(--bg-secondary);
    padding: 28px;
    border-radius: var(--radius);
    text-align: center;
    box-shadow: var(--shadow);
}

.testimonial-card__stars {
    display: flex;
    justify-content: center;
    gap: 4px;
    margin-bottom: 14px;
}

.testimonial-card__stars svg {
    width: 18px;
    height: 18px;
}

.testimonial-card p {
    font-style: italic;
    margin-bottom: 12px;
    color: var(--text-dark);
    font-size: 1rem;
    line-height: 1.6;
}

.testimonial-card cite {
    color: var(--color-accent);
    font-weight: 700;
    font-style: normal;
}

/* ============================================
/* ============================================
   MODAL & OFFER CARD
   ============================================ */
.modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.7);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 2000;
    justify-content: center;
    align-items: center;
    padding: 16px;
}

.modal.active {
    display: flex;
}

.modal__content {
    background: var(--bg-secondary);
    border-radius: var(--radius);
    max-width: 460px;
    width: 100%;
    position: relative;
    box-shadow: var(--shadow-lg);
}

.modal__content--offer {
    background: linear-gradient(145deg, #fff, #F8FAF9);
    overflow: hidden;
}

.modal__close {
    position: absolute;
    top: 10px;
    right: 14px;
    font-size: 1.5rem;
    background: rgba(0,0,0,0.06);
    border: none;
    cursor: pointer;
    z-index: 1;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-dark);
    transition: background 0.2s;
}

.modal__close:hover {
    background: rgba(0,0,0,0.12);
}

/* Offer card inside modal */
.offer-card {
    padding: 32px 28px 28px;
    text-align: center;
}

.offer-card__badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--color-accent), #4DA873);
    color: #fff;
    padding: 5px 16px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 16px;
}

.offer-card__title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 18px;
    line-height: 1.4;
}

.offer-card__highlight {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 1rem;
    color: var(--color-accent);
    margin-bottom: 18px;
    font-weight: 600;
}

.offer-card__highlight svg {
    width: 22px;
    height: 22px;
    color: var(--color-accent);
    flex-shrink: 0;
}

.offer-card__highlight strong {
    color: var(--color-lako);
}

.offer-card__price {
    background: var(--bg-primary);
    border: 2px solid var(--color-accent);
    padding: 18px;
    border-radius: var(--radius-sm);
    margin-bottom: 20px;
}

.offer-card__amount {
    font-size: 2.6rem;
    font-weight: 800;
    color: var(--color-lako);
    line-height: 1;
}

.offer-card__per {
    display: block;
    font-size: 0.9rem;
    color: var(--text-light);
    margin-top: 4px;
}

.offer-card__contacts {
    display: none;
}

/* Offer form */
.offer-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.offer-form__field {
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 10px 14px;
    transition: border-color 0.2s;
}

.offer-form__field:focus-within {
    border-color: var(--color-lako);
    box-shadow: 0 0 0 3px rgba(68,114,196,0.12);
}

.offer-form__field svg {
    width: 20px;
    height: 20px;
    color: var(--text-light);
    flex-shrink: 0;
}

.offer-form__field input {
    flex: 1;
    border: none;
    outline: none;
    background: transparent;
    font-size: 0.95rem;
    color: var(--text-dark);
    font-family: inherit;
}

.offer-form__field input::placeholder {
    color: var(--text-light);
}

.offer-form__submit {
    background: linear-gradient(135deg, var(--color-lako), #365FAA);
    color: #fff;
    border: none;
    padding: 14px 24px;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.15s, box-shadow 0.15s;
    box-shadow: 0 4px 14px rgba(68,114,196,0.3);
    margin-top: 4px;
}

.offer-form__submit:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(68,114,196,0.45);
}

.offer-form__success {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px;
    color: var(--color-accent);
    font-weight: 600;
    font-size: 0.95rem;
}

.offer-form__success svg {
    width: 24px;
    height: 24px;
}

/* Floating discount button */
.sticky-cta {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 999;
    background: var(--color-accent);
    color: #fff;
    border: none;
    padding: 16px 36px;
    border-radius: 50px;
    cursor: pointer;
    font-weight: 700;
    font-size: 1.15rem;
    box-shadow: 0 6px 24px rgba(100,188,140,0.45);
    display: flex;
    align-items: center;
    gap: 10px;
    transition: transform 0.2s, box-shadow 0.2s;
    white-space: nowrap;
}

.sticky-cta svg {
    width: 24px;
    height: 24px;
}

.sticky-cta:hover {
    transform: translateX(-50%) translateY(-3px);
    box-shadow: 0 8px 30px rgba(100,188,140,0.6);
}

.modal-iframe { display: none; }

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: var(--bg-secondary);
    padding: 40px 0;
    box-shadow: 0 -1px 0 rgba(0,0,0,0.05);
}

.footer__container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 28px;
    text-align: center;
}

.footer__title {
    color: var(--color-lako);
    margin-bottom: 12px;
    font-size: 1.1rem;
}

.footer__contact {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.footer__link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--text-dark);
    text-decoration: none;
    transition: color 0.2s;
    font-size: 0.9rem;
}

.footer__link:hover {
    color: var(--color-lako);
}

.footer__icon {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.footer__address {
    font-style: normal;
    line-height: 1.8;
    font-size: 0.9rem;
    color: var(--text-light);
}

.footer__tax {
    margin-top: 8px;
    font-size: 0.85rem;
    color: var(--text-light);
}

.footer__support,
.footer__design {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 6px;
}

@media (min-width: 768px) {
    .footer__container {
        grid-template-columns: repeat(3, 1fr);
        text-align: left;
    }
    .footer__contact {
        align-items: flex-start;
    }
}

/* ============================================
   LOGIN / FORM ELEMENTS
   ============================================ */
.login-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 60vh;
    padding: 40px 20px;
}

.login-box {
    background: var(--bg-secondary);
    padding: 36px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    width: 100%;
    max-width: 420px;
}

.login-title {
    text-align: center;
    margin-bottom: 24px;
    font-size: 1.4rem;
    font-weight: 700;
}

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

.form-group label {
    display: block;
    margin-bottom: 4px;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-dark);
}

.form-control {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
    background: var(--bg-primary);
    color: var(--text-dark);
    transition: border-color 0.2s, box-shadow 0.2s;
}

.form-control:focus {
    outline: none;
    border-color: var(--color-lako);
    box-shadow: 0 0 0 3px rgba(68,114,196,0.15);
}

.login-demo {
    margin-top: 20px;
    text-align: center;
    font-size: 0.9rem;
    color: var(--text-light);
}

.login-back {
    display: block;
    text-align: center;
    margin-top: 16px;
    color: var(--text-light);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s;
}

.login-back:hover {
    color: var(--color-lako);
}

.alert {
    padding: 12px 16px;
    border-radius: 8px;
    margin-bottom: 16px;
    font-size: 0.9rem;
}

.alert--error {
    background: #FDE8E8;
    color: #991B1B;
    border: 1px solid #F5C6CB;
}

.alert--info {
    background: #E0F0FF;
    color: #1E40AF;
    border: 1px solid #BFDBFE;
}

.btn {
    display: inline-block;
    padding: 10px 20px;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.2s, transform 0.1s;
}

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

.btn--primary {
    background: var(--color-lako);
    color: #fff;
}

.btn--primary:hover { background: #365FAA; }

.btn--secondary {
    background: var(--color-accent);
    color: #fff;
}

.btn--danger {
    background: #DC3545;
    color: #fff;
}

.btn--danger:hover { background: #B02A37; }

.btn--full { width: 100%; }

/* ============================================
   DASHBOARD
   ============================================ */
.dashboard-container {
    padding: 40px 0;
    min-height: 70vh;
}

.dashboard-header {
    text-align: center;
    margin-bottom: 40px;
}

.dashboard-placeholder {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 40px;
}

.placeholder-card {
    background: var(--bg-secondary);
    padding: 28px;
    border-radius: var(--radius);
    text-align: center;
    box-shadow: var(--shadow);
}

.dashboard-logout {
    text-align: center;
}

@media (min-width: 768px) {
    .dashboard-placeholder {
        grid-template-columns: repeat(3, 1fr);
    }
}


/* preserve .modal.active for sticky CTA */
.modal.active { display: flex; }

/* ============================================
   DASHBOARD DETAIL (cards, modals)
   ============================================ */
.dashboard-container {
    padding: 40px 20px;
}

.dashboard-header {
    text-align: center;
    margin-bottom: 28px;
}

.dashboard-header h1 {
    font-size: 1.6rem;
    color: var(--text-dark);
}

.demo-banner {
    margin-top: 10px;
    display: inline-block;
    background: var(--color-yellow);
    color: #2C3E2B;
    padding: 4px 14px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.dashboard-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 28px;
    margin-bottom: 32px;
}

@media (min-width: 768px) {
    .dashboard-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.dashboard-column {
    min-width: 0;
}

.column-title {
    font-size: 1.3rem;
    color: var(--text-dark);
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.count-badge {
    display: inline-block;
    background: var(--color-lako);
    color: #fff;
    font-size: 0.8rem;
    padding: 2px 10px;
    border-radius: 12px;
    font-weight: 600;
}

.card-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.card {
    display: flex;
    align-items: center;
    gap: 14px;
    background: var(--bg-secondary);
    padding: 14px 18px;
    border-radius: 10px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.06);
    cursor: pointer;
    transition: transform 0.15s, box-shadow 0.15s;
    border: 1px solid var(--border-color);
}

.card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0,0,0,0.1);
}

.card__icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.card__info {
    flex: 1;
    min-width: 0;
}

.card__name {
    font-weight: 600;
    font-size: 1.05rem;
    color: var(--text-dark);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.card__sub {
    font-size: 0.85rem;
    color: var(--text-light);
    margin-top: 2px;
}

.card__arrow {
    color: var(--color-lako);
    font-size: 1.2rem;
    transition: transform 0.2s;
}

.card:hover .card__arrow {
    transform: translateX(4px);
}

.empty-state {
    text-align: center;
    color: var(--text-light);
    padding: 30px 0;
    font-style: italic;
}

/* Dashboard logout + modal */
.dashboard-logout {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
}

.modal--open {
    display: flex;
}

.modal__overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.55);
}

.modal__content {
    position: relative;
    background: var(--bg-secondary);
    border-radius: 14px;
    padding: 32px 28px;
    max-width: 520px;
    width: 92%;
    box-shadow: 0 12px 40px rgba(0,0,0,0.25);
    z-index: 1;
    animation: modalIn 0.2s ease;
}

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

.modal__close {
    position: absolute;
    top: 14px;
    right: 18px;
    background: none;
    border: none;
    font-size: 1.4rem;
    cursor: pointer;
    color: var(--text-light);
    transition: color 0.2s;
}

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

.modal__title {
    font-size: 1.3rem;
    color: var(--color-lako);
    margin-bottom: 20px;
}

.modal__info p {
    margin-bottom: 10px;
    color: var(--text-dark);
    font-size: 0.95rem;
}

.modal__info strong {
    color: var(--text-light);
    margin-right: 4px;
}

/* ===================================
   Tenants Section
   =================================== */
.tenants__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.tenant-card-link {
    text-decoration: none;
    color: inherit;
    transition: transform 0.2s ease;
}

.tenant-card-link:hover {
    transform: translateY(-2px);
}

.tenant-card-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: var(--bg-primary);
    border: 1px solid var(--border-color, #e0e0e0);
    border-radius: 10px;
    padding: 0.75rem 1rem;
    transition: box-shadow 0.2s ease;
}

.tenant-card-item:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.tenant-card-item__img {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 8px;
}

.tenant-card-item__img img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.tenant-card-item__body {
    flex: 1;
    min-width: 0;
}

.tenant-card-item__body h4 {
    font-size: 0.95rem;
    margin-bottom: 0.125rem;
    color: var(--text-dark);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.tenant-card-item__body p {
    font-size: 0.78rem;
    color: var(--text-light);
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ===================================
   Tenant Footer — compact (Bootstrap override)
   =================================== */
.footer.container-fluid {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}
.footer .container.pb-5 {
    padding-bottom: 1.8rem !important;
}
.footer .row.g-5 {
    --bs-gutter-y: 1.8rem;
}
.footer .bg-primary.rounded.p-4 {
    padding: 0.9rem !important;
}
.footer .copyright .row {
    margin-top: 0;
}
.footer .copyright {
    padding-bottom: 0.6rem;
}
