/*
Theme Name: Quito Layover Tours
Template: hello-elementor
Description: Child theme of Hello Elementor: site header and footer from the approved design. Pages are built in Elementor; tour pages come from the Quito Layover Tours plugin.
Version: 1.0.0
Author: Andrey
Text Domain: qlt-child
*/

body { background: var(--surface, #fff); color: var(--ink, #13212C); font-family: var(--f-body, "Figtree", system-ui, sans-serif); -webkit-font-smoothing: antialiased; }
a { color: var(--blue, #1C4F8C); }
a:hover, a:active { color: var(--ink, #13212C); }

/* Header */
.qlt-head { position: sticky; top: 0; z-index: 40; background: var(--surface); border-bottom: 1px solid var(--line); font-family: var(--f-body); }
.admin-bar .qlt-head { top: 32px; }
@media (max-width: 782px) { .admin-bar .qlt-head { top: 46px; } }
@media (max-width: 600px) { .admin-bar .qlt-head { top: 0; } }
.admin-bar .qlt-tp .booking { top: calc(64px + 32px + 20px); }
.qlt-head-row { display: flex; align-items: center; gap: 24px; min-height: 64px; }
.qlt-brand, .qlt-brand:hover { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; flex: none; }
.qlt-brand-code { font-family: var(--f-mono); font-weight: 600; font-size: .76rem; letter-spacing: .08em; background: var(--blue); color: #fff; padding: 5px 7px; border-radius: 6px; line-height: 1.2; }
.qlt-brand-name { font-family: var(--f-display); font-weight: 800; font-size: 1.14rem; letter-spacing: -0.01em; line-height: 1.2; }
.qlt-nav { margin-left: auto; }
.qlt-menu { display: flex; gap: 22px; list-style: none; margin: 0; padding: 0; }
.qlt-menu li { margin: 0; }
.qlt-menu a { color: var(--ink); text-decoration: none; font-weight: 500; font-size: .95rem; }
.qlt-menu a:hover, .qlt-menu .current-menu-item > a { color: var(--blue); }
.qlt-menu .current-menu-item > a { font-weight: 700; }
.qlt-head-wa, .qlt-head-wa:visited { display: inline-flex; align-items: center; gap: 8px; color: var(--wa); font-weight: 700; text-decoration: none; border: 1.5px solid var(--wa); border-radius: 999px; padding: 6px 14px; font-size: .92rem; flex: none; }
.qlt-head-wa:hover { background: var(--ok-soft); color: var(--wa); }
/* Scoped under .qlt-head so Elementor's global button style doesn't paint it gold. */
.qlt-head .qlt-burger, .qlt-head .qlt-burger:hover, .qlt-head .qlt-burger:focus { display: none; align-items: center; gap: 8px; background: none; border: 1px solid var(--line); border-radius: var(--r-sm); color: var(--ink); font: 600 .9rem/1 var(--f-body); padding: 9px 12px; cursor: pointer; }
.qlt-burger svg { display: block; }
@media (max-width: 880px) {
  .qlt-head-row { gap: 12px; }
  .qlt-head-wa { margin-left: auto; }
  .qlt-head .qlt-burger, .qlt-head .qlt-burger:hover, .qlt-head .qlt-burger:focus { display: inline-flex; }
  .qlt-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--surface); border-bottom: 1px solid var(--line); box-shadow: var(--shadow); margin: 0; }
  .qlt-nav.open { display: block; }
  .qlt-menu { flex-direction: column; gap: 0; padding: 8px 16px 14px; }
  .qlt-menu a { display: block; padding: 12px 4px; font-size: 1.05rem; border-bottom: 1px solid var(--line); }
  .qlt-menu li:last-child a { border-bottom: 0; }
}
@media (max-width: 440px) {
  .qlt-brand-name { font-size: 1rem; }
  .qlt-head-wa span, .qlt-burger span { display: none; }
  .qlt-head-wa { padding: 7px 9px; }
}

/* Footer */
.qlt-foot { background: var(--night); color: var(--night-fg); padding-block: 44px 40px; font-size: .92rem; font-family: var(--f-body); }
.qlt-foot-grid { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 28px 40px; }
.qlt-foot .qlt-brand, .qlt-foot .qlt-brand:hover { color: var(--night-fg); }
.qlt-foot p { color: var(--night-muted); max-width: 52ch; margin: 10px 0 0; }
.qlt-foot a { color: var(--night-fg); }
.qlt-foot a:hover { color: var(--gold); }
.qlt-foot-menu { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.qlt-foot-menu li { margin: 0; }
.qlt-foot-menu a { text-decoration: none; }
.qlt-foot-contact { display: grid; gap: 8px; align-content: start; }
.qlt-foot-contact a { text-decoration: none; display: inline-flex; align-items: center; gap: 8px; }
.qlt-foot-label { font-family: var(--f-mono); font-size: .7rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--night-muted); margin-bottom: 4px; }
.qlt-credits { font-size: .76rem; margin-top: 28px !important; max-width: 110ch !important; }
.qlt-credits a { color: var(--night-muted); }
.qlt-copy { font-size: .8rem; border-top: 1px solid rgb(255 255 255 / .1); padding-top: 18px; margin-top: 22px !important; max-width: none !important; }
