/*
 * logologicos-custom.css
 * Theme-aligned custom styles for Logo Logicos
 * Design tokens: primary #0A1B65 · accent #F6C465 · dark #05103F · mid #1E2753
 * Fonts: Inter (headings) · Heebo (body) · Nunito Sans (labels)
 */

/* ──────────────────────────────────────────────
   1. TRUST PILLS BAR
   Section e170873e — bg #0d1525
─────────────────────────────────────────────── */
.elementor-element-e170873e {
  border-bottom: 1px solid rgba(246, 196, 101, 0.12);
}

.trust-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0;
}

.trust-pills span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: "Heebo", sans-serif;
  font-size: 13px;
  font-weight: 400;
  color: #8892a4;
  padding: 4px 24px;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  white-space: nowrap;
  line-height: 1.4;
}

.trust-pills span:last-child {
  border-right: none;
}

.trust-pills span strong {
  color: #F6C465;
  font-weight: 600;
}

/* Marquee animation on the trust bar */
@keyframes ll-marquee {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* On mobile: scroll horizontally */
@media (max-width: 767px) {
  .trust-pills {
    flex-wrap: nowrap;
    justify-content: flex-start;
    overflow: hidden;
    animation: ll-marquee 20s linear infinite;
    width: max-content;
  }
  .trust-pills:hover {
    animation-play-state: paused;
  }
  .trust-pills span {
    padding: 4px 20px;
    font-size: 12px;
  }
  .elementor-element-e170873e .elementor-widget-container {
    overflow: hidden;
  }
}


/* ──────────────────────────────────────────────
   2. BRAND KIT PROMO SECTION (bkg2025ai)
   Full redesign — dark gradient bg, gold accents
─────────────────────────────────────────────── */
.elementor-element-bkg2025ai {
  position: relative;
  overflow: hidden;
}

/* Animated glowing orbs in the background */
.elementor-element-bkg2025ai::before,
.elementor-element-bkg2025ai::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  animation: ll-orb-pulse 6s ease-in-out infinite;
}
.elementor-element-bkg2025ai::before {
  width: 500px;
  height: 500px;
  top: -180px;
  right: -120px;
  background: radial-gradient(circle, rgba(246, 196, 101, 0.08) 0%, transparent 65%);
}
.elementor-element-bkg2025ai::after {
  width: 350px;
  height: 350px;
  bottom: -100px;
  left: -60px;
  background: radial-gradient(circle, rgba(10, 27, 101, 0.4) 0%, transparent 65%);
  animation-delay: 3s;
}

@keyframes ll-orb-pulse {
  0%, 100% { transform: scale(1); opacity: 0.7; }
  50%       { transform: scale(1.15); opacity: 1; }
}

/* Ensure content sits above pseudo-elements */
.elementor-element-bkg2025ai > .elementor-container {
  position: relative;
  z-index: 1;
}

/* Gold separator line above section */
.elementor-element-bkg2025ai {
  border-top: 1px solid rgba(246, 196, 101, 0.15);
  border-bottom: 1px solid rgba(246, 196, 101, 0.15);
}

/* Animated shimmer on the eyebrow badge */
.elementor-element-bkg2025ai .elementor-widget-text-editor p span {
  position: relative;
  overflow: hidden;
}
.elementor-element-bkg2025ai .elementor-widget-text-editor p span::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(246, 196, 101, 0.15), transparent);
  animation: ll-shimmer 3s ease-in-out infinite;
}

@keyframes ll-shimmer {
  0%   { left: -100%; }
  100% { left: 200%; }
}


/* ──────────────────────────────────────────────
   3. SERVICE PAGE BANNER H1 SECTIONS
   All pages: logo-design, branding, web, animation, services
   Using theme background image + overlay — text styles
─────────────────────────────────────────────── */

/* Banner section headings — theme secondary typography */
.elementor-element-5b4d277b .elementor-heading-title,
[class*="elementor-element-"] .elementor-heading-title.elementor-size-default {
  letter-spacing: -0.01em;
}

/* Fade-up entrance on the H1 in banners */
.elementor-element-5b4d277b .elementor-widget-heading,
.elementor-element-1bd476e0 .elementor-widget-heading,
.elementor-element-36fabd12 .elementor-widget-heading {
  animation: ll-fade-up 0.7s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.elementor-element-5b4d277b .elementor-widget-text-editor,
.elementor-element-1bd476e0 .elementor-widget-text-editor {
  animation: ll-fade-up 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.15s both;
}

@keyframes ll-fade-up {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Breadcrumb column right side */
.elementor-element-290d83b6 .elementor-widget-text-editor p,
.elementor-element-290d83b6 .elementor-widget-text-editor {
  color: rgba(200, 208, 224, 0.7);
  font-family: "Nunito Sans", sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  text-align: right;
}


/* ──────────────────────────────────────────────
   4. SCROLL-REVEAL ANIMATIONS
   Using Intersection Observer via JS below
   Classes: .ll-reveal, .ll-reveal-left, .ll-reveal-right
─────────────────────────────────────────────── */
.ll-reveal,
.ll-reveal-left,
.ll-reveal-right {
  opacity: 0;
  transition: opacity 0.65s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
}

.ll-reveal       { transform: translateY(32px); }
.ll-reveal-left  { transform: translateX(-32px); }
.ll-reveal-right { transform: translateX(32px); }

.ll-reveal.ll-visible,
.ll-reveal-left.ll-visible,
.ll-reveal-right.ll-visible {
  opacity: 1;
  transform: translateY(0) translateX(0);
}

/* Stagger delays */
.ll-delay-1 { transition-delay: 0.1s; }
.ll-delay-2 { transition-delay: 0.2s; }
.ll-delay-3 { transition-delay: 0.3s; }
.ll-delay-4 { transition-delay: 0.4s; }


/* ──────────────────────────────────────────────
   5. HOMEPAGE HERO SUBTEXT — trust keywords
─────────────────────────────────────────────── */
.elementor-element-165c9851 .elementor-widget-text-editor p strong {
  color: #F6C465;
  font-weight: 600;
}


/* ──────────────────────────────────────────────
   6. BLOG POSTS — theme-aligned styles
─────────────────────────────────────────────── */
.single-post .entry-title,
.single-post h1.entry-title {
  font-family: "Inter", sans-serif;
  font-size: 38px;
  font-weight: 700;
  color: #0A1B65;
  line-height: 1.2;
  margin-bottom: 20px;
}

.single-post .entry-content h2 {
  font-family: "Inter", sans-serif;
  font-size: 24px;
  font-weight: 600;
  color: #0A1B65;
  margin-top: 36px;
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 2px solid rgba(246, 196, 101, 0.3);
}

.single-post .entry-content p {
  font-family: "Heebo", sans-serif;
  font-size: 16px;
  font-weight: 300;
  color: #4a5568;
  line-height: 1.8;
  margin-bottom: 18px;
}

.single-post .entry-content ul li {
  font-family: "Heebo", sans-serif;
  font-size: 15px;
  color: #4a5568;
  line-height: 1.75;
  margin-bottom: 8px;
  padding-left: 6px;
}

.single-post .entry-content ul li::marker {
  color: #F6C465;
}

.single-post .entry-content a {
  color: #0A1B65;
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: rgba(246, 196, 101, 0.5);
  text-underline-offset: 3px;
  transition: color 0.2s, text-decoration-color 0.2s;
}

.single-post .entry-content a:hover {
  color: #F6C465;
  text-decoration-color: #F6C465;
}

/* Blog table — pricing comparison */
.single-post .entry-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 28px 0;
  font-family: "Heebo", sans-serif;
  font-size: 14px;
  box-shadow: 0 2px 20px rgba(10, 27, 101, 0.08);
  border-radius: 10px;
  overflow: hidden;
}

.single-post .entry-content thead tr {
  background: #0A1B65;
  color: #fff;
}

.single-post .entry-content thead th {
  padding: 14px 18px;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.5px;
  text-align: left;
}

.single-post .entry-content tbody tr {
  border-bottom: 1px solid #f1f4fd;
  transition: background 0.2s;
}

.single-post .entry-content tbody tr:hover {
  background: #f8faff;
}

.single-post .entry-content tbody td {
  padding: 12px 18px;
  color: #4a5568;
  vertical-align: top;
}

/* Highlight "our" row in tables */
.single-post .entry-content tbody tr:nth-child(3) {
  background: rgba(246, 196, 101, 0.08);
  font-weight: 600;
}

.single-post .entry-content tbody tr:nth-child(3) td {
  color: #0A1B65;
}

/* Blog list items styled as checkmarks */
.single-post .entry-content ul {
  list-style: none;
  padding-left: 0;
  margin: 18px 0;
}

.single-post .entry-content ul li {
  padding-left: 28px;
  position: relative;
}

.single-post .entry-content ul li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #F6C465;
  font-weight: 700;
  font-size: 14px;
}


/* ──────────────────────────────────────────────
   7. BLOG ARTICLE HEADER AREA
─────────────────────────────────────────────── */
.single-post article header.entry-header {
  background: linear-gradient(135deg, #05103F 0%, #0A1B65 60%, #1E2753 100%);
  padding: 100px 60px 60px;
  margin-bottom: 0;
  position: relative;
  overflow: hidden;
}

.single-post article header.entry-header::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #F6C465, rgba(246,196,101,0.3), #F6C465);
}

.single-post .entry-title {
  color: #fff !important;
  font-size: 36px !important;
  max-width: 780px;
}

.single-post .entry-meta {
  color: rgba(200, 208, 224, 0.7);
  font-family: "Nunito Sans", sans-serif;
  font-size: 12px;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-top: 14px;
}

.single-post .entry-meta a {
  color: #F6C465;
  text-decoration: none;
}

/* Blog content wrapper */
.single-post .entry-content {
  max-width: 760px;
  margin: 0 auto;
  padding: 48px 40px;
}

@media (max-width: 767px) {
  .single-post article header.entry-header {
    padding: 80px 24px 40px;
  }
  .single-post .entry-content {
    padding: 32px 20px;
  }
  .single-post .entry-title {
    font-size: 26px !important;
  }
}


/* ──────────────────────────────────────────────
   8. GLOBAL MICRO-ANIMATIONS
   Theme-consistent subtle motion
─────────────────────────────────────────────── */

/* Smooth hover lift on all icon-box and service cards */
.elementor-widget-icon-box:hover,
.elementor-widget-icon-list:hover,
.elementor-widget-image-box:hover {
  transform: translateY(-4px);
  transition: transform 0.3s cubic-bezier(0.34, 1.2, 0.64, 1);
}

/* Gold underline hover on nav links */
.sf-menu > li > a::after {
  content: '';
  display: block;
  height: 2px;
  background: #F6C465;
  transform: scaleX(0);
  transition: transform 0.25s ease;
  transform-origin: left;
}

.sf-menu > li:hover > a::after,
.sf-menu > li.current-menu-item > a::after {
  transform: scaleX(1);
}

/* CTA button pulse on important pages */
@keyframes ll-btn-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(246, 196, 101, 0.4); }
  50%       { box-shadow: 0 0 0 10px rgba(246, 196, 101, 0); }
}

.elementor-button-wrapper .elementor-button:first-child {
  animation: ll-btn-pulse 2.5s ease-in-out infinite;
}


/* ──────────────────────────────────────────────
   9. ANNOUNCEMENT BAR — theme colours
─────────────────────────────────────────────── */
.elementor-element-95781d8 .elementor-widget-heading .elementor-heading-title {
  font-family: "Nunito Sans", sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.5px;
}


/* ──────────────────────────────────────────────
   10. PAGE BANNER TEXT STYLES — all service pages
   Ensures H1 inherits theme secondary typography
─────────────────────────────────────────────── */
.elementor-section-content-middle h1.elementor-heading-title {
  font-family: "Inter", sans-serif;
  font-weight: 600;
  line-height: 1.2;
  color: #FFFFFF;
}

/* Banner subtitle text */
.elementor-section-content-middle .elementor-widget-text-editor p {
  font-family: "Heebo", sans-serif;
  font-size: 16px;
  font-weight: 300;
  line-height: 1.6;
  color: #c8d0e0;
  max-width: 580px;
}


/* ──────────────────────────────────────────────
   11. COUNTER ANIMATION
   For the stats section on homepage/about
─────────────────────────────────────────────── */
@keyframes ll-count-up {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}

.elementor-counter .elementor-counter-number-wrapper {
  animation: ll-count-up 0.6s ease both;
}


/* ──────────────────────────────────────────────
   12. RESPONSIVE FIXES
─────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .trust-pills span {
    padding: 4px 16px;
    font-size: 12px;
  }
}

@media (max-width: 767px) {
  .elementor-element-bkg2025ai::before,
  .elementor-element-bkg2025ai::after {
    display: none;
  }

  .single-post article header.entry-header {
    padding: 90px 20px 36px;
  }

  .elementor-section-content-middle .elementor-widget-text-editor p {
    font-size: 15px;
  }
}
