/**
 * Landfair Service-Center — public stylesheet.
 *
 * Apple-inspired, light-mode-only, matches the reference mockup:
 * dark rounded header, white card surface, monochrome tile icons,
 * single WhatsApp green accent.
 */

.lsc-container {
    --lsc-bg: #F5F5F7;
    --lsc-card-bg: #FFFFFF;
    --lsc-header-bg: #1D1D1F;
    --lsc-text-primary: #1D1D1F;
    --lsc-text-secondary: #6E6E73;
    --lsc-text-light: #FFFFFF;
    --lsc-text-light-muted: #A1A1A6;
    --lsc-tile-border: rgba(0, 0, 0, 0.06);
    --lsc-tile-icon-bg: #1D1D1F;
    --lsc-tile-icon-color: #FFFFFF;
    --lsc-whatsapp: #25D366;
    --lsc-shadow-card: 0 1px 3px rgba(0, 0, 0, 0.05), 0 1px 2px rgba(0, 0, 0, 0.03);
    --lsc-shadow-tile: 0 1px 2px rgba(0, 0, 0, 0.03);
    --lsc-shadow-tile-hover: 0 4px 12px rgba(0, 0, 0, 0.06);
    --lsc-radius-card: 24px;
    --lsc-radius-tile: 16px;
    --lsc-radius-icon: 10px;
    --lsc-font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Segoe UI", system-ui, sans-serif;

    font-family: var(--lsc-font);
    background: var(--lsc-bg);
    min-height: 100vh;
    padding: 0;
    display: block;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.lsc-container *,
.lsc-container *::before,
.lsc-container *::after {
    box-sizing: border-box;
}

.lsc-card {
    width: 100%;
    max-width: none;
    background: var(--lsc-card-bg);
    border-radius: 0;
    overflow: hidden;
    box-shadow: none;
}

/* ============== Header ============== */

.lsc-header {
    background: var(--lsc-header-bg);
    padding: 18px 24px 20px;
    text-align: center;
    color: var(--lsc-text-light);
}

.lsc-logo {
    margin: 0 auto 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.lsc-logo img {
    display: block;
    height: var(--lsc-logo-size, 40px);
    width: auto;
    max-width: 100%;
    object-fit: contain;
}

.lsc-logo-text {
    font-size: calc(var(--lsc-logo-size, 40px) * 0.55);
    font-weight: 700;
    letter-spacing: 0.5px;
    color: var(--lsc-text-light);
    line-height: var(--lsc-logo-size, 40px);
}

.lsc-shop-name {
    font-size: var(--lsc-header-text-size, 20px);
    font-weight: 700;
    margin: 0 0 2px;
    letter-spacing: -0.3px;
    line-height: 1.15;
    color: var(--lsc-text-light);
}

.lsc-shop-subtitle {
    font-size: calc(var(--lsc-header-text-size, 20px) * 0.65);
    color: var(--lsc-text-light-muted);
    margin: 0 0 6px;
    font-weight: 400;
    letter-spacing: -0.1px;
}

.lsc-shop-hours {
    font-size: calc(var(--lsc-header-text-size, 20px) * 0.6);
    color: var(--lsc-text-light-muted);
    margin: 0;
    font-weight: 400;
}

/* ============== Tiles grid ============== */

.lsc-tiles {
    padding: 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.lsc-tile {
    position: relative;
    background: var(--lsc-tile-bg, var(--lsc-card-bg));
    border: 1px solid var(--lsc-tile-border);
    border-radius: var(--lsc-radius-tile);
    padding: 16px;
    text-decoration: none;
    color: var(--lsc-text-primary);
    display: block;
    transition: transform 150ms ease-out, box-shadow 200ms ease-out;
    min-height: 116px;
    box-shadow: var(--lsc-shadow-tile);
}

.lsc-tile:hover {
    box-shadow: var(--lsc-shadow-tile-hover);
}

.lsc-tile:active {
    transform: scale(0.97);
}

.lsc-tile:focus-visible {
    outline: 2px solid var(--lsc-text-primary);
    outline-offset: 2px;
}

.lsc-tile__icon {
    width: var(--lsc-tile-icon-size, 36px);
    height: var(--lsc-tile-icon-size, 36px);
    background: var(--lsc-tile-icon-bg);
    color: var(--lsc-tile-icon-color);
    border-radius: var(--lsc-radius-icon);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
}

.lsc-tile__icon svg {
    width: calc(var(--lsc-tile-icon-size, 36px) * 0.5);
    height: calc(var(--lsc-tile-icon-size, 36px) * 0.5);
    display: block;
}

.lsc-tile--whatsapp .lsc-tile__icon {
    background: var(--lsc-whatsapp);
}

.lsc-tile__chevron {
    position: absolute;
    top: 16px;
    right: 16px;
    color: var(--lsc-text-secondary);
    opacity: 0.45;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lsc-tile__chevron svg {
    width: 12px;
    height: 12px;
    display: block;
}

.lsc-tile__title {
    display: block;
    font-size: var(--lsc-tile-text-size, 15px);
    font-weight: 600;
    color: var(--lsc-text-primary);
    margin: 0 0 2px;
    letter-spacing: -0.1px;
    line-height: 1.25;
}

.lsc-tile__subtitle {
    display: block;
    font-size: calc(var(--lsc-tile-text-size, 15px) * 0.8);
    color: var(--lsc-text-secondary);
    margin: 0;
    line-height: 1.35;
}

/* ============== Footer ============== */

.lsc-footer {
    padding: 18px 24px 24px;
    text-align: center;
    border-top: 1px solid var(--lsc-tile-border);
    background: var(--lsc-bg);
}

.lsc-address {
    font-size: 12px;
    color: var(--lsc-text-secondary);
    margin: 0;
    line-height: 1.4;
}

/* ============== Tablet ============== */

@media (min-width: 640px) {
    .lsc-tiles {
        grid-template-columns: 1fr 1fr 1fr;
        padding: 24px;
        gap: 14px;
    }
    .lsc-header {
        padding: 22px 32px 24px;
    }
}

@media (min-width: 1024px) {
    .lsc-tiles {
        grid-template-columns: repeat(6, 1fr);
        padding: 32px;
        gap: 16px;
        max-width: 1400px;
        margin: 0 auto;
    }
    .lsc-header {
        padding: 24px 32px 28px;
    }
}

/* ============== Reduced motion ============== */

@media (prefers-reduced-motion: reduce) {
    .lsc-tile {
        transition: none;
    }
    .lsc-tile:active {
        transform: none;
    }
}
