/* ==========================================================================
   INFOPTIC CORE — ELEMENTOR HERO WIDGET STYLES
   Pixel-perfect 1:1 match with Infoptic Refont v2/styles.css
   Preserve identity: Navy #062345 / Blue #2345A3 / Sky #77C5F1
   Fonts: Orbitron (display) + Inter (body)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Orbitron:wght@600;700;800&display=swap');

.infoptic-hero {
  position: relative;
  overflow: hidden;
  width: 100%;
  box-sizing: border-box;
  font-family: var(--font-body, 'Inter', system-ui, -apple-system, sans-serif);
  color: var(--ink, #1b2330);
  background-color: #ffffff;
  padding: 52px 0 56px;
  min-height: 440px;
}

.infoptic-hero *,
.infoptic-hero *::before,
.infoptic-hero *::after {
  box-sizing: border-box;
}

/* Background wrap & Panoramic Lenses Layer */
.infoptic-hero__bg-wrap {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.infoptic-hero__bg-inner {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.infoptic-hero__bg-img {
  position: absolute;
  right: 0;
  top: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: right center;
  transform: translate(var(--hero-bg-x, 0), var(--hero-bg-y, 0));
  display: block;
}

/* Smooth gradient mask to ensure left content has 100% crystal clear legibility */
.infoptic-hero__bg-fade {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    var(--hero-fade-color, #ffffff) 0%,
    var(--hero-fade-color, #ffffff) calc(var(--hero-fade-width, 68%) * 0.45),
    rgba(255, 255, 255, 0.85) calc(var(--hero-fade-width, 68%) * 0.65),
    rgba(255, 255, 255, 0.20) calc(var(--hero-fade-width, 68%) * 0.85),
    transparent var(--hero-fade-width, 68%)
  );
  pointer-events: none;
}

/* Container override: 1240px centered */
.infoptic-hero .container,
.infoptic-hero__container {
  width: min(100% - 48px, 1260px) !important;
  max-width: 1260px !important;
  margin-inline: auto !important;
  padding-inline: 0 !important;
  position: relative;
  z-index: 1;
}

@media (max-width: 640px) {
  .infoptic-hero .container,
  .infoptic-hero__container {
    width: min(100% - 32px, 1260px) !important;
  }
}

/* Hero Layout: Content on Left, Empty space showing Lenses in Center-Right, Pillars on Far Right */
.infoptic-hero__layout {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 380px;
  position: relative;
  z-index: 1;
  gap: 32px;
}

/* Left Content Column */
.infoptic-hero__content,
.infoptic-hero .hero-content {
  max-width: 580px;
  flex: 0 0 auto;
  position: relative;
  z-index: 2;
}

/* Kicker / Subline */
.infoptic-hero__subline,
.infoptic-hero .hero-subline {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.infoptic-hero__brand-bar,
.infoptic-hero .brand-bar {
  width: 32px;
  height: 3px;
  background: #3caef5;
  border-radius: 2px;
  display: inline-block;
  flex-shrink: 0;
}

.infoptic-hero__subline-text,
.infoptic-hero .hero-subline .subline-text {
  font-family: var(--font-display, 'Orbitron', system-ui, sans-serif);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #034aaa;
  line-height: 1.2;
}

/* Hero Title - CleanShot exact match */
.infoptic-hero__title,
.infoptic-hero .hero-title {
  font-family: var(--font-display, 'Orbitron', system-ui, sans-serif);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -.025em;
  font-size: clamp(2.1rem, 3.8vw, 3.25rem);
  color: #0d2f52;
  margin: 0 0 18px;
}

.infoptic-hero__title-line {
  display: block;
  color: #0d2f52;
}

/* Vivid Cyan Accent matching CleanShot (Hex #48aff6 / #63b8f5) */
.infoptic-hero__title-highlight,
.infoptic-hero__title .accent,
.infoptic-hero .hero-title .accent {
  display: block;
  color: #48aff6 !important;
  background: linear-gradient(90deg, #48aff6 0%, #63b8f5 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  position: relative;
}

/* Hero Lead / Description */
.infoptic-hero__lead,
.infoptic-hero .hero-lead {
  font-family: var(--font-body, 'Inter', system-ui, -apple-system, sans-serif);
  font-size: 1.02rem;
  line-height: 1.6;
  color: #4b5568;
  max-width: 540px;
  margin: 0 0 26px;
}

.infoptic-hero__lead strong,
.infoptic-hero .hero-lead strong {
  color: #1b2330;
  font-weight: 600;
}

/* CTAs Container */
.infoptic-hero__ctas,
.infoptic-hero .hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 14px;
  align-items: center;
}

/* Buttons — Exact CleanShot Styling */
.infoptic-hero .btn,
.infoptic-hero .btn-primary,
.infoptic-hero .btn-ghost,
.infoptic-hero__btn-primary,
.infoptic-hero__btn-secondary {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 10px !important;
  padding: 12px 22px !important;
  border-radius: 6px !important;
  border: 1.5px solid transparent !important;
  font-weight: 600 !important;
  font-family: var(--font-body, 'Inter', system-ui, -apple-system, sans-serif) !important;
  font-size: .94rem !important;
  line-height: 1.2 !important;
  white-space: nowrap !important;
  cursor: pointer !important;
  text-decoration: none !important;
  box-sizing: border-box !important;
  transition: all .2s cubic-bezier(.16,1,.3,1) !important;
}

.infoptic-hero .btn:active {
  transform: translateY(0) !important;
}

/* Primary Button (Book a Meeting / Book a Discovery Call) */
.infoptic-hero .btn-primary,
.infoptic-hero__btn-primary {
  background: #034aaa !important;
  color: #fff !important;
  border-color: #034aaa !important;
  box-shadow: 0 4px 14px rgba(3, 74, 170, .24) !important;
}

.infoptic-hero .btn-primary:hover,
.infoptic-hero__btn-primary:hover {
  background: #0d2f52 !important;
  border-color: #0d2f52 !important;
  color: #fff !important;
  box-shadow: 0 6px 20px rgba(13, 47, 82, .35) !important;
  transform: translateY(-1px) !important;
}

.infoptic-hero .btn-primary *,
.infoptic-hero .btn-primary span,
.infoptic-hero__btn-primary *,
.infoptic-hero__btn-primary span {
  color: #fff !important;
}

/* Secondary Button (Download Media Kit / Get Media Kit) */
.infoptic-hero .btn-ghost,
.infoptic-hero__btn-secondary {
  background: #fff !important;
  color: #034aaa !important;
  border-color: #034aaa !important;
  box-shadow: 0 2px 8px rgba(3, 74, 170, .08) !important;
}

.infoptic-hero .btn-ghost:hover,
.infoptic-hero__btn-secondary:hover {
  border-color: #0d2f52 !important;
  color: #0d2f52 !important;
  background: #f0f6ff !important;
  transform: translateY(-1px) !important;
}

/* Button Icon Wrappers & SVGs */
.infoptic-hero__btn-icon-wrap {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex-shrink: 0 !important;
  line-height: 1 !important;
}

.infoptic-hero__btn-icon {
  width: 16px !important;
  height: 16px !important;
  flex-shrink: 0 !important;
  display: inline-block !important;
  vertical-align: middle !important;
}

.infoptic-hero .btn-primary .infoptic-hero__btn-icon {
  stroke: #ffffff !important;
}

.infoptic-hero .btn-ghost .infoptic-hero__btn-icon,
.infoptic-hero__btn-secondary .infoptic-hero__btn-icon {
  stroke: #034aaa !important;
}

.infoptic-hero .btn-ghost:hover .infoptic-hero__btn-icon,
.infoptic-hero__btn-secondary:hover .infoptic-hero__btn-icon {
  stroke: #003680 !important;
}

/* Chevron */
.infoptic-hero .btn .chevron,
.infoptic-hero__chevron {
  font-weight: 700 !important;
  font-size: 16px !important;
  line-height: 1 !important;
  color: #ffffff !important;
  display: inline-block !important;
  vertical-align: middle !important;
  align-self: center !important;
  flex-shrink: 0 !important;
  margin-left: 2px !important;
  transition: transform .18s cubic-bezier(.16,1,.3,1) !important;
}

.infoptic-hero .btn:hover .chevron,
.infoptic-hero .btn:hover .infoptic-hero__chevron {
  transform: translateX(3px) !important;
}

/* Fineprint / Note */
.infoptic-hero__fineprint,
.infoptic-hero .hero-fineprint {
  font-size: .82rem;
  color: #7a8596;
  display: flex;
  gap: 8px;
  align-items: center;
  line-height: 1.4;
  margin-top: 10px;
}

.infoptic-hero__fineprint::before,
.infoptic-hero .hero-fineprint::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #3caef5;
  flex-shrink: 0;
  display: inline-block;
}

/* Right Vertical Pillars (PEOPLE / INSIGHTS / CONNECTIONS / GROWTH) */
.infoptic-hero__pillars {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-end;
  gap: 16px;
  text-align: right;
  z-index: 2;
  margin-left: auto;
  margin-right: -10px;
  padding-right: 0;
  user-select: none;
  position: relative;
  transform: translate(var(--pillars-x, 0), var(--pillars-y, 0));
}

.infoptic-hero__pillar-item {
  font-family: var(--font-display, 'Orbitron', system-ui, sans-serif);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .90);
  text-shadow: 0 1px 4px rgba(3, 20, 50, .75);
  line-height: 1.2;
  transition: color .2s ease, transform .2s ease;
}

.infoptic-hero__pillar-item:hover {
  color: #3caef5;
  transform: translateX(-2px);
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1080px) {
  .infoptic-hero__pillars {
    display: none;
  }

  .infoptic-hero__bg-img {
    object-position: right center;
  }

  .infoptic-hero__content,
  .infoptic-hero .hero-content {
    max-width: 520px;
  }

  .infoptic-hero__bg-fade {
    background: linear-gradient(
      90deg,
      var(--hero-fade-color, #ffffff) 0%,
      var(--hero-fade-color, #ffffff) 45%,
      rgba(255, 255, 255, 0.85) 60%,
      transparent 85%
    );
  }
}

@media (max-width: 860px) {
  .infoptic-hero {
    padding: 40px 0 46px !important;
  }

  .infoptic-hero__content,
  .infoptic-hero .hero-content {
    max-width: 100% !important;
  }

  .infoptic-hero__bg-img {
    right: 0;
    width: 100%;
    opacity: 0.30;
    object-position: right center;
  }

  .infoptic-hero__bg-fade {
    background: rgba(255, 255, 255, 0.92);
  }
}

@media (max-width: 560px) {
  .infoptic-hero {
    padding: 30px 0 36px !important;
    min-height: auto !important;
  }

  .infoptic-hero__title,
  .infoptic-hero .hero-title {
    font-size: clamp(1.8rem, 6.8vw, 2.3rem) !important;
    line-height: 1.15 !important;
  }

  .infoptic-hero .hero-ctas,
  .infoptic-hero__ctas {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    width: 100% !important;
    gap: 10px !important;
    margin-bottom: 14px !important;
  }

  .infoptic-hero .btn,
  .infoptic-hero__btn-primary,
  .infoptic-hero__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    min-height: 48px !important;
    height: auto !important;
    box-sizing: border-box !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    padding: 12px 18px !important;
    font-size: .94rem !important;
    line-height: 1.25 !important;
    white-space: normal !important;
  }
}

/* ==========================================================================
   2026 MEDIA KIT REQUEST MODAL — EXACT 1:1 WITH V2/STYLES.CSS
   ========================================================================== */
dialog.media-kit-modal {
  border: none;
  border-radius: 8px;
  padding: 0;
  max-width: 540px;
  width: calc(100% - 24px);
  margin: auto;
  box-shadow: 0 24px 60px rgba(3, 18, 37, .38);
  background: #fff;
  overflow: hidden;
  font-family: var(--font-body, 'Inter', system-ui, -apple-system, sans-serif);
  color: var(--ink, #1b2330);
  box-sizing: border-box;
  animation: infopticModalFadeIn 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes infopticModalFadeIn {
  from {
    opacity: 0;
    transform: scale(0.96) translateY(-10px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

dialog.media-kit-modal *,
dialog.media-kit-modal *::before,
dialog.media-kit-modal *::after {
  box-sizing: border-box;
}

dialog.media-kit-modal::backdrop {
  background: rgba(6, 35, 69, .62);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
}

.modal-header-strip {
  display: flex;
  align-items: stretch;
  background: #062345;
}

.modal-header-strip .modal-sky-bar {
  width: 8px;
  background: #77C5F1;
  flex-shrink: 0;
}

.modal-header-strip h2 {
  flex: 1;
  font-family: var(--font-display, 'Orbitron', system-ui, sans-serif);
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
  padding: 16px 18px;
  margin: 0;
  line-height: 1.3;
  letter-spacing: -0.01em;
}

.modal-close-btn {
  background: transparent !important;
  border: none !important;
  color: #fff !important;
  box-shadow: none !important;
  font-size: 1.5rem;
  padding: 0 16px;
  cursor: pointer;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.15s ease;
  outline: none;
}

.modal-close-btn:hover {
  color: #77C5F1 !important;
  background: transparent !important;
}

.modal-body {
  padding: 22px 24px;
}

.modal-lead {
  font-size: .92rem;
  color: #5a6577;
  margin: 0 0 16px 0;
  line-height: 1.5;
}

.form-group {
  margin-bottom: 14px;
}

.form-group label {
  display: block;
  font-weight: 600;
  font-size: .84rem;
  color: #062345;
  margin-bottom: 6px;
}

.form-group input,
.form-group select {
  width: 100%;
  padding: 11px 12px;
  border: 1.5px solid #d6dce7;
  border-radius: 6px;
  font-size: .92rem;
  color: #1b2330;
  background: #fff;
  outline: none;
  font-family: inherit;
  transition: border-color .15s, box-shadow .15s;
}

.form-group input:focus,
.form-group select:focus {
  border-color: #2345A3;
  box-shadow: 0 0 0 3px rgba(35, 69, 163, .10);
}

.form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

@media (max-width: 560px) {
  .form-row-2 {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .modal-body {
    padding: 18px 16px;
  }
}

.checkbox-consent {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: .82rem;
  color: #5a6577;
  margin: 14px 0 18px;
  cursor: pointer;
  line-height: 1.4;
}

.checkbox-consent input {
  margin-top: 2px;
  flex-shrink: 0;
}

#btnSubmitKit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 12px 20px;
  border-radius: 6px;
  border: 1.5px solid #2345A3;
  background: #2345A3;
  color: #fff;
  font-size: .92rem;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(35, 69, 163, .18);
  transition: background 0.18s, box-shadow 0.18s;
  font-family: inherit;
}

#btnSubmitKit:hover {
  background: #062345;
  border-color: #062345;
  box-shadow: 0 8px 22px rgba(6, 35, 69, .18);
}

#btnSubmitKit:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

#btnSubmitKit .chevron {
  font-weight: 700;
  display: inline-block;
  line-height: 1;
}

.modal-success-state {
  display: none;
  text-align: center;
  padding: 14px 0;
}

.modal-success-state .success-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #e6f4fc;
  color: #2345A3;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin: 0 auto 14px;
  border: 1px solid #cfe6f7;
}

.modal-success-state h3 {
  font-family: var(--font-display, 'Orbitron', system-ui, sans-serif);
  font-size: 1.1rem;
  font-weight: 700;
  color: #062345;
  margin: 0 0 6px 0;
}

.modal-success-state p {
  color: #5a6577;
  font-size: .9rem;
  margin: 0 0 16px 0;
  line-height: 1.5;
}

.modal-success-state a.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: 6px;
  background: #2345A3;
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  font-size: .92rem;
  box-shadow: 0 4px 14px rgba(35, 69, 163, .18);
  transition: background 0.18s;
}

.modal-success-state a.btn:hover {
  background: #062345;
}

dialog.media-kit-modal.sent .modal-form {
  display: none;
}

dialog.media-kit-modal.sent .modal-success-state {
  display: block;
}

