@import url("site-overrides-base.css");

/* Final consolidated overrides */

#hero {
  margin-top: 5px !important;
  scroll-margin-top: 82px !important;
}

#services.services-redesigned.services-redesigned .services-image-placeholder::after {
  content: none !important;
  display: none !important;
  background: none !important;
  mix-blend-mode: normal !important;
}

/* Menu focus behaviour */
#site-header a,
#mobile-nav a {
  -webkit-tap-highlight-color: transparent !important;
}

#site-header a:focus,
#site-header a:active,
#mobile-nav a:focus,
#mobile-nav a:active {
  outline: none !important;
  box-shadow: none !important;
  border-color: transparent !important;
  --tw-ring-shadow: 0 0 #0000 !important;
  --tw-ring-offset-shadow: 0 0 #0000 !important;
}

#site-header a:focus-visible,
#mobile-nav a:focus-visible {
  outline: 2px solid rgba(15, 118, 110, 0.45) !important;
  outline-offset: 3px !important;
  box-shadow: none !important;
}

/* FAQ click behaviour */
#about .glass-card-enhanced h3::after {
  content: none !important;
  display: none !important;
}

#about .glass-card-enhanced .issue-item {
  cursor: pointer !important;
}

#about .glass-card-enhanced .issue-row svg {
  display: none !important;
}

#about .glass-card-enhanced .issue-row::before {
  content: "+" !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 1.35rem;
  width: 1.35rem;
  height: 1.35rem;
  margin-top: 1px;
  border-radius: 999px;
  background: rgba(15, 118, 110, 0.1);
  color: #0f766e;
  font-size: 1rem;
  font-weight: 800;
  line-height: 1;
}

#about .glass-card-enhanced .issue-item:not(.is-open) .issue-fix {
  max-height: 0 !important;
  opacity: 0 !important;
  margin-top: 0 !important;
}

#about .glass-card-enhanced .issue-item.is-open {
  background-color: rgba(15, 118, 110, 0.07) !important;
  padding-bottom: 0.85rem !important;
}

#about .glass-card-enhanced .issue-item.is-open .issue-row::before {
  content: "−" !important;
  background: #0f766e !important;
  color: #ffffff !important;
}

#about .glass-card-enhanced .issue-item.is-open .issue-fix {
  max-height: 180px !important;
  opacity: 1 !important;
  margin-top: 0.45rem !important;
}

/* Services section styles moved out of script.js */
#services.services-redesigned {
  background: #ffffff !important;
  color: #102a43 !important;
  overflow: hidden !important;
}

#services.services-redesigned > .absolute {
  display: none !important;
}

#services .services-redesign-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}

#services .services-copy {
  max-width: 46rem;
}

#services .services-kicker {
  color: #0f766e !important;
}

#services .services-title {
  color: #08213a !important;
  font-size: clamp(2.15rem, 4.4vw, 3.25rem) !important;
  line-height: 1.05 !important;
  letter-spacing: -0.04em !important;
}

#services .services-intro {
  max-width: 42rem;
  color: #64748b;
  font-size: 1.02rem;
  line-height: 1.75;
  margin: 1rem 0 2rem;
}

#services .service-bubble-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
}

#services .service-bubble {
  display: block;
  border: 1px solid rgba(15, 118, 110, 0.16);
  border-radius: 999px;
  background: linear-gradient(180deg, #ffffff, #f8fafc);
  box-shadow: 0 14px 32px rgba(8, 33, 58, 0.08);
  padding: 1rem 1.15rem;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

#services .service-bubble:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 40px rgba(8, 33, 58, 0.13);
  border-color: rgba(15, 118, 110, 0.36);
}

#services .service-bubble-title {
  display: block;
  color: #08213a;
  font-weight: 800;
  font-size: 0.98rem;
  line-height: 1.25;
  margin-bottom: 0.35rem;
}

#services .service-bubble-copy {
  display: block;
  color: #64748b;
  font-size: 0.84rem;
  line-height: 1.45;
}

#services .services-image-placeholder {
  min-height: 520px;
  border: 1px dashed rgba(15, 118, 110, 0.32);
  border-radius: 32px;
  background: linear-gradient(145deg, rgba(15, 118, 110, 0.06), rgba(8, 33, 58, 0.04));
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem;
  box-shadow: 0 18px 40px rgba(8, 33, 58, 0.08);
}

#services .services-image-placeholder span {
  display: block;
  color: #08213a;
  font-weight: 800;
  font-size: 1.1rem;
  margin-bottom: 0.35rem;
}

#services .services-image-placeholder p {
  margin: 0;
  color: #64748b;
  font-size: 0.92rem;
}

#services .services-cta-wrap {
  display: none !important;
}

/* Pricing section styles moved out of script.js */
#pricing,
#pricing * {
  letter-spacing: normal !important;
  word-spacing: normal !important;
  overflow-wrap: normal !important;
  word-break: normal !important;
  hyphens: none !important;
}

#pricing {
  position: relative;
  background: #f7f9fc;
  padding: calc(clamp(4.5rem, 8vw, 7rem) - 10px) 1.5rem clamp(4.5rem, 8vw, 7rem) !important;
  color: #08213a;
  overflow: hidden;
}

#pricing::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 10% 18%, rgba(94, 234, 212, 0.16), transparent 25%), radial-gradient(circle at 90% 80%, rgba(15, 118, 110, 0.10), transparent 26%);
  pointer-events: none;
}

#pricing .pricing-inner {
  position: relative;
  max-width: 92rem;
  margin: 0 auto;
}

#pricing .pricing-header {
  max-width: 56rem;
  margin: 0 auto 1.9rem !important;
  text-align: center;
  transform: translateY(-10px) !important;
}

#pricing .pricing-kicker {
  color: #0f766e;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.18em !important;
  text-transform: uppercase;
  margin: 0 0 0.75rem;
}

#pricing h2 {
  font-size: clamp(2.1rem, 4vw, 3.25rem);
  line-height: 1.05;
  letter-spacing: -0.045em !important;
  margin: 0 0 1rem;
  font-weight: 850;
}

#pricing .pricing-intro {
  color: #64748b;
  line-height: 1.75;
  margin: 0 auto;
  font-size: 1rem;
  max-width: 54rem;
}

#pricing .pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.2rem;
  align-items: stretch;
}

#pricing .pricing-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 675px !important;
  padding: 1.75rem 2rem !important;
  border-radius: 28px;
  background: #ffffff;
  border: 1px solid rgba(8, 33, 58, 0.08);
  box-shadow: 0 22px 60px rgba(8, 33, 58, 0.09);
  overflow: hidden;
  transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
}

#pricing .pricing-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 30px 80px rgba(8, 33, 58, 0.14);
  border-color: rgba(15, 118, 110, 0.22);
}

#pricing .pricing-card.growth {
  background: #e5f7f3 !important;
  border-color: rgba(15, 118, 110, 0.32) !important;
  box-shadow: 0 30px 80px rgba(15, 118, 110, 0.16) !important;
  transform: translateY(-10px);
}

#pricing .pricing-card.complete {
  background: #08213a !important;
  color: #ffffff;
}

#pricing .pricing-card h3 {
  color: #08213a !important;
  font-size: 1.85rem !important;
  line-height: 1.1 !important;
  font-weight: 850;
  letter-spacing: -0.03em !important;
  margin: 0 0 1.1rem;
}

#pricing .pricing-card.complete h3,
#pricing .pricing-card.complete .pricing-price {
  color: #ffffff !important;
}

#pricing .pricing-badge {
  display: inline-flex;
  align-self: flex-start;
  margin-bottom: 1rem;
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  background: #0f766e;
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 850;
  line-height: 1;
}

#pricing .pricing-price {
  color: #08213a !important;
  font-size: 1.16rem !important;
  line-height: 1.3 !important;
  font-weight: 850 !important;
  margin: 0 0 1.2rem !important;
}

#pricing .pricing-description {
  padding-top: 1.2rem;
  border-top: 1px solid rgba(15, 118, 110, 0.2);
  color: #52647a !important;
  font-size: 0.91rem !important;
  line-height: 1.5 !important;
  margin: 0 0 1.05rem !important;
}

#pricing .pricing-card.complete .pricing-description {
  border-top-color: rgba(255, 255, 255, 0.24);
  color: rgba(255, 255, 255, 0.82) !important;
}

#pricing .pricing-features {
  list-style: none;
  margin: 0 0 2rem;
  padding: 0;
  display: grid;
  gap: 0.5rem !important;
  color: #334155;
}

#pricing .pricing-features li {
  position: relative;
  padding-left: 1.55rem;
  color: #334155 !important;
  font-size: 0.84rem !important;
  line-height: 1.34 !important;
}

#pricing .pricing-features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: #0f766e;
  font-weight: 900;
  line-height: 1.35;
}

#pricing .pricing-card.complete .pricing-features li {
  color: rgba(255, 255, 255, 0.84) !important;
}

#pricing .pricing-card.complete .pricing-features li::before {
  color: #5eead4;
}

#pricing .pricing-card-button {
  margin-top: auto;
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: #0f766e;
  color: #ffffff !important;
  text-decoration: none;
  font-weight: 800;
  font-size: 0.92rem !important;
  line-height: 1 !important;
  letter-spacing: normal !important;
  box-shadow: 0 16px 36px rgba(15, 118, 110, 0.24);
  transition: transform 0.2s ease, opacity 0.2s ease;
  padding: 0 1.1rem;
  text-align: center;
}

#pricing .pricing-card-button:hover {
  transform: translateY(-2px);
  opacity: 0.94;
}

#pricing .pricing-card.complete .pricing-card-button {
  background: #5eead4;
  color: #08213a !important;
  box-shadow: 0 16px 36px rgba(94, 234, 212, 0.2);
}

#pricing .pricing-note {
  max-width: 54rem;
  margin: 1.8rem auto 0;
  text-align: center;
  color: #64748b !important;
  font-size: 0.92rem !important;
  line-height: 1.6 !important;
}

#pricing .pricing-note strong {
  display: block !important;
  color: #08213a !important;
  font-size: 1rem !important;
  line-height: 1.45 !important;
  margin-bottom: 0.45rem !important;
}

#pricing .pricing-price::before,
#pricing .pricing-description::before,
#pricing .pricing-features li::after,
#pricing .pricing-features::before,
#pricing .pricing-features::after,
#pricing .pricing-note::before,
#pricing .pricing-note::after,
#pricing .pricing-card-button::before,
#pricing .pricing-card h3::before {
  content: none !important;
  display: none !important;
}

@media (max-width: 1120px) {
  #pricing .pricing-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  #pricing .pricing-card {
    min-height: auto !important;
  }

  #pricing .pricing-card.growth,
  #pricing .pricing-header {
    transform: none !important;
  }
}

@media (max-width: 900px) {
  #services .services-redesign-grid {
    grid-template-columns: 1fr;
  }

  #services .services-image-placeholder {
    min-height: 320px;
  }
}

@media (max-width: 720px) {
  #pricing {
    padding: 4rem 1rem;
  }

  #pricing .pricing-header {
    text-align: left;
    margin-bottom: 1.6rem !important;
  }

  #pricing .pricing-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  #pricing .pricing-card {
    border-radius: 24px;
    padding: 1.45rem !important;
  }

  #pricing .pricing-card h3 {
    font-size: 1.55rem !important;
  }

  #pricing .pricing-card-button {
    width: 100%;
  }
}

@media (max-width: 767px) {
  #hero {
    margin-top: 10px !important;
    scroll-margin-top: 82px !important;
  }
}

@media (max-width: 640px) {
  #services .service-bubble-grid {
    grid-template-columns: 1fr;
  }

  #services .service-bubble {
    border-radius: 24px;
  }

  #services .services-image-placeholder {
    min-height: 240px;
  }
}

/* Header layout single source of truth */
:root {
  --site-header-height: 76px;
  --site-header-height-mobile: 70px;
}

#site-header,
#site-header > div {
  min-height: 0 !important;
  overflow: visible !important;
}

html body header#site-header .flex.items-center.justify-between,
html body header#site-header.is-compact .flex.items-center.justify-between {
  height: var(--site-header-height) !important;
  overflow: visible !important;
  transition: height 300ms ease !important;
}

html body header#site-header.is-compact .brand-mark {
  transform: none !important;
}

@media (max-width: 767px) {
  html body header#site-header .flex.items-center.justify-between,
  html body header#site-header.is-compact .flex.items-center.justify-between {
    height: var(--site-header-height-mobile) !important;
  }
}

/* Professional symmetrical service bubbles */
#services.services-redesigned.services-redesigned .service-bubble-grid {
  grid-template-columns: repeat(2, minmax(260px, 1fr)) !important;
  gap: 1rem 1.15rem !important;
  max-width: 720px !important;
  margin: 1.25rem auto 0 !important;
  padding: 0 !important;
  align-items: stretch !important;
  justify-items: stretch !important;
}

#services.services-redesigned.services-redesigned .service-bubble,
#services.services-redesigned.services-redesigned .service-bubble:nth-child(1),
#services.services-redesigned.services-redesigned .service-bubble:nth-child(2),
#services.services-redesigned.services-redesigned .service-bubble:nth-child(3),
#services.services-redesigned.services-redesigned .service-bubble:nth-child(4),
#services.services-redesigned.services-redesigned .service-bubble:nth-child(5),
#services.services-redesigned.services-redesigned .service-bubble:nth-child(6),
#services.services-redesigned.services-redesigned .service-bubble:nth-child(7) {
  width: 100% !important;
  min-height: 126px !important;
  padding: 1.1rem 1.25rem 1.1rem 3.7rem !important;
  border-radius: 30px !important;
  transform: none !important;
  justify-self: stretch !important;
}

#services.services-redesigned.services-redesigned .service-bubble:nth-child(7) {
  grid-column: 1 / -1 !important;
  width: calc((100% - 1.15rem) / 2) !important;
  justify-self: center !important;
}

#services.services-redesigned.services-redesigned .service-bubble:hover,
#services.services-redesigned.services-redesigned .service-bubble:nth-child(1):hover,
#services.services-redesigned.services-redesigned .service-bubble:nth-child(2):hover,
#services.services-redesigned.services-redesigned .service-bubble:nth-child(3):hover,
#services.services-redesigned.services-redesigned .service-bubble:nth-child(4):hover,
#services.services-redesigned.services-redesigned .service-bubble:nth-child(5):hover,
#services.services-redesigned.services-redesigned .service-bubble:nth-child(6):hover,
#services.services-redesigned.services-redesigned .service-bubble:nth-child(7):hover {
  transform: translateY(-5px) !important;
}

#services.services-redesigned.services-redesigned .service-bubble::before {
  left: 1.15rem !important;
  top: 1.12rem !important;
  width: 1.85rem !important;
  height: 1.85rem !important;
  border-radius: 50% !important;
}

#services.services-redesigned.services-redesigned .service-bubble-title::before {
  font-size: 1rem !important;
  line-height: 1.2 !important;
  margin-bottom: 0.42rem !important;
}

#services.services-redesigned.services-redesigned .service-bubble-copy::before {
  font-size: 0.84rem !important;
  line-height: 1.48 !important;
}

@media (max-width: 640px) {
  #services.services-redesigned.services-redesigned .service-bubble-grid {
    grid-template-columns: 1fr !important;
    max-width: 100% !important;
    gap: 0.85rem !important;
  }

  #services.services-redesigned.services-redesigned .service-bubble,
  #services.services-redesigned.services-redesigned .service-bubble:nth-child(7) {
    grid-column: auto !important;
    width: 100% !important;
    min-height: auto !important;
    border-radius: 24px !important;
  }
}
