/* ==========================================================================
   TASHA Events - audit enhancements (October 2026)
   Loaded after main.css, pages.css, portal.css and host.css.

    1. Responsive split layouts            (audit 13)
    2. Mobile quick contact bar            (audit 9)
    3. Calculator: total bar + animation   (audit 6)
    4. Consent line under forms            (audit 1)
    5. Legal pages                         (audit 1)
    6. Event pages: terms box              (audit 1)
    7. Google reviews                      (audit 8)
    8. Case studies                        (audit 4)
    9. Footer closing CTA + legal links    (audit 11)
   10. Host: compact estimate block        (audit 5)
   11. Small shared bits
   ========================================================================== */

/* ==========================================================================
   1. Responsive split layouts
   The detail pages used inline two-column grids with no breakpoint, so on a
   phone both columns were squeezed side by side. These classes replace them.
   ========================================================================== */

.split {
  display: grid;
  gap: 80px;
  align-items: start;
}
.split--lead { grid-template-columns: 1.5fr 1fr; }
.split--hero { grid-template-columns: 1.4fr 1fr; align-items: end; }
.split--faq  { grid-template-columns: 1fr 2fr; }

.detail-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.gallery-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.upcoming-events-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.event-aside {
  background: var(--bg-alt);
  border: 1px solid var(--rule);
  padding: 32px;
  border-radius: 6px;
  position: sticky;
  top: 96px;
}

.cta-pair {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

@media (max-width: 1023px) {
  .upcoming-events-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .split,
  .split--lead,
  .split--hero,
  .split--faq { grid-template-columns: 1fr; gap: 40px; }

  .service-detail-page__sticky-aside,
  .event-aside { position: static; }
}

@media (max-width: 600px) {
  .gallery-2,
  .upcoming-events-grid { grid-template-columns: 1fr; }
  .detail-grid-2 { grid-template-columns: 1fr; gap: 16px; }
  .event-aside { padding: 24px; }
  .cta-pair .btn { width: 100%; justify-content: center; }
}

/* ==========================================================================
   2. Mobile quick contact bar - WhatsApp + call
   Fixed to the bottom on phones and tablets, slides in after the first
   screen, steps aside while the menu or the calculator bar is open.
   ========================================================================== */

.mobile-contact-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 90;
  display: none;
  gap: 1px;
  background: var(--rule);
  border-top: 1px solid var(--rule);
  padding-bottom: env(safe-area-inset-bottom);
  transform: translateY(110%);
  transition: transform .28s cubic-bezier(.2, .7, .2, 1);
}
.mobile-contact-bar.is-visible { transform: translateY(0); }

body.menu-open .mobile-contact-bar,
body.has-bcalc-bar .mobile-contact-bar { transform: translateY(110%); }

.mobile-contact-bar__btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 15px 12px;
  font-family: var(--font-ui);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  text-decoration: none;
}
.mobile-contact-bar__btn--wa   { background: #25d366; color: #0a1d13; }
.mobile-contact-bar__btn--call { background: var(--green-deep); color: #f3ebd9; }

@media (max-width: 1023px) {
  .mobile-contact-bar { display: flex; }
  body.has-contact-bar { padding-bottom: 56px; }
}

/* ==========================================================================
   3. Calculator - the total follows the user
   Desktop: the right column is sticky (portal.css) and now scrolls inside
   itself when taller than the viewport. Mobile: a fixed bar with the running
   total and the quote button. The number counts up/down when it changes.
   ========================================================================== */

.bcalc-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 95;
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  background: var(--green-deep);
  color: #f3ebd9;
  box-shadow: 0 -12px 32px rgba(7, 18, 12, .35);
  transform: translateY(110%);
  transition: transform .28s cubic-bezier(.2, .7, .2, 1);
}
.bcalc-bar.is-visible { transform: translateY(0); }
body.menu-open .bcalc-bar { transform: translateY(110%); }

.bcalc-bar__total { flex: 1 1 auto; display: flex; flex-direction: column; min-width: 0; }
.bcalc-bar__label {
  font-family: var(--font-ui);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--gold-bright);
  white-space: nowrap;
}
.bcalc-bar__value {
  font-family: var(--font-editorial);
  font-size: 20px;
  line-height: 1.1;
  font-weight: 500;
  white-space: nowrap;
}
.bcalc-bar__btn {
  flex: 0 0 auto;
  padding: 11px 14px;
  font-size: 11px;
  letter-spacing: .06em;
  white-space: nowrap;
}
@media (max-width: 400px) {
  .bcalc-bar__label { display: none; }
  .bcalc-bar__value { font-size: 18px; }
}

@media (max-width: 960px) {
  .bcalc-bar { display: flex; }
  body.has-bcalc-bar { padding-bottom: 72px; }
}

.bcalc__total-value { display: inline-block; transition: transform .25s ease; }
.bcalc__total-value.is-ticking { transform: scale(1.03); }

.bcalc__alt {
  margin: 16px 0 0;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 6px;
  font-family: var(--font-ui);
  font-size: 12.5px;
  color: rgba(243, 235, 217, .65);
}
.bcalc__alt .bcalc__alt-link { display: inline; margin: 0; }

/* ==========================================================================
   4. Consent line under every form (GDPR / AVG)
   ========================================================================== */

.form-consent {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 10px;
  font-family: var(--font-ui);
  font-size: 13px;
  line-height: 1.5;
  color: var(--ink-soft);
  cursor: pointer;
}
.form-consent input[type="checkbox"] {
  flex: none;
  width: 18px;
  height: 18px;
  margin: 2px 0 0;
  padding: 0;
  accent-color: var(--accent);
  cursor: pointer;
}
.form-consent a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* .contact-form label is a column flex with 100%-wide inputs - undo that here. */
.contact-form .form-consent { flex-direction: row; gap: 10px; }
.contact-form .form-consent input[type="checkbox"] { width: 18px; padding: 0; border: none; }

/* Dark variant inside the calculator's total card. */
.form-consent--dark { color: rgba(243, 235, 217, .72); }
.form-consent--dark a { color: var(--gold-bright); }
.form-consent--dark input[type="checkbox"] { accent-color: var(--gold-mid); }
.bcalc-lead .form-consent { margin-top: 4px; }

/* ==========================================================================
   5. Legal pages (Privacy Policy, Terms of Use)
   ========================================================================== */

.legal-hero {
  padding: 72px 0 40px;
  background: var(--bg);
  border-bottom: 1px solid var(--rule);
}
.legal-breadcrumb { font-size: 12px; color: var(--ink-soft); margin-bottom: 24px; }
.legal-breadcrumb .sep { margin: 0 8px; }
.legal-h1 {
  font-size: clamp(40px, 5.5vw, 80px);
  line-height: .95;
  letter-spacing: -.035em;
  font-weight: 400;
}
.legal-updated { margin-top: 14px; font-size: 13px; color: var(--ink-soft); }

.legal-langs { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 28px; }
.legal-lang {
  font-family: var(--font-ui);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .04em;
  padding: 9px 16px;
  border-radius: 999px;
  border: 1px solid var(--rule);
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  transition: all .18s;
}
.legal-lang:hover { border-color: var(--accent); color: var(--accent); }
.legal-lang.is-active {
  border-color: var(--accent);
  background: var(--accent-soft);
  color: var(--accent-deep);
}

.legal-body { padding: 56px 0 120px; background: var(--bg); }
.legal-container { max-width: 820px; }

.legal-doc__title {
  font-size: clamp(28px, 3.3vw, 44px);
  line-height: 1.05;
  letter-spacing: -.025em;
  font-weight: 400;
  margin-bottom: 8px;
}
.legal-doc__subtitle {
  font-family: var(--font-editorial);
  font-style: italic;
  font-size: 18px;
  color: var(--ink-soft);
  margin-bottom: 20px;
}
.legal-doc__intro {
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  margin-bottom: 36px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--rule);
}

.legal-section + .legal-section { margin-top: 32px; }
.legal-section h3 {
  font-family: var(--font-editorial);
  font-size: 24px;
  font-weight: 500;
  letter-spacing: -.015em;
  line-height: 1.2;
  margin-bottom: 12px;
}
.legal-section__num { color: var(--gold-deep); margin-right: 4px; }
.legal-section p {
  font-size: 15.5px;
  line-height: 1.7;
  color: var(--ink-soft);
  margin-bottom: 12px;
}
.legal-section ul { list-style: none; margin: 0 0 12px; padding: 0; }
.legal-section li {
  position: relative;
  padding-left: 22px;
  font-size: 15.5px;
  line-height: 1.7;
  color: var(--ink-soft);
}
.legal-section li + li { margin-top: 8px; }
.legal-section li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 13px;
  width: 10px;
  height: 1px;
  background: var(--gold-mid);
}

.legal-doc__extra { margin-top: 36px; padding-top: 28px; border-top: 1px solid var(--rule); }
.legal-doc__cross { margin-top: 40px; font-weight: 600; }
.legal-doc__cross a { color: var(--accent); border-bottom: 1px solid currentColor; }

@media (max-width: 767px) {
  .legal-hero { padding: 48px 0 28px; }
  .legal-body { padding: 40px 0 72px; }
}

/* ==========================================================================
   6. Event pages: return & responsibility box + terms checkbox
   ========================================================================== */

.event-terms {
  margin: 0 0 16px;
  padding: 16px 18px;
  border: 1px solid var(--rule);
  border-radius: 6px;
  background: var(--bg);
}
.event-terms__title {
  font-family: var(--font-ui);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 8px;
}
.event-terms__list { list-style: none; margin: 0 0 12px; padding: 0; }
.event-terms__list li {
  position: relative;
  padding-left: 18px;
  font-size: 13px;
  line-height: 1.5;
  color: var(--ink-soft);
}
.event-terms__list li + li { margin-top: 4px; }
.event-terms__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 8px;
  height: 1px;
  background: var(--gold-mid);
}
.event-terms__check { padding-top: 10px; border-top: 1px solid var(--rule); color: var(--ink); }

.event-terms.is-shake { animation: termsShake .4s; }
@keyframes termsShake {
  0%, 100% { transform: translateX(0); }
  25%       { transform: translateX(-4px); }
  75%       { transform: translateX(4px); }
}

.btn.is-disabled { opacity: .45; cursor: not-allowed; filter: grayscale(.3); }
.btn.is-disabled:hover { transform: none; }

/* ==========================================================================
   7. Google reviews
   ========================================================================== */

.greviews { padding: var(--section-pad) 0; background: var(--bg); }
.greviews--alt { background: var(--bg-alt); }

.greviews__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}
.greviews__h2 {
  margin: 0;
  font-size: clamp(34px, 4.2vw, 56px);
  line-height: 1;
  letter-spacing: -.028em;
  font-weight: 400;
}
.greviews__h2 em { color: var(--accent); }

.greviews__score {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  border: 1px solid var(--rule);
  border-radius: 6px;
  background: var(--bg);
}
.greviews--alt .greviews__score { background: var(--bg); }
.greviews__score-row { display: flex; align-items: center; gap: 8px; }
.greviews__score-num { font-size: 26px; line-height: 1; font-weight: 500; }
.greviews__count { font-size: 12.5px; color: var(--ink-soft); margin-top: 4px; }
.greviews__link { color: var(--accent); font-weight: 600; }

.gstars { display: inline-flex; gap: 2px; vertical-align: middle; }
.gstars__star { width: 15px; height: 15px; fill: #d8cfbe; }
.gstars__star.is-on   { fill: #fbbc04; }
.gstars__star.is-half { fill: #fbbc04; opacity: .55; }

.greviews__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  align-items: start;
}

.greview {
  background: var(--bg-alt);
  border: 1px solid var(--rule);
  border-radius: 6px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.greviews--alt .greview { background: var(--bg); }

.greview__top { display: flex; align-items: center; gap: 12px; }
.greview__avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  flex: none;
}
.greview__avatar--initial {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--green-deep);
  color: var(--gold-bright);
  font-family: var(--font-editorial);
  font-size: 18px;
  font-weight: 500;
}
.greview__who { flex: 1; min-width: 0; }
.greview__author { font-size: 14px; font-weight: 600; color: var(--ink); }
.greview__author a { color: inherit; }
.greview__meta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 2px;
  font-size: 12px;
  color: var(--ink-soft);
}
.greview__g { flex: none; display: flex; }
.greview__text {
  font-family: var(--font-editorial);
  font-size: 16.5px;
  line-height: 1.5;
  font-style: italic;
  color: var(--ink);
  margin: 0;
}

.greviews__foot { margin-top: 32px; display: flex; justify-content: center; }
.greviews__btn { gap: 10px; }

@media (max-width: 900px) {
  .greviews { padding: var(--section-pad-m) 0; }
  .greviews__head { margin-bottom: 28px; }
  .greviews__grid { grid-template-columns: 1fr; }
}

/* ==========================================================================
   8. Case studies
   ========================================================================== */

a.home-case { color: inherit; text-decoration: none; }
.home-case__more {
  margin-top: 14px;
  font-family: var(--font-ui);
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
}

.case-hero {
  min-height: clamp(480px, 62vh, 720px);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.case-hero__photo {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center 30%;
  filter: brightness(.7);
}
.case-hero__scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 29, 19, .45) 0%, rgba(10, 29, 19, .2) 40%, rgba(10, 29, 19, .95) 100%);
}
.case-hero__inner { position: relative; z-index: 1; padding: 120px 0 64px; }
.case-hero__kicker {
  margin: 24px 0 14px;
  font-family: var(--font-ui);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: rgba(246, 217, 122, .85);
}
.case-hero__h1 {
  font-size: clamp(40px, 6.6vw, 96px);
  line-height: .95;
  letter-spacing: -.035em;
  font-weight: 400;
  margin: 0 0 18px;
  max-width: 16ch;
}
.case-hero__lead {
  font-size: clamp(17px, 1.6vw, 22px);
  font-style: italic;
  color: rgba(243, 235, 217, .85);
  max-width: 680px;
  line-height: 1.4;
  margin: 0;
}

.case-strip { background: var(--green-deep); color: #f3ebd9; }
.case-strip__list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; }
.case-strip__item {
  flex: 1 1 160px;
  padding: 22px 24px;
  border-right: 1px solid rgba(246, 217, 122, .15);
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.case-strip__item:last-child { border-right: none; }
.case-strip__label {
  font-family: var(--font-ui);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(246, 217, 122, .8);
}
.case-strip__value { font-size: 22px; font-weight: 500; line-height: 1.1; }

.case-body { padding: var(--section-pad) 0; background: var(--bg); }
.case-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 80px;
  align-items: start;
}
.case-main { display: flex; flex-direction: column; gap: 56px; }
.case-section__label { margin-bottom: 12px; }
.case-section__h2 {
  font-size: clamp(26px, 3vw, 44px);
  line-height: 1.05;
  letter-spacing: -.025em;
  font-weight: 400;
  margin: 0 0 18px;
}
.case-section__text { font-size: 16px; line-height: 1.7; color: var(--ink-soft); }
.case-section__text--lead { font-size: 19px; line-height: 1.55; color: var(--ink); }
.case-section__content.post-body { max-width: none; margin: 0; padding: 0; }

.case-constraints {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
  margin: 0;
}
.case-constraints__row {
  padding: 16px 18px;
  border: 1px solid var(--rule);
  border-radius: 6px;
  background: var(--bg-alt);
}
.case-constraints dt {
  font-family: var(--font-ui);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 6px;
}
.case-constraints dd {
  margin: 0;
  font-family: var(--font-editorial);
  font-size: 18px;
  font-weight: 500;
  color: var(--ink);
}

.case-aside { position: sticky; top: 96px; }
.case-aside__card {
  background: var(--green-deep);
  color: #f3ebd9;
  border-radius: 6px;
  padding: 32px;
  box-shadow: 0 24px 60px rgba(7, 18, 12, .3);
}
.case-aside__label { color: var(--gold-bright); margin-bottom: 18px; }
.case-results {
  list-style: none;
  margin: 0 0 24px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.case-result {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(246, 217, 122, .18);
}
.case-result:last-child { border-bottom: none; padding-bottom: 0; }
.case-result__value {
  font-size: clamp(26px, 2.6vw, 36px);
  line-height: 1.05;
  letter-spacing: -.02em;
  font-weight: 500;
}
.case-result__label { font-size: 12.5px; color: rgba(243, 235, 217, .65); }
.case-aside__note { font-size: 14.5px; line-height: 1.6; color: rgba(243, 235, 217, .8); margin-bottom: 24px; }
.case-aside__ctas { display: flex; flex-direction: column; gap: 8px; }

.case-gallery-section { padding: var(--section-pad) 0; background: var(--bg-alt); }
.case-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.case-gallery__item {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: 4px;
  overflow: hidden;
  cursor: zoom-in;
}
.case-gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .4s;
}
.case-gallery__item:hover img { transform: scale(1.04); }

.case-quote { padding: var(--section-pad) 0; }
.case-quote__inner { max-width: 920px; text-align: center; }
.case-quote__text {
  font-size: clamp(22px, 2.6vw, 36px);
  line-height: 1.3;
  letter-spacing: -.015em;
  font-style: italic;
  color: #f3ebd9;
  font-weight: 400;
  margin: 0 0 32px;
}
.case-quote__by { margin-top: 16px; font-size: 13px; font-weight: 600; color: #f3ebd9; }
.case-quote__meta { font-weight: 400; color: rgba(243, 235, 217, .65); }

@media (max-width: 900px) {
  .case-grid { grid-template-columns: 1fr; gap: 40px; }
  .case-aside { position: static; }
  .case-main { gap: 40px; }
  .case-body,
  .case-gallery-section,
  .case-quote { padding: var(--section-pad-m) 0; }
  .case-gallery { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .case-hero__inner { padding: 96px 0 40px; }
  .case-strip__item {
    flex-basis: 50%;
    padding: 16px 20px;
    border-bottom: 1px solid rgba(246, 217, 122, .15);
  }
}

/* ==========================================================================
   9. Footer: a closing CTA instead of empty dark space, plus legal links
   ========================================================================== */

.gala-footer { padding: 72px 0 32px; }
.gala-footer__center { margin-bottom: 48px; }
.gala-footer__brand-label {
  font-family: var(--font-ui);
  font-size: 10px;
  letter-spacing: .4em;
  text-transform: uppercase;
  font-weight: 600;
  color: rgba(246, 217, 122, .85);
  margin-top: 8px;
}
.gala-footer__strapline { margin: 22px auto 24px; }
.gala-footer__cta {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}
.gala-footer__legal { display: flex; gap: 16px; flex-wrap: wrap; }
.gala-footer__legal a { color: rgba(243, 235, 217, .55); transition: color .2s; }
.gala-footer__legal a:hover { color: rgba(246, 217, 122, .9); }

@media (max-width: 767px) {
  .gala-footer { padding: 56px 20px 24px; }
  .gala-footer__cta .btn { width: 100%; justify-content: center; }
  .gala-footer__bottom { flex-direction: column; align-items: flex-start; }
}

/* ==========================================================================
   10. Host by Tasha: a compact pointer to the calculator
   ========================================================================== */

.host-estimate { padding: 110px 0; }
.host-estimate__inner { text-align: center; max-width: 760px; }
.host-estimate__eyebrow {
  font-family: var(--font-ui);
  font-size: 11px;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: rgba(246, 217, 122, .85);
  font-weight: 600;
  margin: 16px 0;
}
.host-estimate__h2 { margin: 0 0 16px; }
.host-estimate__sub {
  font-family: var(--font-editorial);
  font-size: clamp(16px, 1.6vw, 20px);
  font-style: italic;
  color: rgba(243, 235, 217, .8);
  margin: 0 auto 32px;
  max-width: 560px;
  line-height: 1.4;
}
.host-estimate__ctas { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; }

@media (max-width: 767px) {
  .host-estimate { padding: 56px 0; }
  .host-estimate__ctas .btn { width: 100%; justify-content: center; }
}

/* ==========================================================================
   11. Small shared bits
   ========================================================================== */

/* The biz-case card links to the full case study. */
.biz-case__client a { color: inherit; }
.biz-case__client a:hover { color: var(--accent); }
.biz-case__more { margin-top: 18px; align-self: flex-start; }
