/* Footer khách sạn (tgwv-footer-hotel). */
.tgwv-fh {
    --tgwv-fh-bg: #3a090c;
    --tgwv-fh-accent: #b3121f;
    --tgwv-fh-text: #f4e9e9;
    --tgwv-fh-muted: color-mix(in srgb, var(--tgwv-fh-text) 78%, transparent);
    --tgwv-fh-line: color-mix(in srgb, var(--tgwv-fh-text) 12%, transparent);
    background: var(--tgwv-fh-bg);
    color: var(--tgwv-fh-text);
    border-top: 3px solid var(--tgwv-fh-accent);
}

.tgwv-fh__inner { max-width: 1640px; margin: 0 auto; padding: 56px 24px 0; }

.tgwv-fh a { color: inherit; text-decoration: none; }

.tgwv-fh__heading {
    margin: 0 0 18px;
    color: var(--tgwv-fh-text);
    font-family: "Playfair Display", "Times New Roman", Georgia, serif;
    font-size: 19px;
    font-weight: 600;
    line-height: 1.3;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

/* ---------- Top row ---------- */
.tgwv-fh__top {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
    align-items: start;
    gap: 40px;
    padding: 0 70px 48px;
    border-bottom: 1px solid var(--tgwv-fh-line);
}

.tgwv-fh__brand {
    display: flex;
    align-items: flex-start;
    gap: 70px;
    padding-right: 36px;
    border-right: 1px solid var(--tgwv-fh-line);
}

.tgwv-fh__logo { flex: 0 0 auto; display: block; line-height: 0; }
.tgwv-fh__logo img { display: block; width: auto; max-width: 180px; max-height: 120px; object-fit: contain; }
.tgwv-fh__logo--box { padding: 14px 16px; border-radius: 10px; background: #fff; box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25); }

.tgwv-fh__contact { min-width: 0; }
.tgwv-fh__heading--brand { font-size: 21px; margin-bottom: 14px; }

.tgwv-fh__contacts { margin: 0; padding: 0; list-style: none; }
.tgwv-fh__contacts li + li { margin-top: 8px; }
.tgwv-fh__contact-row { display: inline-flex; align-items: flex-start; gap: 16px; font-size: 17px; line-height: 1.45; }
.tgwv-fh__contacts a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.tgwv-fh__contact-icon { flex: 0 0 auto; display: inline-flex; color: var(--tgwv-fh-accent); }
.tgwv-fh__contact-icon svg { width: 24px; height: 24px; }

.tgwv-fh__connect {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: start;
    gap: 40px;
}

.tgwv-fh__socials { display: flex; flex-wrap: wrap; gap: 15px; }

.tgwv-fh__social {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border: 1.5px solid color-mix(in srgb, var(--tgwv-fh-text) 80%, transparent);
    border-radius: 50%;
    transition: background-color 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}

.tgwv-fh__social:hover { background: var(--tgwv-fh-accent); border-color: var(--tgwv-fh-accent); transform: translateY(-2px); }
.tgwv-fh__social svg { width: 22px; height: 22px; }

/* Newsletter */
.tgwv-fh__form { margin: 0; }
.tgwv-fh__form-row { display: flex; border: 1.5px solid color-mix(in srgb, var(--tgwv-fh-text) 35%, transparent); }

.tgwv-fh__input {
    flex: 1 1 auto;
    min-width: 0;
    height: 56px;
    padding: 0 18px;
    border: 0;
    border-radius: 0;
    background: rgba(255, 255, 255, 0.04);
    color: var(--tgwv-fh-text);
    font: inherit;
    font-size: 16px;
}

.tgwv-fh__input::placeholder { color: color-mix(in srgb, var(--tgwv-fh-text) 55%, transparent); }
.tgwv-fh__input:focus { outline: none; background: rgba(255, 255, 255, 0.08); }

.tgwv-fh__submit {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0 28px;
    border: 0;
    border-radius: 0;
    background: var(--tgwv-fh-accent);
    color: #fff;
    font-family: "Playfair Display", "Times New Roman", Georgia, serif;
    font-size: 17px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    cursor: pointer;
    transition: filter 0.2s ease;
}

.tgwv-fh__submit:hover { filter: brightness(1.12); }
.tgwv-fh__submit:disabled { opacity: 0.7; cursor: progress; }
.tgwv-fh__submit svg { width: 20px; height: 20px; }

.tgwv-fh__form-msg { margin: 8px 0 0; min-height: 1.2em; font-size: 14px; }
.tgwv-fh__form-msg.is-error { color: #ffb4b4; }
.tgwv-fh__form-msg.is-success { color: #b9f2c9; }
.tgwv-fh__hp { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Link columns ---------- */
.tgwv-fh__columns {
    display: grid;
    grid-template-columns: repeat(var(--tgwv-fh-cols, 4), minmax(0, 1fr));
    gap: 32px;
    padding: 44px 80px 40px;
    border-bottom: 1px solid var(--tgwv-fh-line);
}

.tgwv-fh__links { margin: 0; padding: 0; list-style: none; }
.tgwv-fh__links li + li { margin-top: 8px; }
.tgwv-fh__links a,
.tgwv-fh__links span { font-size: 17px; line-height: 1.5; color: var(--tgwv-fh-muted); transition: color 0.2s ease, padding-left 0.2s ease; }
.tgwv-fh__links a:hover { color: #fff; padding-left: 4px; }

.tgwv-fh__bottom { padding: 18px 0 22px; text-align: center; font-size: 14px; color: color-mix(in srgb, var(--tgwv-fh-text) 60%, transparent); }

.tgwv-fh a:focus-visible,
.tgwv-fh button:focus-visible,
.tgwv-fh__input:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }

/* ---------- Responsive ---------- */
@media (max-width: 1399px) {
    .tgwv-fh__top { padding: 0 0 44px; }
    .tgwv-fh__brand { gap: 40px; }
    .tgwv-fh__columns { padding: 40px 0; }
}

@media (max-width: 1199px) {
    .tgwv-fh__top { grid-template-columns: 1fr; }
    .tgwv-fh__brand { padding-right: 0; border-right: 0; }
}

@media (max-width: 767px) {
    .tgwv-fh__inner { padding: 40px 16px 0; }
    .tgwv-fh__brand { flex-direction: column; gap: 24px; }
    .tgwv-fh__connect { grid-template-columns: 1fr; gap: 28px; }
    .tgwv-fh__columns { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 20px; }
    .tgwv-fh__contact-row,
    .tgwv-fh__links a,
    .tgwv-fh__links span { font-size: 15px; }
    .tgwv-fh__submit { padding: 0 18px; }
}

@media (max-width: 359px) {
    .tgwv-fh__columns { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
    .tgwv-fh__social,
    .tgwv-fh__links a { transition: none; }
}
