/* Extreme Energy Group — Company Profile 2026 · Mobile fit layer v1.0 (2026-09-26)
   Keeps the print design untouched. Phones only: page edge-to-edge, immersive landscape,
   pinch / double-tap zoom on the page. Desktop is not affected. */

/* ---------- portrait phone: page uses the full screen width ---------- */
html.fz-phone #fb-mid { touch-action: pan-x pan-y; }
html.fz-phone.fz-zoomed #fb-mid, html.fz-phone.fz-full #fb-mid { touch-action: none; }
html.fz-phone:not(.fz-full) #fb-mid { padding-left: 0 !important; padding-right: 0 !important;
  width: calc(100vw + 16px) !important; max-width: none !important; margin-left: -8px !important; flex: 1 1 auto; }
html.fz-phone #fb-shift { transform-origin: 0 0; }
html.fz-phone #fb-stage { overflow: hidden; }
html.fz-phone.fz-zoomed:not(.fz-full) #fb-mid { overflow: hidden; }
html.fz-phone.fz-zoomed:not(.fz-full) #fz-go { opacity: 0; pointer-events: none; }

/* full-page button (portrait) */
#fz-go { display: none; }
html.fz-phone.fz-port:not(.fz-full) #fz-go { display: inline-flex; }
#fz-go { position: fixed; z-index: 50; left: 50%; transform: translateX(-50%);
  bottom: calc(100px + env(safe-area-inset-bottom)); align-items: center; gap: 8px; min-height: 42px; padding: 0 16px;
  border-radius: 999px; border: 1px solid rgba(110,199,188,.5); background: rgba(7,31,53,.82); color: #E4EDF3;
  font: 600 13px/1 Manrope, system-ui, sans-serif; letter-spacing: .01em; cursor: pointer;
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); box-shadow: 0 8px 24px rgba(0,0,0,.28);
  -webkit-tap-highlight-color: transparent; }
#fz-go svg { flex: none; }
#fz-go:active { transform: translateX(-50%) scale(.97); }

/* ---------- full-page view: real landscape or rotated portrait ---------- */
html.fz-full, html.fz-full body { overflow: hidden !important; background: #071F35; }
html.fz-full #fb-top, html.fz-full #fb-svc, html.fz-full #fb-hint { display: none !important; }
html.fz-full #fb-mid { flex: none !important; padding: 0 !important; margin: 0 auto !important; max-width: none !important;
  height: calc(var(--fzH) + 36px) !important;
  width: calc(min(var(--fzW), var(--fzH) * 1.4204) + 16px) !important; align-self: center; }
html.fz-full #fb-stage { justify-content: center; align-items: center; }

/* rotated mode (portrait phone, no orientation lock available) */
html.fz-rot #fb-stage { position: fixed !important; inset: auto !important; top: 0 !important; left: 100vw !important;
  width: var(--fzW) !important; height: var(--fzH) !important; transform-origin: 0 0; transform: rotate(90deg); }

/* controls overlay in full-page view */
html.fz-full #fb-bot { position: absolute !important; left: 0; right: 0; bottom: 0; z-index: 20; padding: 0 12px 8px !important;
  justify-content: center; background: linear-gradient(0deg, rgba(7,31,53,.7), rgba(7,31,53,0)); transition: opacity .35s; }
html.fz-full.fz-idle #fb-bot { opacity: 0; pointer-events: none; }
html.fz-full #fb-fs { display: none !important; }
#fz-x { display: none; }
html.fz-full.fz-want #fz-x { display: grid; }
#fz-x { position: absolute; z-index: 21; top: 10px; right: 10px; width: 42px; height: 42px; place-items: center; border-radius: 999px;
  border: 1px solid rgba(162,181,196,.4); background: rgba(7,31,53,.78); color: #E4EDF3; cursor: pointer; transition: opacity .35s;
  -webkit-tap-highlight-color: transparent; }
html.fz-full.fz-idle #fz-x { opacity: 0; pointer-events: none; }

/* zoom hint */
#fz-tip { position: absolute; z-index: 22; left: 50%; top: 14px; transform: translateX(-50%); padding: 7px 12px; border-radius: 999px;
  background: rgba(7,31,53,.82); color: #A2B5C4; font: 500 11.5px/1.2 Manrope, system-ui, sans-serif; white-space: nowrap;
  pointer-events: none; opacity: 0; transition: opacity .4s; }
#fz-tip.on { opacity: 1; }
#fz-go:focus-visible, #fz-x:focus-visible { outline: 2px solid #6EC7BC; outline-offset: 2px; }

/* ---------- contact + WhatsApp: one control group in the bottom bar (all devices) ---------- */
#fz-fab { position: absolute; z-index: 5; right: 68px; top: 4px; height: 40px; display: flex; align-items: stretch;
  border-radius: 999px; border: 1px solid rgba(110,199,188,.45); background: rgba(11,38,61,.72);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); overflow: hidden;
  box-shadow: 0 0 0 1px rgba(7,31,53,.4), 0 6px 20px rgba(0,0,0,.25); transition: opacity .3s, border-color .2s; }
#fz-fab:hover { border-color: rgba(110,199,188,.8); }
#fz-wa, #fz-cta { display: inline-flex; align-items: center; gap: 8px; padding: 0 16px; border: 0; margin: 0; background: transparent;
  color: #E4EDF3; text-decoration: none; font: 600 13px/1 Manrope, system-ui, sans-serif; letter-spacing: .01em; cursor: pointer;
  -webkit-tap-highlight-color: transparent; transition: background .2s, color .2s; }
#fb-bot #fz-fab #fz-cta, #fb-bot #fz-fab #fz-wa { width: auto; height: 100%; border-radius: 0; border: 0; display: inline-flex; align-items: center; place-items: initial; }
#fb-bot #fz-fab > #fz-wa, #fb-bot #fz-fab > #fz-cta { display: inline-flex !important; align-items: center !important; justify-content: center; }
#fb-bot #fz-fab #fz-cta { color: #6EC7BC; }
#fb-bot #fz-fab #fz-cta:hover { color: #8FD8CF; }
#fb-bot #fz-fab #fz-wa { border-right: 1px solid rgba(110,199,188,.3); }
#fz-wa { padding-left: 14px; border-right: 1px solid rgba(110,199,188,.3); }
#fz-wa svg { color: #25D366; flex: none; }
#fz-cta { color: #6EC7BC; }
#fz-cta svg { flex: none; }
#fz-wa:hover { background: rgba(37,211,102,.12); }
#fz-cta:hover { background: rgba(110,199,188,.12); color: #8FD8CF; }
#fz-wa:active, #fz-cta:active { background: rgba(255,255,255,.08); }
@media (max-width: 820px) { #fz-wa span, #fz-cta span { display: none; } #fz-wa, #fz-cta { padding: 0 12px; } }
/* phones: compact icon pair floating above the page controls */
html.fz-phone #fz-fab { position: fixed; top: auto; right: 12px; bottom: calc(150px + env(safe-area-inset-bottom)); height: 44px; }
html.fz-phone #fz-wa span, html.fz-phone #fz-cta span { display: none; }
html.fz-phone #fz-wa, html.fz-phone #fz-cta { padding: 0 13px; }
html.fz-full #fz-fab, html.fz-zoomed #fz-fab { opacity: 0; pointer-events: none; }
#fz-cta:focus-visible, #fz-wa:focus-visible, #fz-sheet a:focus-visible, #fz-sheet button:focus-visible { outline: 2px solid #6EC7BC; outline-offset: -3px; }
#fz-sheet .fz-wa-row small { color: #25D366 !important; }
#fz-sheet { position: fixed; inset: 0; z-index: 70; background: rgba(4,16,28,.5); display: flex; align-items: flex-end; justify-content: center;
  opacity: 0; visibility: hidden; transition: opacity .25s, visibility .25s; }
#fz-sheet.on { opacity: 1; visibility: visible; }
#fz-sheet .fz-card { width: min(440px, 100%); max-height: 80vh; overflow: auto; background: #0B263D; color: #E4EDF3; border-radius: 16px 16px 0 0;
  padding: 8px 16px calc(16px + env(safe-area-inset-bottom)); transform: translateY(24px); transition: transform .3s cubic-bezier(.2,.8,.2,1);
  font-family: Manrope, system-ui, sans-serif; }
@media (min-width: 761px) { #fz-sheet { align-items: flex-end; justify-content: flex-end; padding: 0 16px 120px; } #fz-sheet .fz-card { border-radius: 16px; width: 360px; } }
#fz-sheet.on .fz-card { transform: none; }
#fz-sheet .fz-grab { width: 40px; height: 4px; border-radius: 2px; background: rgba(228,237,243,.3); margin: 6px auto 10px; }
#fz-sheet .fz-h { margin: 0 4px 6px; font: 500 11px/1.4 "IBM Plex Mono", ui-monospace, monospace; letter-spacing: .14em; text-transform: uppercase; color: #A2B5C4; }
#fz-sheet ul { list-style: none; margin: 0; padding: 0; }
#fz-sheet a { display: flex; flex-direction: column; gap: 3px; min-height: 44px; justify-content: center; padding: 10px 8px; border-radius: 10px;
  color: #E4EDF3; text-decoration: none; }
#fz-sheet a:hover, #fz-sheet a:active { background: rgba(110,199,188,.1); }
#fz-sheet a b { font: 600 15px/1.3 Manrope, system-ui, sans-serif; direction: ltr; }
#fz-sheet a small { font: 500 11px/1.2 "IBM Plex Mono", ui-monospace, monospace; letter-spacing: .08em; text-transform: uppercase; color: #6EC7BC; }
#fz-sheet .fz-row { display: flex; gap: 8px; margin-top: 10px; }
#fz-sheet .fz-row button { flex: 1; min-height: 44px; border-radius: 999px; border: 1px solid rgba(162,181,196,.35); background: transparent; color: #E4EDF3;
  font: 600 13px/1 Manrope, system-ui, sans-serif; cursor: pointer; }
#fz-sheet .fz-share { background: rgba(110,199,188,.14) !important; border-color: rgba(110,199,188,.5) !important; }
