/* EUROSTAR Business Hub — isolated, mobile-first */

:root {
    --hub-bg: #0a0a0a;
    --hub-surface: #141414;
    --hub-surface-2: #1c1c1c;
    --hub-border: rgba(255, 255, 255, 0.1);
    --hub-text: #f4f4f4;
    --hub-muted: #9a9a9a;
    --hub-accent: #c9a227;
    --hub-whatsapp: #1f8f4e;
    --hub-whatsapp-hover: #187a42;
    --hub-radius: 14px;
    --hub-shadow: 0 10px 28px rgba(0, 0, 0, 0.35);
    --hub-font: 'DM Sans', 'Segoe UI', system-ui, sans-serif;
    --hub-display: 'Instrument Serif', Georgia, serif;
    --hub-dock-h: 64px;
    --hub-safe-bottom: env(safe-area-inset-bottom, 0px);
    --hub-safe-top: env(safe-area-inset-top, 0px);
}

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

html {
    scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    * { animation: none !important; transition: none !important; }
}

body.hub {
    margin: 0;
    min-height: 100%;
    background:
        radial-gradient(1200px 480px at 50% -10%, rgba(201, 162, 39, 0.12), transparent 55%),
        linear-gradient(180deg, #101010 0%, var(--hub-bg) 40%, #070707 100%);
    color: var(--hub-text);
    font-family: var(--hub-font);
    font-size: 16px;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    padding-bottom: calc(var(--hub-dock-h) + var(--hub-safe-bottom) + 12px);
    overflow-x: hidden;
}

.hub--rtl {
    --hub-font: 'Cairo', 'Segoe UI', system-ui, sans-serif;
    --hub-display: 'Cairo', 'Segoe UI', system-ui, sans-serif;
}

.hub-skip {
    position: absolute;
    left: -9999px;
    top: 0;
    background: #fff;
    color: #000;
    padding: 8px 12px;
    z-index: 100;
}

.hub-skip:focus {
    left: 12px;
    top: 12px;
}

.hub-header {
    position: sticky;
    top: 0;
    z-index: 40;
    padding: calc(12px + var(--hub-safe-top)) 16px 12px;
    background: rgba(10, 10, 10, 0.92);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--hub-border);
}

.hub-header__inner {
    max-width: 720px;
    margin: 0 auto;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}

.hub-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.hub-brand__logo {
    width: auto;
    height: 44px;
    max-width: 120px;
    object-fit: contain;
    background: #fff;
    border-radius: 8px;
    padding: 4px 8px;
}

.hub-brand__name {
    margin: 0;
    font-family: var(--hub-display);
    font-size: 1.05rem;
    letter-spacing: 0.02em;
    line-height: 1.2;
}

.hub-brand__sub {
    margin: 4px 0 0;
    font-size: 0.68rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--hub-muted);
}

.hub-langs {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    justify-content: flex-end;
}

.hub-langs__link {
    min-width: 36px;
    min-height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 8px;
    border-radius: 999px;
    color: var(--hub-muted);
    text-decoration: none;
    font-size: 0.75rem;
    font-weight: 700;
    border: 1px solid transparent;
}

.hub-langs__link.is-active,
.hub-langs__link:hover {
    color: #fff;
    border-color: rgba(201, 162, 39, 0.55);
    background: rgba(201, 162, 39, 0.12);
}

.hub-main {
    max-width: 720px;
    margin: 0 auto;
    padding: 20px 16px 8px;
}

.hub-hero {
    padding: 28px 18px 24px;
    border-radius: calc(var(--hub-radius) + 4px);
    background: linear-gradient(160deg, var(--hub-surface-2), var(--hub-surface));
    border: 1px solid var(--hub-border);
    box-shadow: var(--hub-shadow);
    margin-bottom: 28px;
}

.hub-hero__title {
    margin: 0 0 20px;
    font-family: var(--hub-display);
    font-size: clamp(1.8rem, 6vw, 2.4rem);
    font-weight: 400;
    line-height: 1.15;
}

.hub-hero__actions {
    display: grid;
    gap: 10px;
}

.hub-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 12px 18px;
    border-radius: 12px;
    border: 1px solid transparent;
    font: inherit;
    font-weight: 700;
    letter-spacing: 0.02em;
    text-decoration: none;
    text-align: center;
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.hub-btn:active {
    transform: scale(0.98);
}

.hub-btn--primary {
    background: #f2f2f2;
    color: #111;
}

.hub-btn--primary:hover {
    background: #fff;
}

.hub-btn--whatsapp {
    background: var(--hub-whatsapp);
    color: #fff;
}

.hub-btn--whatsapp:hover {
    background: var(--hub-whatsapp-hover);
}

.hub-btn--ghost {
    background: transparent;
    color: #fff;
    border-color: rgba(255, 255, 255, 0.22);
}

.hub-btn--ghost:hover {
    border-color: rgba(201, 162, 39, 0.7);
    background: rgba(255, 255, 255, 0.04);
}

.hub-btn--sm {
    min-height: 44px;
    padding: 10px 12px;
    font-size: 0.88rem;
}

.hub-btn--block {
    width: 100%;
}

.hub-btn--disabled {
    opacity: 0.45;
    cursor: not-allowed;
    pointer-events: none;
}

.hub-section {
    margin-bottom: 36px;
    scroll-margin-top: 96px;
}

.hub-section__title {
    margin: 0 0 8px;
    font-family: var(--hub-display);
    font-size: 1.55rem;
    font-weight: 400;
}

.hub-section__lead {
    margin: 0 0 18px;
    color: var(--hub-muted);
    font-size: 0.98rem;
}

.hub-quick {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.hub-quick__btn {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 8px;
    min-height: 92px;
    padding: 16px;
    border-radius: var(--hub-radius);
    background: var(--hub-surface);
    border: 1px solid var(--hub-border);
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.92rem;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.22);
}

.hub-quick__btn:hover {
    border-color: rgba(201, 162, 39, 0.55);
}

.hub-quick__icon {
    font-size: 1.25rem;
    line-height: 1;
}

.hub-form {
    display: grid;
    gap: 14px;
    padding: 18px;
    border-radius: var(--hub-radius);
    background: var(--hub-surface);
    border: 1px solid var(--hub-border);
}

.hub-form__grid {
    display: grid;
    gap: 12px;
}

.hub-field {
    display: grid;
    gap: 6px;
    font-size: 0.88rem;
    color: var(--hub-muted);
}

.hub-field input,
.hub-field select,
.hub-field textarea {
    width: 100%;
    min-height: 48px;
    padding: 12px 14px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: #0f0f0f;
    color: #fff;
    font: inherit;
}

.hub-field textarea {
    min-height: 96px;
    resize: vertical;
}

.hub-field input:focus,
.hub-field select:focus,
.hub-field textarea:focus {
    outline: 2px solid rgba(201, 162, 39, 0.55);
    outline-offset: 1px;
    border-color: rgba(201, 162, 39, 0.55);
}

.hub-form__error {
    margin: 0;
    color: #f0b4b4;
    font-size: 0.9rem;
}

.hub-cards {
    display: grid;
    gap: 12px;
}

.hub-card {
    padding: 18px;
    border-radius: var(--hub-radius);
    background: var(--hub-surface);
    border: 1px solid var(--hub-border);
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.25);
}

.hub-card__title {
    margin: 0 0 8px;
    font-size: 1.1rem;
}

.hub-card__address,
.hub-card__meta {
    margin: 0 0 8px;
    color: var(--hub-muted);
    font-size: 0.92rem;
}

.hub-card__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 14px;
}

.hub-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 14px;
}

.hub-tabs__btn {
    min-height: 42px;
    padding: 8px 14px;
    border-radius: 999px;
    border: 1px solid var(--hub-border);
    background: transparent;
    color: var(--hub-muted);
    font: inherit;
    font-weight: 600;
    cursor: pointer;
}

.hub-tabs__btn.is-active {
    color: #111;
    background: #f2f2f2;
    border-color: #f2f2f2;
}

.hub-tabpanel[hidden] {
    display: none;
}

.hub-note {
    margin: 0;
    padding: 14px 16px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px dashed rgba(255, 255, 255, 0.16);
    color: var(--hub-muted);
}

.hub-social {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.hub-social__link {
    min-height: 48px;
    padding: 12px 16px;
    border-radius: 999px;
    border: 1px solid var(--hub-border);
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    background: var(--hub-surface);
}

.hub-social__link:hover {
    border-color: rgba(201, 162, 39, 0.6);
}

.hub-footer {
    max-width: 720px;
    margin: 0 auto;
    padding: 8px 16px 28px;
    text-align: center;
    color: var(--hub-muted);
}

.hub-footer__name {
    margin: 0;
    color: #fff;
    font-family: var(--hub-display);
    font-size: 1.15rem;
}

.hub-footer__tag {
    margin: 6px 0 14px;
    font-size: 0.8rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.hub-footer__links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px 14px;
    margin-bottom: 14px;
}

.hub-footer__links a {
    color: #ddd;
    text-decoration: none;
    font-size: 0.9rem;
    min-height: 40px;
    display: inline-flex;
    align-items: center;
}

.hub-footer__copy,
.hub-footer__phone {
    margin: 4px 0;
    font-size: 0.82rem;
}

.hub-dock {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 50;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 4px;
    padding: 8px 10px calc(8px + var(--hub-safe-bottom));
    background: rgba(10, 10, 10, 0.96);
    border-top: 1px solid var(--hub-border);
    backdrop-filter: blur(12px);
}

.hub-dock__item {
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    color: #ddd;
    text-decoration: none;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.hub-dock__item--wa {
    background: var(--hub-whatsapp);
    color: #fff;
}

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

    .hub-form__grid {
        grid-template-columns: 1fr 1fr;
    }

    .hub-quick {
        grid-template-columns: repeat(3, 1fr);
    }

    .hub-dock {
        display: none;
    }

    body.hub {
        padding-bottom: 40px;
    }
}

@media (min-width: 1024px) {
    .hub-main,
    .hub-header__inner,
    .hub-footer {
        max-width: 860px;
    }
}
