/* GTM card: tab on the left edge of the homepage, card slides in from the left. */
.gc-tab {
  position: fixed; left: 0; top: 50%; z-index: 60;
  transform: translate(-6px, -50%); transition: transform .25s ease, box-shadow .25s ease;
  display: flex; flex-direction: column; align-items: center; gap: .45rem;
  padding: .8rem .45rem .8rem .7rem; border: 1px solid #1f3a38; border-left: none;
  border-radius: 0 14px 14px 0; cursor: pointer; font-family: inherit;
  background: #0b1211; color: #e6f4f2; box-shadow: 0 10px 25px rgba(15,60,62,.25);
}
.gc-tab:hover, .gc-tab:focus-visible { transform: translate(0, -50%); box-shadow: 0 14px 30px rgba(15,60,62,.35); outline: none; }
.gc-tab span { writing-mode: vertical-rl; transform: rotate(180deg); font-size: .66rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; }
.gc-tab img { width: 28px; height: 28px; border-radius: 6px; border: 1.5px solid #3fd0d6; display: block; image-rendering: pixelated; }
.gc-tab.gc-hide { transform: translate(-110%, -50%); }

.gc-backdrop { position: fixed; inset: 0; z-index: 200; background: rgba(8,20,20,.45); backdrop-filter: blur(3px); opacity: 0; pointer-events: none; transition: opacity .3s ease; }
.gc-open .gc-backdrop { opacity: 1; pointer-events: auto; }

.gc-drawer {
  --c-bg: #0d1716; --c-panel: #13221f; --c-line: #22403d; --c-text: #e8f3f1; --c-muted: #93b1ae; --c-accent: #46c9cf;
  position: fixed; z-index: 201; left: 0; top: 0; bottom: 0; width: min(460px, 100vw);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .9rem;
  padding: 1.2rem 1.25rem; overflow-y: auto;
  transform: translateX(-105%); transition: transform .45s cubic-bezier(.3,1,.4,1);
  perspective: 1600px; pointer-events: none;
}
.gc-open .gc-drawer { transform: translateX(0); pointer-events: auto; }
.gc-close {
  position: absolute; top: 1rem; right: 1rem; width: 34px; height: 34px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.35); background: rgba(11,18,17,.7); color: #fff; font-size: 1.1rem; cursor: pointer; line-height: 1;
}
.gc-actions { display: flex; gap: .5rem; }
.gc-actions a { font-size: .8rem; font-weight: 600; padding: .5rem 1rem; border-radius: 999px; background: #fff; color: #0B6B70; text-decoration: none; }
.gc-actions a.primary { background: radial-gradient(circle at top left, #36b3b8, #0B6B70); color: #fff; }

/* card: both faces share one grid cell, so the card is as tall as the taller face */
.gc-card { display: grid; width: min(380px, calc(100vw - 40px)); transform-style: preserve-3d; transition: transform .7s cubic-bezier(.3,1,.4,1); font-family: "Sora", system-ui, -apple-system, "Segoe UI", sans-serif; line-height: 1.5; text-align: left; }
.gc-card.is-flipped { transform: rotateY(180deg); }
.gc-face {
  grid-area: 1 / 1; backface-visibility: hidden; -webkit-backface-visibility: hidden;
  border-radius: 20px; color: var(--c-text); background: var(--c-bg);
  border: 1px solid var(--c-line); box-shadow: 0 30px 60px rgba(0,0,0,.4);
  padding: 1.15rem 1.15rem 1rem; display: flex; flex-direction: column; gap: .85rem;
}
.gc-back { transform: rotateY(180deg); }

.gc-head { display: flex; gap: .85rem; align-items: center; }
.gc-head img { width: 84px; height: 84px; border-radius: 12px; border: 1px solid var(--c-line); flex: none; image-rendering: pixelated; image-rendering: crisp-edges; }
.gc-name { font-size: 1.15rem; font-weight: 700; letter-spacing: -.01em; line-height: 1.2; }
.gc-role { font-size: .74rem; color: var(--c-accent); margin-top: .15rem; }
.gc-loc { font-size: .7rem; color: var(--c-muted); }
.gc-line { font-size: .78rem; color: var(--c-text); margin: 0; }
.gc-now ul { margin: 0; padding: 0; list-style: none; display: grid; gap: .2rem; }
.gc-now li { font-size: .72rem; color: var(--c-text); padding-left: .85rem; position: relative; }
.gc-now li::before { content: "›"; position: absolute; left: 0; color: var(--c-accent); }
.gc-now-dot { display: inline-block; width: 6px; height: 6px; border-radius: 999px; background: #22c55e; margin-right: .4rem; vertical-align: middle; }

.gc-h { font-size: .6rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--c-muted); margin: 0 0 .4rem; }
.gc-focus { display: flex; flex-wrap: wrap; gap: .3rem; }
.gc-focus span { font-size: .66rem; padding: .2rem .55rem; border-radius: 999px; background: rgba(70,201,207,.12); color: var(--c-accent); border: 1px solid rgba(70,201,207,.25); }

.gc-stack { display: grid; gap: .38rem; }
.gc-row { display: grid; grid-template-columns: 6.4rem 1fr; gap: .5rem; align-items: start; }
.gc-row > span { font-size: .66rem; color: var(--c-muted); padding-top: .18rem; }
.gc-row div { display: flex; flex-wrap: wrap; gap: .25rem; }
.gc-row div span { font-size: .66rem; padding: .16rem .5rem; border-radius: 6px; background: var(--c-panel); border: 1px solid var(--c-line); }

.gc-nums { display: grid; grid-template-columns: 1fr 1fr; gap: .45rem; }
.gc-num { background: var(--c-panel); border: 1px solid var(--c-line); border-radius: 12px; padding: .55rem .65rem; }
.gc-num b { display: block; font-size: 1.1rem; color: var(--c-accent); letter-spacing: -.01em; }
.gc-num span { font-size: .64rem; color: var(--c-muted); line-height: 1.35; display: block; }
.gc-builds { display: grid; gap: .45rem; }
.gc-build b { display: block; font-size: .74rem; font-weight: 600; }
.gc-build span { display: block; font-size: .66rem; color: var(--c-muted); line-height: 1.4; }

.gc-foot { margin-top: auto; display: flex; justify-content: space-between; align-items: center; gap: .5rem; border-top: 1px solid var(--c-line); padding-top: .7rem; }
.gc-foot a { font-size: .68rem; color: var(--c-muted); text-decoration: none; }
.gc-foot a:hover { color: var(--c-text); }
.gc-flip { font-family: inherit; font-size: .72rem; font-weight: 600; color: var(--c-accent); background: none; border: 1px solid rgba(70,201,207,.35); border-radius: 999px; padding: .32rem .75rem; cursor: pointer; }
.gc-flip:hover, .gc-flip:focus-visible { background: rgba(70,201,207,.12); outline: none; }
.gc-links { display: flex; gap: .8rem; }
.gc-empty { color: var(--c-muted); font-size: .8rem; padding: 2rem 0; text-align: center; }

@media (max-width: 600px) {
  .gc-tab { top: auto; bottom: 6.5rem; transform: translate(-4px, 0); padding: .65rem .35rem .65rem .55rem; }
  .gc-tab:hover, .gc-tab:focus-visible { transform: translate(0, 0); }
  .gc-tab.gc-hide { transform: translate(-110%, 0); }
  .gc-drawer { width: 100vw; justify-content: flex-start; padding-top: 3.8rem; }
}
/* phones: homepage only */
@media (max-width: 600px) { .gc-not-home .gc-tab { display: none; } }
@media (prefers-reduced-motion: reduce) { .gc-tab, .gc-drawer, .gc-card, .gc-backdrop { transition: none; } }
/* Phones: card fits the screen, close button always reachable, booking button out of the way. */
.gc-open #book-call-fab { display: none !important; }
@media (max-width: 600px) {
  .gc-drawer { padding: 4.2rem 12px 1.5rem; }
  .gc-close { position: fixed; top: max(14px, env(safe-area-inset-top, 0px)); right: 14px; width: 40px; height: 40px; z-index: 3; background: #0b1211; }
  .gc-card { width: 100%; zoom: .88; }
  .gc-face { padding: 1rem !important; }
}
