:root { --services-navy: #061b33; --services-gold: #c7953e; --services-paper: #fffaf2; --services-ivory: #f7f1e8; --services-muted: #626a78; }
.services-page { background: var(--services-ivory); }
.services-site-header .brand img { border-radius: 50%; object-fit: cover; }
.services-page h1, .services-page h2, .services-page h3 { text-wrap: balance; }
.services-hero { min-height: 312px; display: flex; align-items: center; padding: 62px max(24px, calc((100vw - 1240px) / 2)); color: #f8f1e8; background-color: var(--services-navy); background-image: linear-gradient(90deg, rgba(4,18,35,.97), rgba(5,24,47,.88) 48%, rgba(5,24,47,.68)), linear-gradient(180deg, rgba(4,18,35,.18), rgba(4,18,35,.48)), url("../images/conclude-birou-interior.webp"); background-position: center; background-size: cover; }
.services-hero-inner { width: 100%; max-width: 800px; }
.services-breadcrumb { margin: 0 0 20px; color: rgba(248,241,232,.68); font-size: 11px; font-weight: 900; letter-spacing: .17em; }
.services-breadcrumb span { margin: 0 8px; color: var(--services-gold); }
.services-hero .eyebrow { color: var(--services-gold); }
.services-hero h1 { margin: 18px 0; color: #f8f1e8; font-size: clamp(44px, 5vw, 68px); line-height: 1.03; }
.services-hero-inner > p:last-child { max-width: 660px; margin: 0; color: rgba(248,241,232,.78); font-size: 17px; line-height: 1.7; }
.services-intro { background: var(--services-paper); border-bottom: 1px solid rgba(6,27,51,.1); }
.services-intro-inner { display: grid; grid-template-columns: minmax(0,.78fr) minmax(0,1.22fr); gap: clamp(48px,8vw,108px); align-items: center; width: min(100% - 48px,1240px); margin: 0 auto; padding: clamp(58px,6vw,78px) 0; }
.services-intro h2, .services-directory-heading h2 { margin-bottom: 20px; font-size: clamp(42px,4.6vw,62px); }
.services-intro p { max-width: 600px; margin-bottom: 0; color: var(--services-muted); font-size: 17px; line-height: 1.75; }
.services-intro-copy { align-self: center; padding-left: clamp(24px,4vw,54px); border-left: 1px solid rgba(199,149,62,.38); }
.services-search-wrap--directory { position: relative; z-index: 12; width: min(100%,780px); margin: 30px 0 18px; }
.services-search-wrap label { display: block; margin: 0 0 10px; color: var(--services-navy); font-size: 11px; font-weight: 900; letter-spacing: .13em; text-transform: uppercase; }
.services-search-field { display: grid; grid-template-columns: 24px 1fr 34px; align-items: center; min-height: 58px; padding: 0 12px 0 18px; background: #fffdf9; border: 1px solid rgba(6,27,51,.16); border-radius: 7px; transition: border-color 180ms ease, box-shadow 180ms ease; }
.services-search-field:focus-within { border-color: rgba(199,149,62,.8); box-shadow: 0 0 0 3px rgba(199,149,62,.1); }
.services-search-field > span { width: 14px; height: 14px; border: 1.5px solid var(--services-gold); border-radius: 50%; }
.services-search-field > span::after { content: ""; display: block; width: 6px; height: 1.5px; margin: 11px 0 0 10px; background: var(--services-gold); transform: rotate(45deg); }
.services-search-field input { width: 100%; border: 0; outline: 0; color: var(--services-navy); background: transparent; font-size: 16px; }
.services-search-field input::-webkit-search-cancel-button { display: none; -webkit-appearance: none; }
.services-search-field button { width: 32px; height: 32px; border: 0; color: var(--services-muted); background: transparent; cursor: pointer; }
.services-directory { background: linear-gradient(180deg,#f8f2e9,#f5ede1); }
.services-directory-inner { width: min(100% - 48px,1240px); margin: 0 auto; padding: clamp(78px,8vw,108px) 0 clamp(88px,9vw,120px); }
.services-directory-heading { display: grid; grid-template-columns: minmax(0,760px) auto; justify-content: space-between; align-items: end; gap: 30px; }
.services-results-count { margin: 0 0 24px; color: var(--services-gold); font-size: 11px; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.services-filter-shell { position: sticky; top: 88px; z-index: 12; margin: 14px 0 58px; padding: 14px 16px; background: rgba(255,250,242,.9); border: 1px solid rgba(199,149,62,.24); border-radius: 8px; box-shadow: 0 8px 24px rgba(54,38,18,.045); backdrop-filter: blur(14px); }
.services-filters { display: flex; gap: 9px; overflow-x: auto; scrollbar-width: thin; }
.services-filter { flex: 0 0 auto; min-height: 40px; padding: 0 17px; border: 1px solid rgba(6,27,51,.2); border-radius: 999px; color: var(--services-navy); background: rgba(255,250,242,.76); font-size: 11px; font-weight: 900; letter-spacing: .06em; cursor: pointer; transition: color 180ms ease, background 180ms ease, border-color 180ms ease; }
.services-filter:hover, .services-filter:focus-visible { border-color: var(--services-gold); }
.services-filter.is-active { color: #fffaf2; background: var(--services-navy); border-color: var(--services-navy); }
.services-group + .services-group { margin-top: 82px; }
.services-group-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 24px; margin-bottom: 22px; padding-bottom: 18px; border-bottom: 1px solid rgba(199,149,62,.42); }
.services-group-heading h3 { margin: 0; font-family: Georgia,"Times New Roman",serif; font-size: clamp(30px,3vw,42px); font-weight: 500; }
.services-group-heading span { color: var(--services-gold); font-size: 11px; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.services-list { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); column-gap: clamp(42px,6vw,86px); }
.service-entry { position: relative; display: grid; grid-template-columns: 46px minmax(0,1fr); column-gap: 20px; align-content: start; min-height: 330px; padding: 34px 0 36px; border-bottom: 1px solid rgba(6,27,51,.12); transition: border-color 200ms ease, transform 200ms ease; }
.service-entry:hover, .service-entry:focus-within { border-bottom-color: var(--services-gold); transform: translateY(-2px); }
.service-entry-number { padding-top: 4px; color: var(--services-gold); font-family: Georgia,"Times New Roman",serif; font-size: 18px; }
.service-entry-category { display: block; margin-bottom: 12px; color: var(--services-gold); font-size: 10px; font-weight: 900; letter-spacing: .15em; text-transform: uppercase; }
.service-entry h4 { margin: 0 0 16px; color: var(--services-navy); font-family: Georgia,"Times New Roman",serif; font-size: 27px; font-weight: 500; line-height: 1.18; }
.service-entry p { margin: 0; color: var(--services-muted); font-size: 15.5px; line-height: 1.72; }
.service-entry-tags { display: flex; flex-wrap: wrap; gap: 7px; margin: 22px 0 0; padding: 0; list-style: none; }
.service-entry-tags li { position: relative; padding-left: 14px; color: var(--services-navy); font-size: 12px; font-weight: 700; }
.service-entry-tags li::before { content: ""; position: absolute; top: .5em; left: 0; width: 5px; height: 5px; border: 1px solid var(--services-gold); transform: rotate(45deg); }
.service-entry-actions { display: flex; flex-wrap: wrap; gap: 20px; margin-top: 25px; }
.service-entry-actions a { position: relative; padding-bottom: 5px; color: var(--services-navy); font-size: 10px; font-weight: 900; letter-spacing: .11em; text-transform: uppercase; }
.service-entry-actions a::after { content: ""; position: absolute; right: 0; bottom: 0; left: 0; height: 1px; background: var(--services-gold); transition: transform 180ms ease; transform-origin: left; }
.service-entry-actions a:hover::after, .service-entry-actions a:focus-visible::after { transform: scaleX(.45); }
.services-empty { max-width: 720px; padding: 56px 0; }
.services-empty h3 { font-family: Georgia,"Times New Roman",serif; font-size: 34px; font-weight: 500; }
.services-empty p:not(.eyebrow) { color: var(--services-muted); font-size: 17px; }
.services-cta { display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: center; gap: 52px; padding: clamp(76px,8vw,104px) max(24px,calc((100vw - 1240px)/2)); color: #fff; background: linear-gradient(105deg,#06172b,#09233f); }
.services-cta .eyebrow { color: #d7aa5c; }
.services-cta h2 { max-width: 760px; margin-bottom: 18px; color: #fff; font-size: clamp(38px,4.5vw,58px); }
.services-cta p:not(.eyebrow) { max-width: 690px; margin: 0; color: rgba(255,255,255,.72); font-size: 17px; line-height: 1.7; }
.services-cta .button-row { justify-content: flex-end; }
.services-page + .site-footer .footer-brand img, .services-page ~ .site-footer .footer-brand img { border-radius: 50%; object-fit: cover; }
@media (max-width: 900px) { .services-intro-inner, .services-directory-heading, .services-cta { grid-template-columns: 1fr; } .services-filter-shell { top: 76px; } .services-list { grid-template-columns: 1fr; } .service-entry { min-height: 0; } .services-cta .button-row { justify-content: flex-start; } }
@media (max-width: 640px) { .services-intro-copy { padding-left: 0; border-left: 0; } .services-search-wrap--directory { width: 100%; margin-top: 26px; } .services-hero { min-height: 270px; padding-top: 48px; padding-bottom: 48px; } .services-hero h1 { font-size: 43px; } .services-intro-inner, .services-directory-inner { width: min(100% - 40px,1240px); } .services-intro-inner { grid-template-columns: 1fr; gap: 38px; padding-top: 62px; padding-bottom: 56px; } .services-directory-inner { padding-top: 62px; padding-bottom: 76px; } .services-directory-heading h2 { font-size: 40px; } .services-filter-shell { top: 72px; margin-bottom: 42px; } .service-entry { grid-template-columns: 34px minmax(0,1fr); column-gap: 12px; padding: 28px 0 30px; } .service-entry h4 { font-size: 24px; } .services-group + .services-group { margin-top: 62px; } .services-cta { padding-top: 64px; padding-bottom: 64px; } .services-cta .button-row { align-items: stretch; flex-direction: column; } .services-cta .button { width: 100%; } }
@media (prefers-reduced-motion: reduce) { .services-search-field, .services-filter, .service-entry, .service-entry-actions a::after { transition: none; } .service-entry:hover, .service-entry:focus-within { transform: none; } }

/* Services card hierarchy refinement */
.services-directory{background:linear-gradient(180deg,#f2e9dd 0%,#f8f2e9 45%,#eee3d4 100%)}
.services-filter-shell{margin-bottom:46px}
.services-group+.services-group{margin-top:94px}
.services-group-heading{display:grid;grid-template-columns:82px minmax(0,1fr);gap:22px;align-items:center;justify-content:initial;margin-bottom:28px;padding:0 0 20px;border-bottom:1px solid rgba(199,149,62,.48)}
.services-group-number{color:rgba(199,149,62,.28);font-family:Georgia,"Times New Roman",serif;font-size:64px;font-weight:500;letter-spacing:-.05em;line-height:.9}
.services-group-heading>div>p{margin:0 0 7px;color:var(--services-gold);font-size:9px;font-weight:900;letter-spacing:.16em}
.services-group-heading h3{font-size:clamp(31px,3vw,43px)}
.services-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:22px;align-items:stretch}
.service-entry{position:relative;display:flex;flex-direction:column;min-height:410px;padding:30px 30px 28px;overflow:hidden;background:#fffdf9;border:1px solid rgba(6,27,51,.14);border-radius:8px;box-shadow:0 12px 30px rgba(54,38,18,.07);transition:border-color 200ms ease,transform 200ms ease,box-shadow 200ms ease,background-color 200ms ease}
.service-entry::before{content:"";position:absolute;top:-1px;left:30px;width:64px;height:3px;background:var(--services-gold)}
.service-entry::after{content:"";position:absolute;right:-46px;bottom:-54px;width:118px;height:118px;border:1px solid rgba(199,149,62,.13);transform:rotate(12deg);pointer-events:none}
.service-entry:hover,.service-entry:focus-within{transform:translateY(-2px);background:#fff;border-color:rgba(199,149,62,.66);box-shadow:0 20px 42px rgba(54,38,18,.11)}
.service-entry-top{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:24px}
.service-entry-category{margin:0;color:#9d6b1f;font-size:10px;letter-spacing:.16em}
.service-entry-number{padding:0;color:rgba(199,149,62,.46);font-size:30px;line-height:1}
.service-entry-main{display:grid;grid-template-columns:48px minmax(0,1fr);gap:18px;align-items:start}
.service-entry-icon{position:relative;display:grid;place-items:center;width:44px;height:44px;background:#f6ead7;border:1px solid rgba(199,149,62,.34);border-radius:50%}
.service-entry-icon::before{content:"";width:13px;height:13px;border:1px solid var(--services-gold);transform:rotate(45deg)}
.service-entry-icon i{position:absolute;width:5px;height:5px;background:var(--services-gold);transform:rotate(45deg)}
.service-entry h4{margin:1px 0 13px;font-size:28px;line-height:1.16}
.service-entry p{color:#56606e;font-size:15.5px;line-height:1.7}
.service-entry-scope{margin:26px 0 0;padding-top:20px;border-top:1px solid rgba(6,27,51,.1)}
.service-entry-scope>span{display:block;margin-bottom:13px;color:var(--services-gold);font-size:9px;font-weight:900;letter-spacing:.15em}
.service-entry-tags{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 20px;margin:0}
.service-entry-tags li{padding-left:16px;color:#263b52;font-size:12.5px;line-height:1.45}
.service-entry-tags li::before{top:.48em;width:6px;height:6px;background:rgba(199,149,62,.12)}
.service-guide-status{display:flex;align-items:center;gap:8px;width:max-content;margin:18px 0 0!important;color:#8f621e!important;font-size:9px!important;font-weight:900;letter-spacing:.12em}
.service-guide-status>span{width:7px;height:7px;background:var(--services-gold);border-radius:50%;box-shadow:0 0 0 4px rgba(199,149,62,.12)}
.service-entry-actions{position:relative;z-index:1;display:flex;align-items:center;gap:10px;margin-top:auto;padding-top:26px}
.service-entry-actions .service-action{display:inline-flex;align-items:center;justify-content:center;min-height:42px;margin:0;padding:0 15px;border:1px solid transparent;border-radius:4px;font-size:9.5px;letter-spacing:.09em;white-space:nowrap}
.service-entry-actions .service-action::after{display:none}
.service-action--primary{gap:8px;color:#fff!important;background:var(--services-navy);border-color:var(--services-navy)!important}
.service-action--primary span{color:#d9aa58;font-size:15px;transition:transform 180ms ease}
.service-action--primary:hover span,.service-action--primary:focus-visible span{transform:translateX(3px)}
.service-action--outline{color:var(--services-navy)!important;background:#fff;border-color:rgba(6,27,51,.2)!important}
.service-action--primary:hover,.service-action--primary:focus-visible,.service-action--outline:hover,.service-action--outline:focus-visible{border-color:var(--services-gold)!important}
.service-action--text{min-height:36px!important;margin-left:auto!important;padding-right:0!important;padding-left:8px!important;color:#91631d!important;border-bottom:1px solid rgba(199,149,62,.55)!important;border-radius:0!important}
.service-entry.has-guide{border-top-color:rgba(199,149,62,.7)}
@media(min-width:901px){.service-entry:first-child:not(.service-entry--detailed){grid-column:1/-1;display:grid;grid-template-columns:minmax(0,1.12fr) minmax(300px,.88fr);grid-template-rows:auto auto auto auto;column-gap:54px;min-height:0;padding:36px}.service-entry:first-child:not(.service-entry--detailed)::before{left:36px;width:86px}.service-entry:first-child:not(.service-entry--detailed) .service-entry-top{grid-column:1/-1;grid-row:1}.service-entry:first-child:not(.service-entry--detailed) .service-entry-main{grid-column:1;grid-row:2/4}.service-entry:first-child:not(.service-entry--detailed) .service-entry-scope{grid-column:2;grid-row:2;margin-top:0;padding:22px;background:#f8f0e4;border:1px solid rgba(199,149,62,.2);border-radius:5px}.service-entry:first-child:not(.service-entry--detailed) .service-guide-status{grid-column:2;grid-row:3}.service-entry:first-child:not(.service-entry--detailed) .service-entry-actions{grid-column:1/-1;grid-row:4;margin-top:24px;border-top:1px solid rgba(6,27,51,.09)}.service-entry:first-child:not(.service-entry--detailed) h4{font-size:34px}.service-entry:first-child:not(.service-entry--detailed) p{max-width:650px;font-size:16px}}
@media(max-width:900px){.services-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.service-entry{min-height:400px;padding:26px}.service-entry::before{left:26px}.service-entry-main{grid-template-columns:42px minmax(0,1fr);gap:14px}.service-entry-icon{width:40px;height:40px}.service-entry-actions{align-items:stretch;flex-direction:column}.service-entry-actions .service-action{width:100%}.service-action--text{margin-left:0!important;padding-left:0!important;width:max-content!important}}
@media(max-width:680px){.services-group-heading{grid-template-columns:58px minmax(0,1fr);gap:14px}.services-group-number{font-size:46px}.services-list{grid-template-columns:1fr}.service-entry{min-height:0;padding:26px 22px}.service-entry::before{left:22px}.service-entry-tags{grid-template-columns:1fr}.service-entry h4{font-size:25px}.service-entry-main{grid-template-columns:40px minmax(0,1fr)}.services-group+.services-group{margin-top:68px}}
@media(prefers-reduced-motion:reduce){.service-entry,.service-action--primary span{transition:none}.service-entry:hover,.service-entry:focus-within{transform:none}.service-action--primary:hover span,.service-action--primary:focus-visible span{transform:none}}
/* Detailed sale service: compact preview card and full modal */
.service-entry--detailed {
  grid-column: auto !important;
  display: flex !important;
  flex-direction: column;
  min-height: 440px !important;
  padding: 30px !important;
  overflow: hidden;
  background: #fffdf9;
  border-color: rgba(198, 142, 47, 0.48);
}

.service-entry--detailed::before {
  left: 30px !important;
  width: 74px !important;
  height: 3px;
}

.service-entry--detailed .service-entry-top {
  grid-column: auto !important;
  padding-bottom: 18px !important;
  margin-bottom: 0 !important;
}

.service-entry--detailed .service-entry-main {
  grid-column: auto !important;
  padding: 20px 0 0 !important;
  border-right: 0 !important;
  min-height: 0 !important;
}

.service-entry--detailed .service-entry-main h4 {
  font-size: clamp(25px, 2.15vw, 31px);
  line-height: 1.06;
}

.service-entry--detailed .service-entry-main p {
  max-width: 36ch;
  margin-top: 12px;
}

.service-detail-summary {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid rgba(7, 34, 59, 0.12);
}

.service-detail-summary > span {
  display: grid;
  gap: 3px;
  min-width: 0;
  padding: 13px 14px;
  background: #f8f0e4;
  border: 1px solid rgba(198, 142, 47, 0.2);
  border-radius: 4px;
}

.service-detail-summary strong {
  color: var(--navy);
  font-family: var(--font-serif);
  font-size: 25px;
  font-weight: 400;
  line-height: 1;
}

.service-detail-summary small {
  color: #5f6874;
  font-size: 9px;
  font-weight: 800;
  line-height: 1.35;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.service-detail-preview-list {
  display: grid;
  gap: 8px;
  margin: 18px 0 24px;
  padding: 0;
  color: #596472;
  font-size: 13px;
  line-height: 1.45;
  list-style: none;
}

.service-detail-preview-list li {
  position: relative;
  padding-left: 18px;
}

.service-detail-preview-list li::before {
  content: "";
  position: absolute;
  top: 0.48em;
  left: 1px;
  width: 6px;
  height: 6px;
  border: 1px solid var(--gold);
  transform: rotate(45deg);
}

.service-detail-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  min-height: 49px;
  margin-top: auto;
  padding: 13px 16px;
  color: #fffaf1;
  background: var(--section-red);
  border: 1px solid var(--section-red);
  border-radius: 3px;
  font: inherit;
  font-size: 10px;
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: 0.095em;
  text-align: left;
  cursor: pointer;
  transition: color 190ms ease, background-color 190ms ease, border-color 190ms ease, transform 190ms ease;
}

.service-detail-toggle:hover {
  color: #231817;
  background: var(--gold);
  border-color: var(--gold);
  transform: translateY(-1px);
}

.service-detail-toggle:focus-visible {
  outline: 3px solid rgba(198, 142, 47, 0.34);
  outline-offset: 3px;
}

.service-detail-arrow { flex: 0 0 20px; width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

.service-detail-toggle i {
  position: relative;
  flex: 0 0 16px;
  width: 16px;
  height: 16px;
}

.service-detail-toggle i::before {
  content: "";
  position: absolute;
  top: 3px;
  right: 2px;
  width: 7px;
  height: 7px;
  border-top: 1.5px solid currentColor;
  border-right: 1.5px solid currentColor;
}

.service-detail-toggle i::after {
  content: "";
  position: absolute;
  top: 8px;
  right: 2px;
  width: 12px;
  height: 1.5px;
  background: currentColor;
  transform: rotate(-45deg);
  transform-origin: right center;
}

html.service-dialog-open {
  overflow: hidden;
}

.service-detail-dialog {
  width: min(1100px, calc(100vw - 48px));
  max-width: none;
  max-height: min(90vh, 900px);
  margin: auto;
  padding: 0;
  overflow: hidden;
  color: var(--navy);
  background: #fffdf9;
  border: 1px solid rgba(198, 142, 47, 0.72);
  border-radius: 10px;
  box-shadow: 0 30px 90px rgba(35, 17, 16, 0.32);
}

.service-detail-dialog::backdrop {
  background: rgba(31, 15, 14, 0.72);
  backdrop-filter: blur(5px);
}

.service-dialog-shell {
  position: relative;
  max-height: min(90vh, 900px);
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-color: rgba(198, 142, 47, 0.7) transparent;
}

.service-detail-dialog[open] .service-dialog-shell {
  animation: service-dialog-enter 220ms ease-out both;
}

@keyframes service-dialog-enter {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.992);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.service-dialog-close {
  position: absolute;
  z-index: 5;
  top: 20px;
  right: 20px;
  width: 44px;
  height: 44px;
  padding: 0;
  color: var(--navy);
  background: rgba(255, 253, 249, 0.94);
  border: 1px solid rgba(7, 34, 59, 0.18);
  border-radius: 50%;
  cursor: pointer;
  transition: color 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.service-dialog-close:hover {
  color: var(--section-red);
  border-color: rgba(122, 48, 43, 0.5);
  transform: rotate(4deg);
}

.service-dialog-close:focus-visible {
  outline: 3px solid rgba(198, 142, 47, 0.38);
  outline-offset: 3px;
}

.service-dialog-close span::before,
.service-dialog-close span::after {
  content: "";
  position: absolute;
  top: 21px;
  left: 12px;
  width: 18px;
  height: 1.5px;
  background: currentColor;
}

.service-dialog-close span::before {
  transform: rotate(45deg);
}

.service-dialog-close span::after {
  transform: rotate(-45deg);
}

.service-dialog-header {
  padding: 42px 88px 34px 42px;
  background:
    linear-gradient(125deg, rgba(198, 142, 47, 0.09), transparent 54%),
    #fffdf9;
  border-bottom: 1px solid rgba(198, 142, 47, 0.25);
}

.service-dialog-header .service-entry-category {
  margin: 0 0 12px;
  color: var(--gold);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.service-dialog-header h4 {
  max-width: 820px;
  margin: 0;
  color: var(--navy);
  font-family: var(--font-serif);
  font-size: clamp(36px, 5vw, 62px);
  font-weight: 400;
  line-height: 0.98;
}

.service-dialog-header > p:last-child {
  max-width: 760px;
  margin: 18px 0 0;
  color: #596472;
  font-size: 16px;
  line-height: 1.7;
}

.service-detail-panel {
  background: #fffdf9;
}

.service-detail-documents {
  position: relative;
  padding: 38px 42px 40px;
  background: #fbf5ea;
  border-bottom: 1px solid rgba(198, 142, 47, 0.25);
}

.service-detail-eyebrow {
  margin: 0 0 8px;
  color: var(--gold);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.service-detail-dialog h5,
.service-detail-dialog h6 {
  margin: 0;
  color: var(--navy);
  font-family: var(--font-serif);
  font-weight: 400;
}

.service-detail-dialog h5 {
  font-size: 28px;
  line-height: 1.1;
}

.service-detail-dialog h5 small,
.service-detail-dialog h6 small {
  color: #6a7280;
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 700;
}

.service-detail-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 15px 34px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}

.service-detail-list li {
  position: relative;
  padding-left: 22px;
  color: #526070;
  font-size: 13px;
  line-height: 1.55;
}

.service-detail-list li::before {
  content: "";
  position: absolute;
  top: 0.5em;
  left: 1px;
  width: 7px;
  height: 7px;
  border: 1px solid var(--gold);
  transform: rotate(45deg);
}

.service-detail-note {
  margin-top: 28px;
  padding: 18px 20px;
  background: rgba(255, 253, 249, 0.86);
  border-left: 2px solid var(--gold);
}

.service-detail-note strong {
  display: block;
  margin-bottom: 7px;
  color: var(--navy);
  font-size: 9px;
  letter-spacing: 0.12em;
}

.service-detail-note p {
  margin: 0;
  color: #526070;
  font-size: 13px;
  line-height: 1.58;
}

.service-detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.service-mini-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 43px;
  padding: 11px 16px;
  color: var(--section-red);
  border: 1px solid rgba(122, 48, 43, 0.34);
  border-radius: 3px;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-decoration: none;
  transition: color 180ms ease, background-color 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.service-mini-button:hover {
  color: #fffaf1;
  background: var(--section-red);
  border-color: var(--section-red);
  transform: translateY(-1px);
}

.service-mini-button--primary {
  color: #fffaf1;
  background: var(--section-red);
  border-color: var(--section-red);
}

.service-detail-costs {
  padding: 38px 42px 46px;
}

.service-detail-costs-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(7, 34, 59, 0.15);
}

.service-detail-calculate {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 43px;
  padding: 11px 18px;
  color: #251a18;
  background: var(--gold);
  border-radius: 3px;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-decoration: none;
  transition: color 180ms ease, background-color 180ms ease, transform 180ms ease;
}

.service-detail-calculate:hover {
  color: #fffaf1;
  background: var(--section-red);
  transform: translateY(-1px);
}

.service-detail-cost-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
  gap: 36px;
  margin-top: 24px;
}

.service-detail-cost-grid h6 {
  padding-bottom: 13px;
  border-bottom: 1px solid rgba(7, 34, 59, 0.14);
  font-size: 22px;
  line-height: 1.15;
}

.service-detail-seller {
  padding-left: 36px;
  border-left: 1px solid rgba(7, 34, 59, 0.14);
}

.service-cost-list {
  margin: 0;
}

.service-cost-list > div {
  display: grid;
  grid-template-columns: minmax(150px, 0.38fr) minmax(0, 0.62fr);
  gap: 22px;
  padding: 18px 0;
  border-bottom: 1px solid rgba(7, 34, 59, 0.12);
}

.service-cost-list dt {
  color: var(--navy);
  font-size: 11px;
  font-weight: 800;
  line-height: 1.45;
}

.service-cost-list dd {
  margin: 0;
  color: #697381;
  font-size: 12px;
  line-height: 1.58;
}

.service-detail-seller .service-cost-list > div {
  grid-template-columns: 1fr;
  gap: 9px;
}

@media (max-width: 900px) {
  .service-entry--detailed {
    min-height: 420px !important;
  }

  .service-detail-dialog {
    width: calc(100vw - 24px);
    max-height: calc(100dvh - 24px);
  }

  .service-dialog-shell {
    max-height: calc(100dvh - 24px);
  }

  .service-detail-cost-grid {
    grid-template-columns: 1fr;
  }

  .service-detail-seller {
    padding-top: 28px;
    padding-left: 0;
    border-top: 1px solid rgba(7, 34, 59, 0.14);
    border-left: 0;
  }
}

@media (max-width: 680px) {
  .service-entry--detailed {
    min-height: 0 !important;
    padding: 24px 22px !important;
  }

  .service-entry--detailed::before {
    left: 22px !important;
  }

  .service-detail-summary {
    gap: 8px;
  }

  .service-detail-summary > span {
    padding: 12px 10px;
  }

  .service-detail-toggle {
    margin-top: 3px;
  }

  .service-detail-dialog {
    width: 100vw;
    height: 100dvh;
    max-height: 100dvh;
    border: 0;
    border-radius: 0;
  }

  .service-dialog-shell {
    height: 100dvh;
    max-height: 100dvh;
  }

  .service-dialog-close {
    position: fixed;
    top: 14px;
    right: 14px;
  }

  .service-dialog-header {
    padding: 72px 20px 28px;
  }

  .service-dialog-header h4 {
    font-size: clamp(34px, 12vw, 48px);
  }

  .service-dialog-header > p:last-child {
    font-size: 15px;
    line-height: 1.65;
  }

  .service-detail-documents,
  .service-detail-costs {
    padding: 30px 20px 34px;
  }

  .service-detail-list {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .service-detail-actions {
    display: grid;
  }

  .service-mini-button {
    width: 100%;
  }

  .service-detail-costs-heading {
    align-items: stretch;
    flex-direction: column;
  }

  .service-detail-calculate {
    align-self: stretch;
  }

  .service-cost-list > div {
    grid-template-columns: 1fr;
    gap: 9px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .service-detail-dialog[open] .service-dialog-shell {
    animation: none;
  }

  .service-detail-toggle,
  .service-dialog-close,
  .service-mini-button,
  .service-detail-calculate {
    transition: none;
  }
}
.service-detail-vat-note {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  margin: 0 42px 42px;
  padding: 18px 20px;
  background: rgba(198, 142, 47, 0.09);
  border-left: 3px solid var(--gold, #c68e2f);
  color: #596472;
}

.service-detail-vat-note strong {
  color: var(--gold, #c68e2f);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.service-detail-vat-note p {
  margin: 0;
  font-size: 15px;
  line-height: 1.65;
}

@media (max-width: 680px) {
  .service-detail-vat-note {
    grid-template-columns: 1fr;
    margin: 0 20px 28px;
  }
}
/* Dialoguri separate pentru actele și costurile contractului de vânzare-cumpărare */
.service-detail-summary {
  gap: 12px;
  margin-top: 24px;
  padding-top: 20px;
}

.service-info-button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 58px;
  padding: 15px 17px;
  color: var(--navy);
  background: #fffdf9;
  border: 1px solid rgba(198, 142, 47, 0.4);
  border-radius: 5px;
  font: 800 10px/1.35 var(--font-sans);
  letter-spacing: 0.09em;
  text-align: left;
  cursor: pointer;
  transition: color 190ms ease, background-color 190ms ease, border-color 190ms ease, transform 190ms ease;
}

.service-info-button svg {
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
  fill: none;
  stroke: var(--gold);
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.service-info-button:hover {
  color: #fffdf9;
  background: var(--red-deep, #74312d);
  border-color: var(--red-deep, #74312d);
  transform: translateY(-1px);
}

.service-info-button:hover svg {
  stroke: var(--gold);
}

.service-info-button:focus-visible {
  outline: 3px solid rgba(198, 142, 47, 0.34);
  outline-offset: 3px;
}

.service-card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.service-card-actions .service-mini-button {
  min-height: 40px;
  padding: 10px 12px;
  font-size: 9px;
}

.service-detail-dialog[data-kind="documents"] {
  width: min(760px, calc(100vw - 48px));
}

.service-detail-panel--documents .service-detail-list {
  grid-template-columns: 1fr;
  gap: 14px;
}

.service-detail-panel--documents .service-detail-documents {
  padding-bottom: 42px;
}

.service-detail-document-note {
  margin: 30px 0 0;
}

.service-detail-panel--costs .service-detail-costs {
  border-top: 0;
}

@media (max-width: 680px) {
  .service-detail-summary {
    grid-template-columns: 1fr;
  }

  .service-info-button {
    min-height: 54px;
  }

  .service-card-actions {
    display: grid;
  }

  .service-card-actions .service-mini-button {
    width: 100%;
  }

  .service-detail-dialog[data-kind="documents"] {
    width: 100vw;
  }

  .service-detail-document-note {
    margin: 26px 0 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .service-info-button {
    transition: none;
  }
}
/* Gruparea taxelor ANCPI în tabelul de costuri */
.service-cost-list .service-cost-group-heading {
  color: var(--navy);
  font-family: inherit;
  font-size: 11px;
  font-weight: 800;
  line-height: 1.45;
}

.service-cost-group-details {
  min-width: 0;
  margin: 0;
}

.service-cost-group-details > dl {
  margin: 0;
}

.service-cost-group-details > dl > div {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 8px;
  padding: 0 0 17px;
}

.service-cost-group-details > dl > div + div {
  padding-top: 17px;
  border-top: 1px solid rgba(7, 34, 59, 0.1);
}

.service-cost-group-details > dl > div:last-child {
  padding-bottom: 0;
}

@media (max-width: 680px) {
  .service-cost-group-details > dl > div {
    grid-template-columns: 1fr;
    gap: 7px;
  }
}
/* Search combobox */
.services-search-options {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  left: 0;
  z-index: 40;
  max-height: 438px;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 6px;
  background: #fffdf9;
  border: 1px solid rgba(122, 48, 43, .24);
  border-radius: 8px;
  box-shadow: 0 20px 48px rgba(47, 27, 20, .16);
}
.services-search-options[hidden] { display: none; }
.services-search-wrap.is-open .services-search-field { border-color: rgba(199,149,62,.82); box-shadow: 0 0 0 3px rgba(199,149,62,.1); }
.service-search-option {
  display: grid;
  grid-template-columns: minmax(0,1fr) auto;
  align-items: center;
  gap: 20px;
  width: 100%;
  min-height: 53px;
  padding: 11px 14px;
  color: var(--services-navy);
  background: transparent;
  border: 0;
  border-bottom: 1px solid rgba(6,27,51,.08);
  border-radius: 4px;
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: color 160ms ease, background-color 160ms ease;
}
.service-search-option:last-child { border-bottom: 0; }
.service-search-option > span { overflow: hidden; font-size: 15px; font-weight: 700; line-height: 1.35; text-overflow: ellipsis; white-space: nowrap; }
.service-search-option > small { color: var(--services-gold); font-size: 9px; font-weight: 900; letter-spacing: .11em; text-transform: uppercase; }
.service-search-option:hover, .service-search-option.is-active { color: #fffaf2; background: var(--section-red); }
.service-search-option:hover > small, .service-search-option.is-active > small { color: #e6bd68; }
.services-search-no-results { margin: 0; padding: 18px 16px; color: var(--services-muted); font-size: 14px; line-height: 1.5; }
.services-search-options::-webkit-scrollbar { width: 8px; }
.services-search-options::-webkit-scrollbar-thumb { background: rgba(122,48,43,.35); border: 2px solid #fffdf9; border-radius: 999px; }
@media (max-width: 640px) {
  .services-search-options { max-height: min(438px, 56vh); }
  .service-search-option { gap: 12px; padding-inline: 12px; }
  .service-search-option > span { font-size: 14px; }
}
@media (prefers-reduced-motion: reduce) { .service-search-option { transition: none; } }

/* Custom service icons */
.service-entry-icon--custom::before,
.service-entry-icon--custom::after {
  content: none;
  display: none;
}
.service-entry-icon--custom {
  color: var(--services-gold);
  transition: color 180ms ease, background-color 180ms ease, border-color 180ms ease, transform 180ms ease;
}
.service-entry-icon--custom svg {
  display: block;
  width: 23px;
  height: 23px;
  overflow: visible;
}
.service-entry:hover .service-entry-icon--custom,
.service-entry:focus-within .service-entry-icon--custom {
  color: #fffaf2;
  background: var(--section-red);
  border-color: var(--section-red);
  transform: translateY(-1px);
}
@media (prefers-reduced-motion: reduce) {
  .service-entry-icon--custom { transition: none; }
}
/* Extensii pentru detaliile Antecontractului și Donației */
.service-detail-cost-grid.is-single {
  grid-template-columns: minmax(0, 1fr);
}

.service-detail-subsection,
.service-detail-notes {
  margin-top: 30px;
  padding-top: 26px;
  border-top: 1px solid rgba(7, 34, 59, 0.14);
}

.service-detail-subsection h6,
.service-detail-notes h6 {
  max-width: 680px;
  margin: 0;
  color: var(--navy);
  font-family: var(--font-serif);
  font-size: 19px;
  line-height: 1.35;
}

.service-detail-subsection .service-detail-list,
.service-detail-notes .service-detail-list {
  margin-top: 18px;
}