/* ===== Nelso custom overrides ===== */

/* ---- Color refinement: a deeper, less saturated amber reads as more
   premium than the original bright orange. Only the mid-to-dark stops
   are adjusted (used for buttons, hover states, icon accents); the pale
   tint stops (50-300) are left as-is since they're already soft. ---- */
:root {
  --tg-theme-secondary-400: #d99a33;
  --tg-theme-secondary-500: #c97c00;
  --tg-theme-secondary-600: #a86800;
  --tg-theme-secondary-700: #855000;
}

/* ---- Typography refinement: tighter heading tracking, more generous
   body line-height. Both are small changes that add up to a more
   considered, less "default template" feel. ---- */
h1, h2, h3, h4, h5,
.title,
.section-title .title {
  letter-spacing: -0.01em;
}
body,
p {
  line-height: 1.7;
}

/* ---- Card refinement: a soft ambient shadow at rest (not just on
   hover) makes cards read as raised surfaces rather than flat boxes
   with a border. Border softened to a neutral cool gray instead of
   the warm-tinted default. ---- */
.card-services-type-01 {
  border-color: #f1f1f6;
  box-shadow: 0 4px 20px rgba(20, 23, 108, 0.05);
}

/* Make every card-services-type-01 box fill the full height of its column,
   so cards sitting side by side always look the same size regardless of
   how much text each one has. */
.card-services-type-01 {
  height: 100%;
  display: flex;
  flex-direction: column;
}
.card-services-type-01 .card-info {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  width: 100%;
}
.card-services-type-01 .card-info p {
  flex: 1 1 auto;
}
/* Keep "Explore ->" style links pinned to the bottom of the card */
.card-services-type-01 .card-info a {
  margin-top: auto;
}

/* ---- FAQ accordion refinement: the theme default fills the whole
   question bar with solid amber and white text. That reads as loud
   next to the more restrained card treatment above, so this swaps it
   for a white surface with a soft border, matching the card style. ---- */
.accordion-item {
  background: #fff;
  border: 1px solid #f1f1f6 !important;
  box-shadow: 0 4px 20px rgba(20, 23, 108, 0.04);
}
.accordion-button,
.accordion-button:not(.collapsed),
.accordion-button.collapsed {
  background-color: #fff !important;
  color: var(--tg-heading-color) !important;
  box-shadow: none !important;
  border-bottom: none !important;
}
.accordion-collapse {
  background-color: #fff !important;
}
.accordion-collapse .accordion-body {
  color: var(--tg-body-color) !important;
  padding-top: 0;
  line-height: 1.7;
}
.header-address-rotator {
  position: relative;
  display: inline-block;
  min-height: 1.6em;
  vertical-align: middle;
}
.header-address-rotator .address-item {
  display: none;
  opacity: 0;
  transition: opacity 0.6s ease;
}
.header-address-rotator .address-item.active {
  display: inline;
  opacity: 1;
}
@media (max-width: 991.98px) {
  .header-address-rotator .address-item {
    display: none !important;
  }
  .header-address-rotator .address-item.active {
    display: inline !important;
  }
}

