/* service-page-enhancements.css
   Load AFTER demo3.css on the service page:
   <link rel="stylesheet" href="../service-page-enhancements.css" />  */

:root {
  --svc-gold: #bb9a65;
  --svc-gold-dark: #a8884f;
  --svc-ink: #3f3127;
  --svc-paper: #f4efe8;
  --svc-muted: #5f564e;
}

/* ---------- 1. Hero: page title + breadcrumb over the accordion ---------- */
.ind-accordion-hero::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 220px;
  background: linear-gradient(to bottom, rgba(14, 11, 9, .7), transparent);
  z-index: 6;
  pointer-events: none;
}

.svc-hero-title {
  position: absolute;
  top: 32px;
  left: 36px;
  right: 36px;
  z-index: 10;
  color: #fff;
  pointer-events: none;
}

.svc-hero-title h1 {
  margin: 6px 0 0;
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(28px, 4.2vw, 52px);
  font-weight: 600;
  line-height: 1.1;
  color: #fff;
}

.svc-crumbs {
  margin: 0;
  font-size: 14px;
  color: rgba(255, 255, 255, .8);
}

.svc-crumbs a {
  color: inherit;
  text-decoration: none;
  pointer-events: auto;
}

.svc-crumbs a:hover {
  color: var(--svc-gold);
}

@media (max-width: 900px) {
  .svc-hero-title {
    top: 20px;
    left: 20px;
    right: 20px;
  }
}

/* ---------- 2. Body text: upright, easier to read ---------- */
#primary .elementor-widget-text-editor,
#primary .elementor-widget-text-editor .elementor-widget-container {
  font-style: normal;
  color: var(--svc-muted);
}

/* ---------- 3. Checklist: real tick marks, tidy tiles ---------- */
#primary .elementor-icon-list-items {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

#primary .elementor-icon-list-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 14px;
  background: var(--svc-paper);
  border-radius: 12px;
  font-size: 15px;
  line-height: 1.4;
}

/* the theme's icon font isn't loading, so draw the tick ourselves */
#primary .elementor-icon-list-icon {
  display: none;
}

#primary .elementor-icon-list-item::before {
  content: "";
  flex: 0 0 20px;
  height: 20px;
  margin-top: 1px;
  border-radius: 50%;
  background: var(--svc-gold) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 12px no-repeat;
}

/* ---------- 4. Image pair: soft zoom on hover ---------- */
.elementor-element-471c8031 .elementor-widget-container {
  overflow: hidden;
  border-radius: 22px;
}

.elementor-element-471c8031 .elementor-widget-image img {
  transition: transform .6s ease;
}

.elementor-element-471c8031 .elementor-widget-image:hover img {
  transform: scale(1.04);
}

/* ---------- 5. FAQ: cards that open smoothly ---------- */
#primary .elementor-accordion-item {
  margin-bottom: 12px;
  border: 1px solid rgba(187, 154, 101, .35) !important;
  border-radius: 16px;
  background: #fff;
  overflow: hidden;
  transition: border-color .3s ease, box-shadow .3s ease;
}

#primary .elementor-accordion-item:has(.elementor-active) {
  border-color: var(--svc-gold) !important;
  box-shadow: 0 14px 34px rgba(63, 49, 39, .10);
}

#primary .elementor-accordion .elementor-tab-title {
  padding: 18px 22px;
  border: 0 !important;
}

#primary .elementor-accordion .elementor-tab-content {
  padding: 0 22px 20px;
  border: 0 !important;
}

/* ---------- 6. Buttons (shared) ---------- */
.svc-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 50px;
  font-weight: 500;
  text-decoration: none;
  transition: background .3s ease, color .3s ease, border-color .3s ease, transform .3s ease;
}

.svc-btn:focus-visible {
  outline: 2px solid var(--svc-gold);
  outline-offset: 3px;
}

.svc-btn--gold {
  background: var(--svc-gold);
  color: #fff;
}

.svc-btn--gold:hover {
  background: var(--svc-gold-dark);
  color: #fff;
  transform: translateY(-2px);
}

.svc-btn--ghost {
  border: 1px solid rgba(255, 255, 255, .4);
  color: #fff;
}

.svc-btn--ghost:hover {
  border-color: var(--svc-gold);
  color: var(--svc-gold);
}

/* ---------- 7. Closing call-to-action band ---------- */
.svc-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 56px;
  padding: 44px 40px;
  border-radius: 24px;
  background: var(--svc-ink);
  color: #fff;
}

.svc-cta h3 {
  margin: 0 0 8px;
  font-size: clamp(22px, 2.6vw, 30px);
  line-height: 1.2;
  color: #fff;
}

.svc-cta p {
  max-width: 46ch;
  margin: 0;
  color: rgba(255, 255, 255, .75);
}

.svc-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

@media (max-width: 575px) {
  .svc-cta {
    padding: 32px 22px;
  }
}

/* ---------- 8. Previous / next service ---------- */
.post-navigation .nav-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 48px;
}

.post-navigation .nav-links>div {
  float: none;
  width: auto;
}

.post-navigation .nav-links a {
  display: block;
  padding: 18px 22px;
  border: 1px solid rgba(187, 154, 101, .4);
  border-radius: 16px;
  color: var(--svc-ink);
  text-decoration: none;
  transition: border-color .3s ease, background .3s ease, transform .3s ease;
}

.post-navigation .nav-links a:hover {
  border-color: var(--svc-gold);
  background: var(--svc-paper);
  transform: translateY(-3px);
}

.post-navigation .nav-next {
  text-align: right;
}

@media (max-width: 575px) {
  .post-navigation .nav-links {
    grid-template-columns: 1fr;
  }

  .post-navigation .nav-next {
    text-align: left;
  }
}

/* ---------- 9. Sidebar: consultation card + active service ---------- */
#secondary .svc-quote {
  margin: 0 0 24px;
  padding: 24px;
  border-radius: 20px;
  background: var(--svc-ink);
  color: #fff;
}

#secondary .svc-quote h2 {
  margin: 0 0 6px;
  font-size: 18px;
  color: #fff;
}

#secondary .svc-quote p {
  margin: 0 0 16px;
  font-size: 13px;
  line-height: 1.5;
  color: rgba(255, 255, 255, .7);
}

#secondary .svc-quote .svc-btn {
  width: 100%;
}

#secondary .svc-list a.is-active {
  color: var(--svc-gold);
  font-weight: 500;
}

#secondary .svc-list a.is-active::after {
  opacity: 1;
}

/* ---------- Respect reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {

  .svc-btn,
  .post-navigation .nav-links a,
  .elementor-element-471c8031 .elementor-widget-image img {
    transition: none;
  }

  .svc-btn--gold:hover,
  .post-navigation .nav-links a:hover,
  .elementor-element-471c8031 .elementor-widget-image:hover img {
    transform: none;
  }
}
/* ---------- Intro points: card grid ---------- */
.svc-points {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin: 32px 0;
}

.svc-point {
  position: relative;
  padding: 20px 22px 20px 66px;
  background: #fff;
  border: 1px solid rgba(187, 154, 101, .35);
  border-radius: 16px;
  transition: border-color .3s ease, box-shadow .3s ease;
}

.svc-point::before {
  content: "";
  position: absolute;
  left: 22px;
  top: 22px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--svc-gold) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 14px no-repeat;
}

.svc-point h4 {
  margin: 0 0 4px;
  font-size: 17px;
  color: var(--svc-ink);
}

.svc-point p {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  color: var(--svc-muted);
}

.svc-point:hover {
  border-color: var(--svc-gold);
  box-shadow: 0 14px 34px rgba(63, 49, 39, .10);
}

@media (max-width: 575px) {
  .svc-points {
    grid-template-columns: 1fr;
  }
}