:root {
  --ttv2-orange: #B94712;
  --ttv2-navy: #17324D;
  --ttv2-green: #5E9368;
  --ttv2-ivory: #FAF6EE;
  --ttv2-ink: #102536;
  --ttv2-radius: 9px;
}

body.ttv2-brand-system {
  color: var(--ttv2-ink);
  font-family: Inter, Arial, sans-serif;
}

body.ttv2-brand-system:not(.ttv2-homepage) h1,
body.ttv2-brand-system:not(.ttv2-homepage) h2,
body.ttv2-brand-system:not(.ttv2-homepage) h3,
body.ttv2-brand-system:not(.ttv2-homepage) h4,
body.ttv2-brand-system:not(.ttv2-homepage) h5,
body.ttv2-brand-system:not(.ttv2-homepage) h6 {
  color: var(--ttv2-navy);
  font-family: "Barlow Semi Condensed", Arial, sans-serif;
  font-weight: 700;
}

body.ttv2-brand-system:not(.ttv2-homepage) :where(button, input[type="button"], input[type="submit"], .button, .wp-element-button) {
  border-radius: var(--ttv2-radius);
  font-family: Inter, Arial, sans-serif;
  font-weight: 700;
}

body.ttv2-sitewide-shell > header:not(.ttv2-site-header),
body.ttv2-sitewide-shell > footer:not(.ttv2-site-footer),
body.ttv2-sitewide-shell header#site-header,
body.ttv2-sitewide-shell footer#site-footer,
body.ttv2-sitewide-shell .site-header:not(.ttv2-site-header),
body.ttv2-sitewide-shell .site-footer:not(.ttv2-site-footer),
body.ttv2-sitewide-shell header.wp-block-template-part,
body.ttv2-sitewide-shell footer.wp-block-template-part,
body.ttv2-sitewide-shell .elementor-location-header,
body.ttv2-sitewide-shell .elementor-location-footer,
body.ttv2-sitewide-shell.wp-theme-hostinger-ai-theme .hostinger-ai-menu { display: none !important; }

.ttv2-shell-wrap { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }
.ttv2-site-header { position: sticky; top: 0; z-index: 999; display: block !important; background: rgba(250,246,238,.96); backdrop-filter: blur(14px); }
body.ttv2-homepage .ttv2-home-header { display: block !important; }
.ttv2-shell-nav { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.ttv2-shell-brand { display: inline-flex; align-items: center; gap: 11px; color: var(--ttv2-navy) !important; font-family: "Barlow Semi Condensed", Arial, sans-serif; font-size: 1.35rem; font-weight: 800; letter-spacing: .025em; text-decoration: none !important; }
.ttv2-shell-mark { width: 38px; height: 38px; display: grid; place-items: center; flex: 0 0 auto; border-radius: 50%; background: var(--ttv2-orange); color: #fff; font-size: .9rem; box-shadow: inset 0 0 0 5px rgba(255,255,255,.18); }
.ttv2-shell-links { display: flex; align-items: center; gap: 20px; font-size: .88rem; font-weight: 600; white-space: nowrap; }
.ttv2-shell-links a { color: var(--ttv2-navy) !important; text-decoration: none !important; }
.ttv2-shell-links a:hover { color: var(--ttv2-orange) !important; }
.ttv2-shell-portal { padding: 8px 0; border-bottom: 2px solid var(--ttv2-green); }
.ttv2-shell-links .ttv2-shell-book { min-height: 48px; display: inline-flex; align-items: center; padding: 0 22px; border-radius: var(--ttv2-radius); background: var(--ttv2-orange); color: #fff !important; }
.ttv2-shell-menu { display: none; padding: 8px; border: 0; background: transparent; color: var(--ttv2-navy); font-size: 1.8rem; line-height: 1; }
.ttv2-site-footer { display: block !important; margin-top: 100px; padding: 52px 0 28px; background: var(--ttv2-navy); color: #fff; }
.ttv2-site-footer .ttv2-shell-brand { color: #fff !important; }
.ttv2-site-footer p { max-width: 420px; color: #c8d5de; font-size: .86rem; }
.ttv2-footer-grid { display: grid; grid-template-columns: 1fr auto auto; gap: 70px; padding-bottom: 38px; border-bottom: 1px solid rgba(255,255,255,.14); }
.ttv2-footer-links { display: grid; gap: 10px; font-size: .87rem; }
.ttv2-footer-links strong { margin-bottom: 8px; color: #fff; }
.ttv2-footer-links a { color: #dbe4ea !important; text-decoration: none !important; }
.ttv2-footer-bottom { display: flex; justify-content: space-between; gap: 20px; padding-top: 24px; color: #99acb9; font-size: .75rem; }

.ttv2-whatsapp {
  position: fixed;
  right: max(22px, env(safe-area-inset-right));
  bottom: max(22px, env(safe-area-inset-bottom));
  z-index: 999;
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 60px;
  height: 60px;
  padding: 0 18px 0 15px;
  border-radius: 999px;
  background: #25d366;
  color: #fff !important;
  font-family: Inter, Arial, sans-serif;
  font-weight: 700;
  text-decoration: none !important;
  box-shadow: 0 12px 30px rgba(16, 37, 54, .28);
}

.ttv2-whatsapp:hover { background: #1fb95a; transform: translateY(-2px); }
.ttv2-whatsapp svg { width: 30px; height: 30px; fill: currentColor; }

@media (max-width: 760px) {
  .ttv2-whatsapp { right: 16px; bottom: 16px; width: 58px; min-width: 58px; height: 58px; padding: 0; justify-content: center; }
  .ttv2-whatsapp span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; }
}

@media (max-width: 900px) {
  .ttv2-shell-nav { min-height: 68px; }
  .ttv2-shell-menu { display: block; }
  .ttv2-shell-links { position: absolute; top: 68px; left: 0; right: 0; display: none; flex-direction: column; align-items: stretch; padding: 24px; background: var(--ttv2-ivory); border-bottom: 1px solid #d9d6ce; white-space: normal; }
  .ttv2-shell-links.open { display: flex; }
  .ttv2-shell-portal { border-bottom: 0; }
}

@media (max-width: 760px) {
  .ttv2-shell-wrap { width: min(100% - 28px, 1180px); }
  .ttv2-footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .ttv2-footer-bottom { display: block; }
  .ttv2-footer-bottom span { display: block; margin-top: 8px; }
}

body.admin-bar.ttv2-homepage header { top: 32px; }
body.admin-bar .ttv2-site-header { top: 32px; }
#ttv2-header-fallback[hidden] { display: none !important; }
@media (max-width: 782px) { body.admin-bar.ttv2-homepage header { top: 46px; } }
@media (max-width: 782px) { body.admin-bar .ttv2-site-header { top: 46px; } }
