/* Service pages: one branded opening, then deliverables and working process. */
.service-detail main { overflow: clip; }
.service-detail .sd-stage { position: relative; isolation: isolate; margin: 0 12px 64px; border-radius: 32px; overflow: hidden; color: white; background: radial-gradient(ellipse at 5% 0%, #477ee8 0%, transparent 48%), radial-gradient(ellipse at 100% 90%, #062c73 0%, transparent 65%), #0f52ba; }
.service-detail .sd-stage::before { content: ''; position: absolute; z-index: -1; inset: 0; pointer-events: none; background: url('/assets/another-agency-mark.svg') no-repeat; background-size: min(95vw, 1200px) auto; background-position: calc(100% + 250px) 80px; filter: brightness(0) invert(1); opacity: .035; }
.service-detail .sd-stage .shell { width: calc(100% - 40px); }
.service-detail .sd-breadcrumb { padding-top: 18px; font-size: .76rem; line-height: 1.5; color: #dce9ff; }
.service-detail .sd-breadcrumb ol { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 4px 10px; margin: 0; padding: 0; list-style: none; }
.service-detail .sd-breadcrumb li + li::before { content: '/'; color: #a6c7ff; margin-right: 10px; }
.service-detail .sd-breadcrumb a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: underline; text-underline-offset: 4px; }
.service-detail .sd-hero { padding-block: 34px 36px; text-align: center; }
.service-detail .sd-hero h1 { max-width: 18ch; margin-inline: auto; color: white; font-size: clamp(2.5rem, 7.4vw, 5.8rem); font-weight: 800; line-height: 1.02; letter-spacing: -.06em; text-wrap: balance; overflow-wrap: break-word; }
.service-detail .sd-lead { margin: 25px auto 0; max-width: 56ch; font-size: 1.03rem; line-height: 1.55; font-weight: 500; color: #f1f6ff; text-wrap: pretty; }
.service-detail .sd-actions { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 12px 26px; margin-top: 28px; }
.service-detail .sd-actions .button { min-height: 56px; background: white; color: #103e85; border: 1px solid white; box-shadow: none; }
.service-detail .sd-actions .button:hover { background: #e5eeff; border-color: #e5eeff; }
.service-detail .sd-text-link { display: inline-flex; align-items: center; min-height: 44px; color: white; font-size: .9rem; font-weight: 650; text-decoration: underline; text-underline-offset: 5px; }
.service-detail .sd-fit { max-width: 66ch; margin: 30px auto 0; padding-top: 23px; border-top: 1px solid #ffffff38; font-size: .84rem; line-height: 1.5; color: #dce9ff; text-wrap: pretty; }
.service-detail .sd-sample { position: relative; margin-bottom: 0; padding-bottom: 25px; color: var(--ink); }
.service-detail .sd-specimen { margin: 0; }
.service-detail .sd-specimen > div { box-shadow: 0 18px 50px #03265626; }
.service-detail .sd-specimen figcaption { font-size: .72rem; line-height: 1.5; color: #dce9ff; margin: 15px auto 0; max-width: 85ch; text-align: center; }
.service-detail .sd-sheet { background: var(--paper); border-radius: 24px; padding: 24px; }
.service-detail .sd-sheet__heading { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-bottom: 24px; padding-bottom: 18px; border-bottom: 1px solid #bfd0e8; font-size: .77rem; font-weight: 650; }
.service-detail .sd-sheet__heading span:last-child { color: var(--muted); font-weight: 500; }
.service-detail .sd-plan dl { display: grid; gap: 25px; margin: 0; }
.service-detail .sd-plan dt { color: var(--blue); font-size: 1.25rem; font-weight: 750; letter-spacing: -.03em; }
.service-detail .sd-plan dd { font-size: 1.08rem; line-height: 1.5; font-weight: 550; margin: 16px 0 0; }
.service-detail .sd-sheet__foot { display: flex; flex-wrap: wrap; gap: 12px 30px; border-top: 1px solid #bfd0e8; margin-top: 25px; padding-top: 17px; font-size: .78rem; font-weight: 650; color: var(--muted); }
.service-detail .sd-review .sd-sheet { background: var(--ink); color: white; }
.service-detail .sd-review .sd-sheet__heading { border-color: #ffffff30; }
.service-detail .sd-review .sd-sheet__heading span:last-child { color: #c4cdd9; }
.service-detail .sd-review ol { margin: 0; padding: 0; list-style: none; }
.service-detail .sd-review li { display: grid; gap: 8px; padding: 21px 0; border-bottom: 1px solid #ffffff30; }
.service-detail .sd-review li:last-child { border-bottom: 0; padding-bottom: 0; }
.service-detail .sd-review li strong { font-size: 1.15rem; font-weight: 700; color: #b9d4ff; }
.service-detail .sd-review li span { font-size: 1.08rem; font-weight: 550; line-height: 1.5; color: #f1f5fd; }
.service-detail .sd-formats > .sd-format-board { display: grid; grid-template-columns: 1fr; gap: 26px; padding: 4px 3px 22px; overflow: visible; background: transparent; box-shadow: none; perspective: 1200px; }
.service-detail .sd-format { --card-edge: #b9cee9; min-width: 0; display: flex; flex-direction: column; padding: 27px; border: 1px solid #ffffff55; border-radius: 28px; box-shadow: 0 8px 0 var(--card-edge), 0 20px 28px -12px #031d4e80, inset 0 1px 0 #ffffff55; }
.service-detail .sd-format > span { font-size: .85rem; font-weight: 650; line-height: 1.5; }
.service-detail .sd-format strong { display: block; font-size: 1.8rem; letter-spacing: -.045em; font-weight: 750; line-height: 1.12; margin-block: 27px; max-width: 14ch; }

.service-detail .sd-format--text { color: var(--ink); background: linear-gradient(145deg, #f7faff, #e3edfc); }
.service-detail .sd-format--video { --card-edge: #06347d; color: white; background: linear-gradient(145deg, #2769d1, #104ea7); }
.service-detail .sd-format--photo { --card-edge: #02080f; color: white; background: linear-gradient(145deg, #1f2938, #0b1019); }
.service-detail .sd-identity__board { display: grid; grid-template-columns: 1.2fr 1fr; border-radius: 24px; overflow: hidden; border: 1px solid var(--line); }
.service-detail .sd-identity__logo { display: flex; flex-direction: column; justify-content: space-between; grid-column: 1 / -1; background: #fff; min-height: 190px; padding: 28px; gap: 24px; }
.service-detail .sd-identity__logo img { width: min(100%, 360px); height: auto; }
.service-detail .sd-identity__logo > span { font-size: .73rem; color: var(--muted); }
.service-detail .sd-identity__type { padding: 22px; color: var(--ink); background: #edf3fb; }
.service-detail .sd-identity__type strong { display: block; font-weight: 800; font-size: 3.5rem; letter-spacing: -.07em; line-height: 1; margin-bottom: 15px; }
.service-detail .sd-identity__type span { font-size: .72rem; line-height: 1.45; display: block; }
.service-detail .sd-identity__mark { display: flex; flex-direction: column; justify-content: space-between; padding: 24px; background: var(--blue); color: white; gap: 20px; }
.service-detail .sd-identity__mark img { width: min(100%, 180px); height: auto; filter: brightness(0) invert(1); }
.service-detail .sd-identity__mark span { font-size: .73rem; }
.service-detail .sd-identity__palette { grid-column: 1 / -1; display: flex; min-width: 0; }
.service-detail .sd-identity__palette span { flex: 1; padding: 17px 12px; font-size: .67rem; font-weight: 650; }
.service-detail .sd-identity__palette span:first-child { color: var(--ink); background: white; border-top: 1px solid var(--line); }
.service-detail .sd-identity__palette span:nth-child(2) { color: white; background: var(--blue); }
.service-detail .sd-identity__palette span:last-child { color: white; background: var(--ink); }
.service-detail .sd-adplan__flow { list-style: none; display: grid; margin: 0; padding: 0; gap: 22px; }
.service-detail .sd-adplan__flow li { display: grid; gap: 6px; }
.service-detail .sd-adplan__flow strong { font-size: 1.3rem; color: var(--blue); font-weight: 750; letter-spacing: -.03em; }
.service-detail .sd-adplan__flow span { font-size: 1.08rem; font-weight: 550; line-height: 1.5; }
.service-detail .sd-adplan__budget { display: grid; gap: 20px; margin-top: 28px; padding-top: 23px; border-top: 1px solid #bfd0e8; }
.service-detail .sd-adplan__budget p { display: grid; gap: 12px; font-size: 1rem; font-weight: 500; line-height: 1.5; }
.service-detail .sd-adplan__budget strong { font-size: 1.1rem; font-weight: 700; }
.service-detail .sd-calendar .sd-sheet { background: var(--ink); color: white; }
.service-detail .sd-calendar .sd-sheet__heading { border-color: #ffffff30; }
.service-detail .sd-calendar .sd-sheet__heading span:last-child { color: #c4cdd9; }
.service-detail .sd-calendar__row { display: grid; gap: 7px; padding-block: 20px; border-bottom: 1px solid #ffffff30; }
.service-detail .sd-calendar__row:last-child { border-bottom: none; padding-bottom: 0; }
.service-detail .sd-calendar__row > span { font-size: .75rem; line-height: 1.45; color: #c4cdd9; }
.service-detail .sd-calendar__row strong { font-size: 1.1rem; line-height: 1.4; font-weight: 650; }
.service-detail .sd-calendar__row > span:last-child { color: #b9d4ff; font-weight: 600; }

.service-detail .sd-outputs { padding-block: 0 65px; }
.service-detail .sd-section-intro { margin-bottom: 30px; }
.service-detail .sd-section-intro h2, .service-detail .sd-process h2, .service-detail .sd-faq h2 { font-size: clamp(1.8rem, 3.5vw, 3.2rem); font-weight: 750; line-height: 1.1; letter-spacing: -.045em; max-width: 24ch; text-wrap: balance; }
.service-detail .sd-section-intro > p { margin-top: 20px; font-size: 1rem; line-height: 1.6; max-width: 57ch; color: var(--muted); }
.service-detail .sd-output-list { display: grid; gap: 12px; }
.service-detail .sd-output { padding: 26px; min-width: 0; background: #f0f4fa; border-radius: 24px; }
.service-detail .sd-output h3 { font-size: 1.4rem; line-height: 1.18; font-weight: 750; letter-spacing: -.03em; }
.service-detail .sd-output p { margin-top: 22px; font-size: 1.05rem; font-weight: 500; line-height: 1.55; color: #26354a; }
.service-detail .sd-boundary { font-size: .88rem; color: var(--muted); line-height: 1.65; margin: 25px 0 0; padding-left: 20px; border-left: 2px solid #aac5ed; max-width: 83ch; }
.service-detail .sd-boundary a, .service-detail .sd-faq a { color: var(--blue); text-decoration: underline; text-underline-offset: 4px; }
.service-detail .sd-process { background: #0d1522; color: white; padding-block: 45px; border-radius: 32px; margin-inline: 12px; }
.service-detail .sd-process .shell { width: calc(100% - 48px); }
.service-detail .sd-process h2 { color: white; }
.service-detail .sd-process ol { counter-reset: service-step; display: grid; gap: 30px; list-style: none; margin: 36px 0 0; padding: 0; }
.service-detail .sd-process li { min-width: 0; border-top: 1px solid #ffffff30; padding-top: 24px; }
.service-detail .sd-process li::before { counter-increment: service-step; content: '0' counter(service-step); display: block; color: #8fb9ff; font-size: 2.5rem; line-height: 1; letter-spacing: -.055em; font-weight: 750; margin-bottom: 26px; }
.service-detail .sd-process h3 { color: white; font-size: 1.35rem; line-height: 1.22; letter-spacing: -.03em; font-weight: 750; }
.service-detail .sd-process p { margin-top: 20px; color: #d6e0ee; font-size: 1.02rem; font-weight: 500; line-height: 1.55; }
.service-detail .sd-faq { display: grid; gap: 30px; padding-block: 65px; }
.service-detail .sd-faq__list { display: grid; gap: 10px; align-content: start; }
.service-detail .sd-faq details { border: 1px solid #dbe3ef; border-radius: 18px; padding-inline: 22px; background: #fff; }
.service-detail .sd-faq details[open] { background: #f0f4fa; border-color: #d2dfef; }
.service-detail .sd-faq summary { display: flex; align-items: center; justify-content: space-between; gap: 18px; min-height: 72px; padding-block: 22px; cursor: pointer; list-style: none; font-size: 1.04rem; line-height: 1.35; font-weight: 700; letter-spacing: -.018em; }
.service-detail .sd-faq summary::-webkit-details-marker { display: none; }
.service-detail .sd-faq summary::after { content: '+'; color: var(--blue); font-size: 1.45rem; line-height: 1; font-weight: 400; flex: 0 0 24px; text-align: center; }
.service-detail .sd-faq details[open] summary::after { content: '−'; }
.service-detail .sd-faq details > div { padding-bottom: 24px; padding-right: 20px; }
.service-detail .sd-faq details p { font-size: .95rem; line-height: 1.65; color: var(--muted); }
.service-detail .sd-contact { background: radial-gradient(ellipse at 100% 100%, #cadfff, transparent 80%), #edf3fd; border-radius: 30px; padding: 38px 25px; margin-bottom: 60px; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 25px; }
.service-detail .sd-contact h2 { font-size: clamp(1.8rem, 4vw, 3.5rem); line-height: 1.1; font-weight: 750; letter-spacing: -.045em; max-width: 25ch; margin-inline: auto; text-wrap: balance; }
.service-detail .sd-contact p { font-size: 1rem; line-height: 1.55; color: #465266; max-width: 52ch; margin: 20px auto 0; }
.service-detail .sd-contact .button { flex-shrink: 0; max-width: 100%; }
.service-detail main :focus-visible { outline: 3px solid var(--blue); outline-offset: 5px; border-radius: 3px; }
.service-detail .sd-stage :focus-visible { outline-color: white; }
.service-detail.service-detail--strategia .sd-hero { padding-block: clamp(40px, 5vw, 72px) clamp(50px, 6vw, 86px); }
.service-detail.service-detail--strategia .sd-lead { max-width: 46ch; text-wrap: balance; }
.service-detail.service-detail--strategia .sd-section-intro { display: block; text-align: center; }
.service-detail.service-detail--strategia .sd-section-intro h2 { margin-inline: auto; }
.service-detail.service-detail--strategia .sd-output h3 { max-width: 18ch; text-wrap: balance; }
.service-detail.service-detail--strategia .sd-output p { max-width: 34ch; }
.service-detail.service-detail--strategia .sd-process h2 { max-width: none; }
@media (min-width: 700px) {
  .service-detail .sd-stage { margin: 0 20px 80px; border-radius: 44px; }
  .service-detail .sd-stage .shell { width: calc(100% - 64px); }
  .service-detail .sd-breadcrumb { padding-top: 20px; }
  .service-detail .sd-hero { padding-block: 45px 44px; }
  .service-detail .sd-lead { font-size: 1.1rem; }
  .service-detail .sd-fit { margin-top: 35px; }
  .service-detail .sd-sample { padding-bottom: 28px; }
  .service-detail .sd-sheet { padding: 32px; border-radius: 28px; }
  .service-detail .sd-plan dl { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px; }
  .service-detail .sd-review li { grid-template-columns: .65fr 1.35fr; gap: 30px; }
  .service-detail .sd-format { padding: 30px; }
  .service-detail .sd-format strong { font-size: 2rem; margin-block: 32px; }
  .service-detail .sd-identity__board { grid-template-columns: 1.8fr 1fr 1fr; border-radius: 28px; }
  .service-detail .sd-identity__logo { grid-column: auto; padding: 30px; min-height: 250px; }
  .service-detail .sd-identity__type, .service-detail .sd-identity__mark { padding: 25px; }
  .service-detail .sd-identity__type strong { font-size: 5rem; margin-bottom: 28px; }
  .service-detail .sd-identity__palette span { padding: 18px 25px; font-size: .77rem; }
  .service-detail .sd-adplan__flow { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px; }
  .service-detail .sd-adplan__budget { grid-template-columns: 1fr 1fr; }
  .service-detail .sd-calendar__row { grid-template-columns: .65fr 1.65fr .8fr; gap: 20px; align-items: center; padding-block: 23px; }
  .service-detail .sd-calendar__row > span:last-child { text-align: right; }
  .service-detail .sd-outputs { padding-bottom: 80px; }
  .service-detail .sd-output { padding: 32px; border-radius: 28px; }
  .service-detail--production .sd-output { display: grid; grid-template-columns: .8fr 1.2fr; gap: 30px; }
  .service-detail--production .sd-output p { margin-top: 0; }
  .service-detail .sd-process { margin-inline: 20px; padding-block: 60px; border-radius: 40px; }
  .service-detail .sd-process .shell { width: calc(100% - 64px); }
  .service-detail .sd-process ol { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; margin-top: 42px; }
  .service-detail .sd-process h3 { font-size: 1.2rem; }

  .service-detail .sd-faq { padding-block: 80px; }
  .service-detail .sd-contact { padding: 55px; margin-bottom: 70px; border-radius: 40px; gap: 30px; }
}
@media (min-width: 1100px) {
  .service-detail .sd-stage { margin-inline: 24px; border-radius: 52px; }
  .service-detail .sd-stage .shell { width: calc(100% - 96px); }
  .service-detail .sd-hero { padding-block: 46px 46px; }
  .service-detail .sd-lead { margin-top: 28px; }
  .service-detail .sd-actions { margin-top: 30px; }
  .service-detail .sd-fit { max-width: 72ch; }
  .service-detail .sd-sample { padding-bottom: 30px; }
  .service-detail .sd-sheet { padding: 36px 42px; }
  .service-detail .sd-plan dd { max-width: 29ch; }
  .service-detail .sd-review ol { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 38px; }
  .service-detail .sd-review li { display: block; padding: 0; border: 0; }
  .service-detail .sd-review li strong { display: block; margin-bottom: 14px; font-size: 1.45rem; }
  .service-detail .sd-format { padding: 32px; }
  .service-detail .sd-format strong { font-size: 2.2rem; }
  .service-detail .sd-identity__logo { padding: 38px; min-height: 285px; }
  .service-detail .sd-identity__type, .service-detail .sd-identity__mark { padding: 34px; }
  .service-detail .sd-identity__type strong { font-size: 6rem; }
  .service-detail .sd-identity__mark img { width: min(100%, 210px); }
  .service-detail .sd-outputs { padding-bottom: 95px; }
  .service-detail .sd-section-intro { display: grid; grid-template-columns: 1.3fr .7fr; align-items: end; gap: 10%; margin-bottom: 40px; }
  .service-detail .sd-section-intro > p { margin: 0 0 3px; font-size: 1rem; }
  .service-detail--strategy .sd-output-list { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
  .service-detail--production .sd-output { grid-template-columns: 1fr 1fr; gap: 8%; padding: 36px 40px; }
  .service-detail--production .sd-output h3 { font-size: 1.75rem; max-width: 20ch; }
  .service-detail--production .sd-output p { max-width: 50ch; }
  .service-detail--distribution .sd-section-intro { display: block; margin: 0; }
  .service-detail--distribution .sd-section-intro > p { margin-top: 25px; max-width: 39ch; }
  .service-detail--distribution .sd-outputs { display: grid; grid-template-columns: .85fr 1.15fr; gap: 0 7%; }
  .service-detail--distribution .sd-boundary { grid-column: 2; }
  .service-detail .sd-process { padding-block: 70px; border-radius: 48px; }
  .service-detail .sd-process .shell { width: calc(100% - 104px); }
  .service-detail .sd-process ol { gap: 50px; margin-top: 44px; }
  .service-detail .sd-process h3 { font-size: 1.45rem; }

  .service-detail .sd-faq { grid-template-columns: .85fr 1.15fr; gap: 7%; padding-block: 95px; align-items: start; }
  .service-detail .sd-faq h2 { max-width: 15ch; }
  .service-detail .sd-contact { padding: 70px; margin-bottom: 80px; }
}
@media (min-width: 900px) {
  .service-detail .sd-formats > .sd-format-board { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; padding: 12px 8px 30px; }
  .service-detail .sd-format { transform: rotateX(3deg); border-radius: 32px; }
  .service-detail .sd-format--text { transform: rotateX(3deg) rotateY(2deg); }
  .service-detail .sd-format--photo { transform: rotateX(3deg) rotateY(-2deg); }
}
@media (max-width: 380px) {
  .service-detail .sd-hero h1 { font-size: clamp(2rem, 11vw, 2.35rem); }
  .service-detail .sd-actions { gap: 10px 18px; }
  .service-detail .sd-actions .button { font-size: .86rem; padding-inline: 20px; }
  .service-detail .sd-sheet { padding: 22px; }
  .service-detail .sd-identity__logo { padding: 24px; }
  .service-detail .sd-identity__type, .service-detail .sd-identity__mark { padding: 18px; }
  .service-detail .sd-identity__type strong { font-size: 3.1rem; }
}
