/* Guidee Header CSS - Desktop + Mobile + Mega Tabs
 * Version 1.0.15
 * Last modified: 2026-02-26
 * Fixed: Mega menu full edge-to-edge white background using position: fixed ::before (robust, no clipping)
 * Solid #ffffff everywhere - no transparency possible
 * Content stays centered/max-width 1400px
 * All previous styles (button, logo, rows, typography, mega tabs) preserved exactly
 */

:root {
  --guidee-cherry: #D20001;
  --guidee-soft-pink: #FEC6E9;
  --guidee-cobalt: #0212ee;
  --guidee-sand: #F3F3E9;
}

/* Typography - exact specs, responsive clamp */
.guidee-h1 {
  font-size: clamp(44px, 5vw, 80px);
  line-height: 1.00;
  letter-spacing: 0.06em;
  font-weight: 700;
}

.guidee-h2 {
  font-size: clamp(32px, 4.5vw, 56px);
  line-height: 1.05;
  letter-spacing: 0.06em;
  font-weight: 700;
}

.guidee-h3 {
  font-size: clamp(28px, 3.5vw, 32px);
  line-height: 1.10;
  letter-spacing: 0.06em;
  font-weight: 700;
}

.guidee-h4 {
  font-size: clamp(18px, 2.5vw, 20px);
  line-height: 1.15;
  letter-spacing: 0.06em;
  font-weight: 700;
}

.guidee-body {
  font-size: clamp(16px, 2.2vw, 18px);
  line-height: 1.75;
  letter-spacing: 0.02em;
  font-weight: 400;
}

.guidee-body-medium {
  font-weight: 500;
}

.guidee-body-accent {
  font-size: clamp(16px, 2.2vw, 20px);
  line-height: 1.75;
  letter-spacing: 0.02em;
  font-weight: 600;
}

.guidee-all-caps {
  letter-spacing: 0.01em;
  text-transform: uppercase;
}

/* Header - always sticky, two lines */
.guidee-header-outer {
  position: sticky;
  top: 0;
  z-index: 9999;
  background: var(--guidee-sand);
  width: 100%;
  box-shadow: none;
}

/* Explicit height for Guidee Top Row */
.guidee-header-row1 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 5%;
  max-width: 1400px;
  margin: 0 auto;
  height: 72px !important;
  min-height: 72px !important;
}

.guidee-header-row2 {
  padding: 0 5%;
  max-width: 1400px;
  margin: -20px auto 0 auto !important;
}

/* Logo - exact from master */
.guidee-logo img {
  height: 48px;
  width: auto;
  aspect-ratio: 3.5 / 1;
  object-fit: contain;
  display: block;
}

/* Subscribe button - highest specificity */
.elementor-widget-button .guidee-subscribe-button .elementor-button,
.elementor-widget-button .guidee-subscribe-button a.elementor-button,
.guidee-subscribe-button .elementor-button,
.guidee-subscribe-button a.elementor-button {
  background: var(--guidee-cobalt) !important;
  color: #ffffff !important;
  padding: 14px 42px !important;
  border-radius: 9999px !important;
  font-weight: 700 !important;
  font-size: 16px !important;
  line-height: 1 !important;
  height: 40px !important;
  min-height: 40px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  border: 2px solid var(--guidee-cobalt) !important;
  text-decoration: none !important;
  box-shadow: none !important;
  box-sizing: border-box !important;
  transition: all 0.2s ease !important;
  width: auto !important;
}

.elementor-widget-button .guidee-subscribe-button .elementor-button:hover,
.elementor-widget-button .guidee-subscribe-button a.elementor-button:hover,
.guidee-subscribe-button .elementor-button:hover,
.guidee-subscribe-button a.elementor-button:hover {
  background: #ffffff !important;
  color: var(--guidee-cobalt) !important;
  border: 2px solid var(--guidee-cobalt) !important;
  box-shadow: none !important;
}

/* Mega menu horizontal L2 tabs */
.guidee-mega-tabs {
  display: flex;
  gap: 4px;
  overflow-x: auto;
  padding: 12px 0;
  scrollbar-width: none;
}

.guidee-mega-tabs::-webkit-scrollbar {
  display: none;
}

.guidee-mega-tab {
  padding: 10px 24px;
  background: transparent;
  color: var(--guidee-cobalt);
  font-weight: 700;
  font-size: 16px;
  white-space: nowrap;
  border-radius: 9999px;
  transition: all 0.2s ease;
  cursor: pointer;
  border: 2px solid transparent;
}

.guidee-mega-tab.active,
.guidee-mega-tab:hover {
  background: var(--guidee-soft-pink);
  color: var(--guidee-cobalt);
  border-color: var(--guidee-soft-pink);
}

/* Mega menu full edge-to-edge white background (robust fixed method) */
.mega-menu-wrap {
  position: relative;
  background: transparent !important;
  overflow: visible !important;
}

.mega-menu-wrap::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100vw;
  height: 100vh;
  background: #ffffff !important;
  z-index: -2;
  pointer-events: none;
}

/* Mega panel content - stays centered/max-width, solid white */
.guidee-mega-panel {
  display: flex;
  gap: 40px;
  padding: 32px 0;
  position: relative;
  z-index: 1;
  max-width: 1400px;
  margin: 0 auto;
  background: #ffffff !important;
}

.mega-sub-menu,
.mega-menu-row,
.mega-menu-column {
  background: #ffffff !important;
}

.guidee-mega-left {
  width: 25%;
  background: #ffffff;
  padding: 24px;
  border-radius: 12px;
}

.guidee-mega-right {
  width: 75%;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 32px;
}

.guidee-mega-l3 {
  font-weight: 700;
  font-size: 18px;
  margin-bottom: 12px;
  color: #000000;
}

.guidee-mega-l4-list {
  list-style: none;
  padding: 0;
}

.guidee-mega-l4-list li {
  margin-bottom: 8px;
}

.guidee-mega-l4-list a {
  color: #333333;
  text-decoration: none;
}

.guidee-mega-l4-list a:hover {
  color: var(--guidee-cobalt);
}

/* Mobile */
@media (max-width: 767px) {
  .guidee-header-row1 {
    height: 64px !important;
    min-height: 64px !important;
    padding: 8px 5%;
  }

  .guidee-logo img {
    height: 40px;
  }

  .guidee-header-row2 {
    margin-top: -16px !important;
  }

  .elementor-widget-button .guidee-subscribe-button .elementor-button,
  .elementor-widget-button .guidee-subscribe-button a.elementor-button,
  .guidee-subscribe-button .elementor-button,
  .guidee-subscribe-button a.elementor-button {
    height: 40px !important;
    min-height: 40px !important;
    padding: 12px 36px !important;
  }

  .guidee-mega-panel {
    flex-direction: column;
  }

  .guidee-mega-left,
  .guidee-mega-right {
    width: 100%;
  }

  .mega-menu-wrap::before {
    position: absolute;
    left: 0;
    right: 0;
    width: 100%;
    height: 100%;
  }
}